[FFmpeg-devel] [PATCH v2 00/13] Metadata handling in CBS, first half, v2
Mark Thompson
sw at jkqxz.net
Tue Jan 19 00:44:42 EET 2021
This is v2 of the first half of the series, which factorises out common parts of the existing code and fixes some minor issues but has little external effect. It is updated as noted from previous comments, but has no other significant changes.
I'll apply this later this week if there are no further comments. The second half involves more new code and has had more changes, and so will follow after.
Thanks,
- Mark
Mark Thompson (13):
cbs_h2645: Merge SEI messages in common between codecs
h264_metadata_bsf: Move SEI user data parsing to init time
cbs_h2645: Merge SEI message handling in common between codecs
cbs_sei: Remove restrictions on MDCV values
h264_metadata_bsf: Refactor the filter function into smaller parts
h264_metadata_bsf: Improve interpretation of input display matrices
cbs: Implement common parts of cbs-based bitstream filters separately
h264_metadata_bsf: Use common cbs bsf implementation
h265_metadata_bsf: Use common cbs bsf implementation
mpeg2_metadata_bsf: Use common cbs bsf implementation
vp9_metadata_bsf: Use common cbs bsf implementation
av1_metadata_bsf: Use common cbs bsf implementation
h264_redundant_pps_bsf: Use common cbs bsf implementation
libavcodec/Makefile | 6 +-
libavcodec/av1_metadata_bsf.c | 176 +-------
libavcodec/cbs_bsf.c | 159 +++++++
libavcodec/cbs_bsf.h | 131 ++++++
libavcodec/cbs_h264.h | 79 +---
libavcodec/cbs_h2645.c | 324 +++++++-------
libavcodec/cbs_h264_syntax_template.c | 271 +-----------
libavcodec/cbs_h265.h | 66 +--
libavcodec/cbs_h265_syntax_template.c | 372 ++--------------
libavcodec/cbs_sei.c | 369 ++++++++++++++++
libavcodec/cbs_sei.h | 315 ++++++++++++++
libavcodec/cbs_sei_syntax_template.c | 307 +++++++++++++
libavcodec/h264_metadata_bsf.c | 596 +++++++++++---------------
libavcodec/h264_redundant_pps_bsf.c | 99 +----
libavcodec/h265_metadata_bsf.c | 191 +--------
libavcodec/mpeg2_metadata_bsf.c | 94 +---
libavcodec/vaapi_encode_h264.c | 53 +--
libavcodec/vaapi_encode_h265.c | 45 +-
libavcodec/vp9_metadata_bsf.c | 61 +--
19 files changed, 1882 insertions(+), 1832 deletions(-)
create mode 100644 libavcodec/cbs_bsf.c
create mode 100644 libavcodec/cbs_bsf.h
create mode 100644 libavcodec/cbs_sei.c
create mode 100644 libavcodec/cbs_sei.h
create mode 100644 libavcodec/cbs_sei_syntax_template.c
--
2.29.2
More information about the ffmpeg-devel
mailing list