Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH] Add YCOCG colorspace to input arguments of vf_colorspace.
@ 2022-05-19 20:42 Mohammad Izadi
  2022-05-31 17:06 ` Mohammad Izadi
  2022-05-31 17:17 ` Ronald S. Bultje
  0 siblings, 2 replies; 4+ messages in thread
From: Mohammad Izadi @ 2022-05-19 20:42 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Mohammad Izadi

ffmpeg support YCOCG (YCOCG=YCGCO). However, vf_colorspace is only support YCGCO as input. Added YCOCG to the inputs.
---
 libavfilter/vf_colorspace.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/vf_colorspace.c b/libavfilter/vf_colorspace.c
index 3c8b3b20eb..bccd04528e 100644
--- a/libavfilter/vf_colorspace.c
+++ b/libavfilter/vf_colorspace.c
@@ -906,6 +906,7 @@ static const AVOption colorspace_options[] = {
     ENUM("smpte170m",   AVCOL_SPC_SMPTE170M,   "csp"),
     ENUM("smpte240m",   AVCOL_SPC_SMPTE240M,   "csp"),
     ENUM("ycgco",       AVCOL_SPC_YCGCO,       "csp"),
+    ENUM("ycocg",       AVCOL_SPC_YCOCG,       "csp"),
     ENUM("gbr",         AVCOL_SPC_RGB,         "csp"),
     ENUM("bt2020nc",    AVCOL_SPC_BT2020_NCL,  "csp"),
     ENUM("bt2020ncl",   AVCOL_SPC_BT2020_NCL,  "csp"),
-- 
2.36.1.124.g0e6072fb45-goog

_______________________________________________
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] 4+ messages in thread

end of thread, other threads:[~2022-06-01 15:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-19 20:42 [FFmpeg-devel] [PATCH] Add YCOCG colorspace to input arguments of vf_colorspace Mohammad Izadi
2022-05-31 17:06 ` Mohammad Izadi
2022-05-31 17:17 ` Ronald S. Bultje
2022-06-01 15:12   ` Vittorio Giovara

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