mbox series

[FFmpeg-devel,v2,00/13] Metadata handling in CBS, first half, v2

Message ID 20210118224455.750030-1-sw@jkqxz.net
Headers show
Series Metadata handling in CBS, first half, v2
Related show

Message

Mark Thompson Jan. 18, 2021, 10:44 p.m. UTC
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