Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] ICC profile support in avcodec
@ 2022-06-28 13:41 Niklas Haas
  2022-06-28 13:41 ` [FFmpeg-devel] [PATCH 1/6] fflcms2: move to libavcodec Niklas Haas
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Niklas Haas @ 2022-06-28 13:41 UTC (permalink / raw)
  To: ffmpeg-devel

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".

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

end of thread, other threads:[~2022-06-28 20:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-28 13:41 [FFmpeg-devel] ICC profile support in avcodec Niklas Haas
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

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