mbox series

[FFmpeg-devel,00/11,v5] AVCodecContext and AVCodecParameters side data

Message ID 20230927131242.1950-1-jamrial@gmail.com
Headers show
Series AVCodecContext and AVCodecParameters side data | expand

Message

James Almer Sept. 27, 2023, 1:12 p.m. UTC
Changes since the previous version:
- Removed AVPacketSideDataSet altogheter. Array and size fields now reside
  without being wrapped. Helpers now take pointer to array of side data and
  pointer to size as input/output arguments.
- Added some description for AVPacketSideData and where the API user may expect
  it being used, or where they may use it.

Missing version bumps and APIChanges entries.

James Almer (11):
  avcodec/packet: add generic side data helpers
  avcodec/codec_par: add side data to AVCodecParameters
  avformat/avformat: use the side data from AVStream.codecpar
  avcodec/packet: add some documentation for AVPacketSideData
  fftools/ffmpeg: stop using AVStream.side_data
  fftools/ffplay: stop using AVStream.side_data
  fftools/ffprobe: stop using AVStream.side_data
  avcodec/hevcdec: check for DOVI configuration record in AVCodecContext
    side data
  avcodec/decode: check for global side data in AVCodecContext side data
  fftools/ffmpeg: stop injecting stream side data in packets
  fftools/ffplay: stop injecting stream side data in packets

 fftools/ffmpeg_demux.c                        |  30 +----
 fftools/ffmpeg_enc.c                          |  31 ++---
 fftools/ffmpeg_filter.c                       |   6 +-
 fftools/ffmpeg_mux_init.c                     |  21 ++--
 fftools/ffplay.c                              |  11 +-
 fftools/ffprobe.c                             |  30 +++--
 libavcodec/avcodec.h                          |   2 +-
 libavcodec/avpacket.c                         |  99 ++++++++++++++++
 libavcodec/codec_par.c                        |  48 ++++++++
 libavcodec/codec_par.h                        |  11 ++
 libavcodec/decode.c                           |  58 +++++++--
 libavcodec/decode.h                           |   3 +
 libavcodec/hevcdec.c                          |  15 ++-
 libavcodec/packet.h                           | 111 +++++++++++++++++-
 libavdevice/android_camera.c                  |  10 +-
 libavformat/avformat.c                        |  42 ++-----
 libavformat/avformat.h                        |  28 ++++-
 libavformat/concatdec.c                       |   1 -
 libavformat/dashdec.c                         |  11 --
 libavformat/demux.c                           |  53 +++++----
 libavformat/demux_utils.c                     |   4 +
 libavformat/dovi_isom.c                       |   8 +-
 libavformat/dump.c                            |   6 +-
 libavformat/hls.c                             |  11 --
 libavformat/hlsenc.c                          |  11 +-
 libavformat/internal.h                        |   4 +
 libavformat/matroskadec.c                     |  47 ++++----
 libavformat/matroskaenc.c                     |  55 +++++----
 libavformat/mov.c                             |  91 +++++++-------
 libavformat/movenc.c                          |  84 +++++++------
 libavformat/mp3enc.c                          |  10 +-
 libavformat/mpegenc.c                         |  20 +++-
 libavformat/mpegts.c                          |   9 +-
 libavformat/mux.c                             |  20 ++++
 libavformat/mxfdec.c                          |  24 ++--
 libavformat/mxfenc.c                          |  10 +-
 libavformat/options.c                         |   2 +
 libavformat/replaygain.c                      |  10 +-
 libavformat/seek.c                            |   2 +
 libavformat/version_major.h                   |   1 +
 tests/ref/fate/autorotate                     |   4 +-
 tests/ref/fate/copy-trac3074                  |   2 +-
 tests/ref/fate/matroska-avoid-negative-ts     |   2 +-
 tests/ref/fate/matroska-dovi-write-config7    |   2 +-
 tests/ref/fate/matroska-dovi-write-config8    |   2 +-
 tests/ref/fate/matroska-encoding-delay        |   2 +-
 .../fate/matroska-mastering-display-metadata  |   4 +-
 tests/ref/fate/matroska-spherical-mono-remux  |   4 +-
 tests/ref/fate/matroska-stereo_mode           |   8 +-
 tests/ref/fate/matroska-vp8-alpha-remux       |   2 +-
 .../ref/fate/mov-mp4-disposition-mpegts-remux |   4 +-
 tests/ref/fate/mxf-d10-user-comments          |   2 +-
 tests/ref/fate/mxf-remux-applehdr10           |   2 +-
 tests/ref/fate/vp9-superframe-bsf             |   2 +-
 54 files changed, 730 insertions(+), 362 deletions(-)