Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH 00/11 v6] AVCodecContext and AVCodecParameters side data
@ 2023-10-04 12:28 James Almer
  2023-10-04 12:28 ` [FFmpeg-devel] [PATCH 01/11] avcodec/packet: add generic side data helpers James Almer
                   ` (11 more replies)
  0 siblings, 12 replies; 17+ messages in thread
From: James Almer @ 2023-10-04 12:28 UTC (permalink / raw)
  To: ffmpeg-devel

Changes since the previous version:
- Zeroed padding to side data allocated by av_packet_side_data_new() (Patch 1).
- Renamed AVCodecParameters.{nb,}side_data to {nb,}coded_side_data, to both
  match the name in AVCodecContext and keep the side_data name free for future
  use (Patch 2).
- Rewritten documentation to AVPacketSideData (Patch 4)
- Display Matrix global side data is now propagated to output frames (Patch 9).

Will add version bumps and APIChanges entries and push the set later this week
unless there are objections.

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: propagate global side data to frames
  fftools/ffmpeg: stop injecting stream side data in packets
  fftools/ffplay: stop injecting stream side data in packets

 fftools/ffmpeg_demux.c                        |  31 +--
 fftools/ffmpeg_enc.c                          |  32 +--
 fftools/ffmpeg_filter.c                       |   7 +-
 fftools/ffmpeg_mux_init.c                     |  24 ++-
 fftools/ffplay.c                              |  11 +-
 fftools/ffprobe.c                             |  30 ++-
 libavcodec/avcodec.h                          |   2 +-
 libavcodec/avpacket.c                         | 101 +++++++++
 libavcodec/codec_par.c                        |  48 +++++
 libavcodec/codec_par.h                        |  11 +
 libavcodec/decode.c                           |  60 +++++-
 libavcodec/decode.h                           |   6 +
 libavcodec/hevcdec.c                          |  15 +-
 libavcodec/packet.h                           | 115 ++++++++++-
 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                             |  92 +++++----
 libavformat/movenc.c                          |  94 +++++----
 libavformat/mp3enc.c                          |  10 +-
 libavformat/mpegenc.c                         |  22 +-
 libavformat/mpegts.c                          |  10 +-
 libavformat/mux.c                             |  21 ++
 libavformat/mxfdec.c                          |  25 ++-
 libavformat/mxfenc.c                          |  12 +-
 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/hevc-dv-rpu                    |  18 ++
 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/mov-zombie                     | 195 ++++++++++++------
 tests/ref/fate/mxf-d10-user-comments          |   2 +-
 tests/ref/fate/mxf-remux-applehdr10           |   2 +-
 tests/ref/fate/vp9-superframe-bsf             |   2 +-
 56 files changed, 909 insertions(+), 431 deletions(-)

-- 
2.42.0

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 17+ messages in thread
* [FFmpeg-devel] [PATCH 00/11 v5] AVCodecContext and AVCodecParameters side data
@ 2023-09-27 13:12 James Almer
  2023-09-27 13:12 ` [FFmpeg-devel] [PATCH 07/11] fftools/ffprobe: stop using AVStream.side_data James Almer
  0 siblings, 1 reply; 17+ messages in thread
From: James Almer @ 2023-09-27 13:12 UTC (permalink / raw)
  To: ffmpeg-devel

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(-)

-- 
2.42.0

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2023-10-06 11:34 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-04 12:28 [FFmpeg-devel] [PATCH 00/11 v6] AVCodecContext and AVCodecParameters side data James Almer
2023-10-04 12:28 ` [FFmpeg-devel] [PATCH 01/11] avcodec/packet: add generic side data helpers James Almer
2023-10-04 12:28 ` [FFmpeg-devel] [PATCH 02/11] avcodec/codec_par: add side data to AVCodecParameters James Almer
2023-10-04 12:28 ` [FFmpeg-devel] [PATCH 03/11] avformat/avformat: use the side data from AVStream.codecpar James Almer
2023-10-06  3:04   ` Andreas Rheinhardt
2023-10-06 11:34     ` James Almer
2023-10-04 12:28 ` [FFmpeg-devel] [PATCH 04/11] avcodec/packet: add some documentation for AVPacketSideData James Almer
2023-10-04 14:46   ` Anton Khirnov
2023-10-04 12:28 ` [FFmpeg-devel] [PATCH 05/11] fftools/ffmpeg: stop using AVStream.side_data James Almer
2023-10-04 12:28 ` [FFmpeg-devel] [PATCH 06/11] fftools/ffplay: " James Almer
2023-10-04 12:28 ` [FFmpeg-devel] [PATCH 07/11] fftools/ffprobe: " James Almer
2023-10-04 12:28 ` [FFmpeg-devel] [PATCH 08/11] avcodec/hevcdec: check for DOVI configuration record in AVCodecContext side data James Almer
2023-10-04 12:28 ` [FFmpeg-devel] [PATCH 09/11] avcodec/decode: propagate global side data to frames James Almer
2023-10-04 12:28 ` [FFmpeg-devel] [PATCH 10/11] fftools/ffmpeg: stop injecting stream side data in packets James Almer
2023-10-04 12:28 ` [FFmpeg-devel] [PATCH 11/11] fftools/ffplay: " James Almer
2023-10-04 14:47 ` [FFmpeg-devel] [PATCH 00/11 v6] AVCodecContext and AVCodecParameters side data Anton Khirnov
  -- strict thread matches above, loose matches on Subject: below --
2023-09-27 13:12 [FFmpeg-devel] [PATCH 00/11 v5] " James Almer
2023-09-27 13:12 ` [FFmpeg-devel] [PATCH 07/11] fftools/ffprobe: stop using AVStream.side_data James Almer

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git