From: "Jan Ekström" <jeebjp@gmail.com> To: ffmpeg-devel@ffmpeg.org Subject: [FFmpeg-devel] [PATCH 0/3] avcodec: move HDR10 (MDCV/CLL) SEI handling to h2645_sei Date: Wed, 12 Jul 2023 21:32:44 +0300 Message-ID: <20230712183252.302971-1-jeebjp@gmail.com> (raw) This allows parsing code to be re-utilized from H.264, as well as probably from VVC in the future. This additionally eases verification of the AVCodecContext side data patch set, which includes libx264 integration for HDR10 side data. Notes: * At least in ffprobe and FATE tests the code works even without the additional sync in "update_thread_context" in either HEVC or H.264 (as the viewing environment SEI patch set showed earlier). As the current HEVC code had such sync, I kept it and added a similar thing to the H.264 decoder. ** If this is required for all things, the sync should possibly be added to ff_h2645_sei_ctx_replace? As currently both the HEVC and H.264 decoders are synchronizing various structs by themselves in addition to calling ctx_replace. * I did not add a simlar decrementing logic to the H.264 decoder for now, as not sure how it should be handled exactly. Jan Jan Ekström (3): avcodec: move mastering display colour volume SEI handling to h2645_sei avcodec: move content light level SEI handling to h2645_sei avcodec/hevcdec: simplify decrementing of MDCV/CLL flags libavcodec/h2645_sei.c | 112 +++++++++++++++++++++++++ libavcodec/h2645_sei.h | 16 ++++ libavcodec/h264_slice.c | 2 + libavcodec/hevc_sei.c | 50 ----------- libavcodec/hevc_sei.h | 16 ---- libavcodec/hevcdec.c | 78 +++-------------- tests/ref/fate/hevc-hdr-vivid-metadata | 6 +- 7 files changed, 143 insertions(+), 137 deletions(-) -- 2.41.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".
next reply other threads:[~2023-07-12 18:33 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-07-12 18:32 Jan Ekström [this message] 2023-07-12 18:32 ` [FFmpeg-devel] [PATCH 1/3] avcodec: move mastering display colour volume " Jan Ekström 2023-07-20 1:05 ` Leo Izen 2023-07-12 18:32 ` [FFmpeg-devel] [PATCH 2/3] avcodec: move content light level " Jan Ekström 2023-07-12 18:32 ` [FFmpeg-devel] [PATCH 3/3] avcodec/hevcdec: simplify decrementing of MDCV/CLL flags Jan Ekström 2023-07-15 9:11 ` [FFmpeg-devel] [PATCH 0/3] avcodec: move HDR10 (MDCV/CLL) SEI handling to h2645_sei Jan Ekström 2023-07-19 20:25 ` Jan Ekström 2023-07-20 19:06 ` Anton Khirnov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230712183252.302971-1-jeebjp@gmail.com \ --to=jeebjp@gmail.com \ --cc=ffmpeg-devel@ffmpeg.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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