9a44ec9410
avformat/av1: combine high_bitdepth and twelve_bit into a single bitdepth value
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-08-03 12:33:14 -03:00
0d597a69ba
avformat/av1: rename some AV1SequenceParameters fields
...
Cosmetic change.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-08-03 12:33:14 -03:00
68e48e5d97
avformat/av1: split off sequence header parsing from the av1C writing function
...
It will be used by the dash muxer
Signed-off-by: James Almer <jamrial@gmail.com >
2019-08-03 12:33:14 -03:00
0c7cfd2c19
avformat/av1: add color config values to AV1SequenceParameters
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-08-03 12:33:14 -03:00
bb5efd1727
avformat/av1: Initialize padding in ff_isom_write_av1c
...
Otherwise, AV1 encodes with FFmpeg trigger use-of-uninitialized-value
warnings under MemorySanitizer, and the output buffer potentially
changes from run to run.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-04-08 11:24:53 -03:00
11cec34829
avformat/av1: zero initialize the seq_params struct
...
Signed-off-by: James Almer <jamrial@gmail.com >
2018-09-02 23:27:51 -03:00
f00964e2f7
avformat/av1: filter out tile list OBUs from samples
...
As per the updated spec.
Signed-off-by: James Almer <jamrial@gmail.com >
2018-08-17 15:26:05 -03:00
8d5604a69a
avformat/av1: update ff_isom_write_av1c() to the latest revision of the spec
...
This will get ISOBMFF and Matroska up to date with the revised AV1 Codec
Configuration Box spec.
For now keep propagating raw OBUs as extradata until all libavcodec modules
are adapted to handle AV1CodecConfigurationRecord formatted extradata.
Tested-by: Thomas Daede <bztdlinux@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2018-08-17 15:09:02 -03:00
ded339fb3c
avformat/av1: reorder OBUs before writting them in ff_isom_write_av1c()
...
Make sure Sequence Header is first, and only allow one of its kind.
Signed-off-by: James Almer <jamrial@gmail.com >
2018-08-02 12:41:54 -03:00
692e323d89
avcodec/av1_parse: return size of the parsed OBU in parse_obu_header()
...
Signed-off-by: James Almer <jamrial@gmail.com >
2018-08-02 12:41:54 -03:00
1e126560c2
avformat/av1: return an error when no data is provided to ff_isom_write_av1c()
...
Signed-off-by: James Almer <jamrial@gmail.com >
2018-08-02 12:41:53 -03:00
9888a19db4
avformat/movenc: add support for AV1 streams
...
Signed-off-by: James Almer <jamrial@gmail.com >
2018-07-20 12:00:32 -03:00