From: Niklas Haas <ffmpeg@haasn.xyz> To: ffmpeg-devel@ffmpeg.org Subject: [FFmpeg-devel] ICC profile support in avcodec Date: Tue, 28 Jun 2022 15:41:05 +0200 Message-ID: <20220628134110.87770-1-ffmpeg@haasn.xyz> (raw) Hi, I'm not entirely sure I'm happy with this series. I would appreciate any sort of comment. The motivating use case is given in #9672 and #9673 - basically, it's somewhat expected that ffmpeg should, out of the box, handle files with embedded ICC profiles, mapping between them and its internal color enums as possible/needed. The ICC profile *decoding* code works well as-is as far as I'm concerned, but I might end up deciding to scrap the ICC *encoding* code in avcodec/encode.c in favor of letting encoders handle that themselves, simply because it allows mjpegenc/apng do the correct thing (as opposed to the status quo of an ICC profile being attached to every single frame, which might not be the smartest choice). I'm also not entirely happy with the way fflcms2 is being shared between libavcodec and libavfilter, but we have a precedent here (vulkan.c) and it's probably still better than locking this API into ABI hell for all eternity. I can see myself wanting to make more changes to it, in the future. _______________________________________________ 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:[~2022-06-28 13:42 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-06-28 13:41 Niklas Haas [this message] 2022-06-28 13:41 ` [FFmpeg-devel] [PATCH 1/6] fflcms2: move to libavcodec Niklas Haas 2022-06-28 13:41 ` [FFmpeg-devel] [PATCH 2/6] avcodec/codec_internal: add cap for ICC profile support Niklas Haas 2022-06-28 13:41 ` [FFmpeg-devel] [PATCH 3/6] avcodec: add API for automatic handling of icc profiles Niklas Haas 2022-06-28 13:41 ` [FFmpeg-devel] [PATCH 4/6] avcodec: add common fflcms2 boilerplate Niklas Haas 2022-06-28 19:57 ` Michael Niedermayer 2022-06-28 20:03 ` Andreas Rheinhardt 2022-06-28 13:41 ` [FFmpeg-devel] [PATCH 5/6] avcodec/decode: parse ICC profiles Niklas Haas 2022-06-28 13:41 ` [FFmpeg-devel] [PATCH 6/6] avcodec/encode:: generate " Niklas Haas
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=20220628134110.87770-1-ffmpeg@haasn.xyz \ --to=ffmpeg@haasn.xyz \ --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