James Almer
4e608e90eb
avformat/evc: fix writing reserved bits
...
They are all zeroes, not ones.
Signed-off-by: James Almer <jamrial@gmail.com>
6 months ago
James Almer
5191339f74
avformat/evc: remove useless struct field
...
Signed-off-by: James Almer <jamrial@gmail.com>
6 months ago
Andreas Rheinhardt
8f199cfb5b
avformat/evc: Fix format specifiers
...
Fixes -Wformat warnings; see e.g.
https://fate.ffmpeg.org/log.cgi?slot=aarch64-osx-clang-1200.0.32.29&time=20240604151047&log=compile
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
7 months ago
Dawid Kozinski
e4da96c6b2
avformat/evc: Small fixes in documentation
...
Signed-off-by: Dawid Kozinski <d.kozinski@samsung.com>
8 months ago
Andreas Rheinhardt
790f793844
avutil/common: Don't auto-include mem.h
...
There are lots of files that don't need it: The number of object
files that actually need it went down from 2011 to 884 here.
Keep it for external users in order to not cause breakages.
Also improve the other headers a bit while just at it.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
9 months ago
James Almer
6ff95758e6
avformat/evc: use get_ue_golomb_long()
...
This partially reverts commit d0fc1b3507
, which reintroduced a regression
originally fixed in 5e9986fd2d
.
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
James Almer
528dd5637d
avformat/evc: remove duplicate defines
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
James Almer
3d1199dff6
avformat/evc: add range checks to evcc_parse_sps and return proper error codes
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
James Almer
552879d621
avformat/evc: remove duplicate check
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
James Almer
d0fc1b3507
avformat/evc: remove unnecessary struct
...
And don't use get_ue_golomb_long() for known small values.
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
James Almer
c7183a22db
avformat/evc: move NALU length and type parsing functions to a header
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
James Almer
17499f43b1
avformat/evc: remove unused variable
...
And check the correct one. Should fix use of uninitialized value warnings.
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
James Almer
e81eafcb97
avformat/evc: skip nalu header size bytes before parsing sps
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
James Almer
048b8bdd5e
avformat/evc: use get_bits_long() where needed
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
James Almer
5e9986fd2d
avformat/evc: use get_ue_golomb_long()
...
Fixes compilation of shared libraries, as well as correctly parses
width and height values.
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
Dawid Kozinski
a04ca05f4c
avformat/mov_muxer: Extended MOV muxer to handle EVC video content
...
- Changes in mov_write_video_tag function to handle EVC elementary stream
- Provided structure EVCDecoderConfigurationRecord that specifies the decoder configuration information for ISO/IEC 23094-1 video content
Signed-off-by: Dawid Kozinski <d.kozinski@samsung.com>
2 years ago