636 Commits

Author SHA1 Message Date
Daniel Kamil Kozar
8b509c05d9 Update README.md 2022-01-12 19:00:56 +01:00
Daniel Kamil Kozar
177169a4f8 Hopefully fix linking errors caused by freetype dependencies 2022-01-12 18:54:17 +01:00
Daniel Kamil Kozar
1d478daf7e
Use static freetype from Homebrew in MacOS native builds (#496) 2022-01-12 12:39:40 +01:00
jcdr428
e654d6331f Group PES stream_id in an enum 2022-01-11 21:48:51 +01:00
jcdr428
0c2f34f29a Group TS descriptors under one single enum 2022-01-11 19:19:30 +01:00
jcdr428
3b5e847b21 Remove unused variables in tsPacket
Also use same order for class members definition and initialization.
2022-01-11 01:50:50 +01:00
jcdr428
53f39657b8 Simplify names of enum class members
The member name is now always prefixed with the class name so can be shortened without risk of confusion / mixing.
2022-01-10 23:24:54 +01:00
jcdr428
38eac9b673 Simplify names of enum IOContextTrackType members 2022-01-10 22:26:21 +01:00
jcdr428
ab2e101732 Add VVC demuxing from MOV/MP4 2022-01-09 22:36:57 +01:00
jcdr428
93a07e89e9 Clean tsPacket.cpp 2022-01-09 21:19:01 +01:00
jcdr428
440546be5b Add ParsedH266TrackData class in Mastroska
Also change the #define CODEC_ID to constexpr.
2022-01-09 18:49:54 +01:00
jcdr428
d753ed9014 Add default in switch to prevent Mac compiler warnings 2022-01-09 17:57:20 +01:00
jcdr428
5fe4ab36c5 Move HEVC NalType enum inside NalUnit class 2022-01-09 17:40:35 +01:00
jcdr428
e36b3bc0b1 Move NALType enum inside NALUnit class 2022-01-09 17:15:58 +01:00
jcdr428
79a85dc01a [Bug] Change NalTypes from HEVC to VVC
Place enum NalType inside VvcUnit class to prevent unintended use outside of class
2022-01-09 16:33:01 +01:00
jcdr428
caedaf294d Change Readstate enum to enum class 2022-01-09 14:47:33 +01:00
jcdr428
1471faa8cc Change Commands enum to enum class 2022-01-09 14:43:40 +01:00
jcdr428
347e0f9045 Tidy-up matroskaDemuxer class
Remove unused enum
Remove obsolete commented code
2022-01-09 14:09:19 +01:00
jcdr428
b3bb81f9db Check rename function return value for failure 2022-01-09 01:11:23 +01:00
jcdr428
676d3f5564 Initialize member variable in MPEGGOPHeader() class 2022-01-09 01:02:55 +01:00
jcdr428
e970b9372b Add explicit switch fallthroughs in convertUTF.h 2022-01-09 00:58:17 +01:00
jcdr428
fa1333a6f9 Initialize MPEGGOPHeader() 2022-01-09 00:55:02 +01:00
jcdr428
5163c6d355 Set explicit casts
Change variable types when feasible to avoid casting
2022-01-09 00:38:15 +01:00
jcdr428
12e22f40d4 Change few variable types 2022-01-08 23:29:17 +01:00
jcdr428
0bb0b444f0 Change variable "m_interliaveInfo" to "m_interleaveInfo" 2022-01-08 23:17:50 +01:00
jcdr428
db3ca6e670 Set explicit casts in ioContextDemuxer
Sort out few signed/unsiged mismatch
2022-01-08 23:11:16 +01:00
jcdr428
f52ccd9942 Explicit casts in simplePacketizerReader 2022-01-08 23:05:55 +01:00
jcdr428
541f8320bc Set explicit casts in mpegStreamReader
Plus: change checkPulldownSync method so that there is no division.
2022-01-08 23:02:46 +01:00
jcdr428
007dcfa320 Fix casts in iso writer class
Set explicit casts.
2022-01-08 22:25:39 +01:00
jcdr428
507eb830b6 Linux does not accept localtime_s... 2022-01-08 20:56:29 +01:00
jcdr428
ea050a4e9a Replace header ctime with time.h for Linux 2022-01-08 20:45:31 +01:00
jcdr428
05b7250903 Make switch/case fallthroughs explicit in convertUTF 2022-01-08 20:41:31 +01:00
jcdr428
0d2f4df8ea Fix gmt time in writeTimestamp 2022-01-08 20:18:51 +01:00
jcdr428
4f7c63d7fd Fix cast in write method 2022-01-08 19:52:34 +01:00
jcdr428
3add56ca0f Tidy-up programStreamDemuxer class 2022-01-08 19:27:06 +01:00
jcdr428
a2fda7978d Fix types class cast 2022-01-08 18:21:04 +01:00
jcdr428
958af809e6 Fix previous commit 2022-01-08 17:01:23 +01:00
jcdr428
9ea7d26769 Fix casts in lpcmStreamReader class
Also correct "curChankLen" to "curChunkLen"
2022-01-08 16:47:40 +01:00
jcdr428
4275bec141 Change stream_type to enum
There was a mix between stream type, track type and container data type. To change stream_type to enum class allows to separate the types.

Also the stream_type enums have been separated between Blu_ray, H.222, ATSC or DVB types.

Plus few casts sorted out.
2022-01-08 15:20:46 +01:00
jcdr428
1838598a47 Correct casts in tsMuxer.cpp
In particular, all pts variables shall be int64_t.
Plus: add explicit variable casts
2022-01-08 00:58:28 +01:00
jcdr428
03ad61688f Optimizations on hevc classes 2022-01-07 22:56:19 +01:00
jcdr428
3d6f22c504 Tidy up mpeg2 classes 2022-01-07 19:49:09 +01:00
jcdr428
68534dd808 Tidy-up h264 classes
Initialize all class members
Remove unnecessary variables
Correct few variable types
Add explicit casts
2022-01-06 22:56:43 +01:00
jcdr428
7d1faf8a69 Fix bug introduced by e9cfbce4 2022-01-06 21:19:41 +01:00
jcdr428
917d1dbb37 Change throwFileError()
With flag FORMAT_MESSAGE_ALLOCATE_BUFFER, no need to define size of char buffer.
2022-01-05 20:09:11 +01:00
jcdr428
fc0150b61c Modif. to previous commit 2022-01-05 20:04:42 +01:00
jcdr428
ec89ab3247 Retrieve error description
With flag FORMAT_MESSAGE_ALLOCATE_BUFFER, size of message is automatically defined.
2022-01-05 19:58:20 +01:00
jcdr428
ea9f3a75cd Reduce stack size of doTruncatedFile() 2022-01-04 23:56:04 +01:00
jcdr428
edd52b51bc Fix bool isDVBL 2022-01-04 23:49:03 +01:00
jcdr428
2c840ef52b Change getBits(1) to getBit()
Reduced to below 16 KB.
2022-01-04 23:46:27 +01:00