summaryrefslogtreecommitdiff
path: root/libavformat/av1.c
Commit message (Collapse)AuthorAge
* avcodec/cbs_av1: rename enable_intraintra_compound flagFei Wang2019-12-11
| | | | | | | | rename enable_intraintra_compound to enable_interintra_compound, which keep same as AV1 sepc(v1.0.0-errata1). Signed-off-by: Fei Wang <fei.w.wang@intel.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/av1: Avoid allocation for small headersAndreas Rheinhardt2019-11-28
| | | | | | | | By using avio_get_dyn_buf() + ffio_free_dyn_buf() instead of avio_close_dyn_buf() + av_free() one can avoid an allocation + copy for small headers. Furthermore, it simplifies freeing. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* avformat/av1: Fix leak of dynamic buffer in case of parsing failureAndreas Rheinhardt2019-11-22
| | | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/av1: combine high_bitdepth and twelve_bit into a single bitdepth valueJames Almer2019-08-03
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/av1: rename some AV1SequenceParameters fieldsJames Almer2019-08-03
| | | | | | Cosmetic change. Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/av1: split off sequence header parsing from the av1C writing functionJames Almer2019-08-03
| | | | | | It will be used by the dash muxer Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/av1: add color config values to AV1SequenceParametersJames Almer2019-08-03
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/av1: Initialize padding in ff_isom_write_av1cJeremy Dorfman via ffmpeg-devel2019-04-08
| | | | | | | | 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>
* avformat/av1: zero initialize the seq_params structJames Almer2018-09-02
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/av1: filter out tile list OBUs from samplesJames Almer2018-08-17
| | | | | | As per the updated spec. Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/av1: update ff_isom_write_av1c() to the latest revision of the specJames Almer2018-08-17
| | | | | | | | | | 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>
* avformat/av1: reorder OBUs before writting them in ff_isom_write_av1c()James Almer2018-08-02
| | | | | | Make sure Sequence Header is first, and only allow one of its kind. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/av1_parse: return size of the parsed OBU in parse_obu_header()James Almer2018-08-02
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/av1: return an error when no data is provided to ff_isom_write_av1c()James Almer2018-08-02
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/movenc: add support for AV1 streamsJames Almer2018-07-20
Signed-off-by: James Almer <jamrial@gmail.com>