[FFmpeg-devel] [FFmpeg-cvslog] avcodec/options_table: map IPT-C2, YCgCo-R variants in colorspace

Michael Niedermayer michael at niedermayer.cc
Sun Apr 7 00:21:27 EEST 2024


On Wed, Apr 03, 2024 at 07:04:20PM +0000, Jan Ekström wrote:
> ffmpeg | branch: master | Jan Ekström <jeebjp at gmail.com> | Fri Mar 29 00:52:53 2024 +0200| [06c53efd233340762535957ad765ed4d9aafcddd] | committer: Jan Ekström
> 
> avcodec/options_table: map IPT-C2, YCgCo-R variants in colorspace
> 
> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=06c53efd233340762535957ad765ed4d9aafcddd
> ---
> 
>  libavcodec/options_table.h | 3 +++
>  libavcodec/version.h       | 2 +-
>  2 files changed, 4 insertions(+), 1 deletion(-)

> 
> diff --git a/libavcodec/options_table.h b/libavcodec/options_table.h
> index 7a2ef3474e..7a70fa7b6c 100644
> --- a/libavcodec/options_table.h
> +++ b/libavcodec/options_table.h
> @@ -331,8 +331,11 @@ static const AVOption avcodec_options[] = {
>  {"chroma-derived-nc", "Chroma-derived NCL", 0, AV_OPT_TYPE_CONST, {.i64 = AVCOL_SPC_CHROMA_DERIVED_NCL }, INT_MIN, INT_MAX, V|E|D, .unit = "colorspace_type"},
>  {"chroma-derived-c",  "Chroma-derived CL",  0, AV_OPT_TYPE_CONST, {.i64 = AVCOL_SPC_CHROMA_DERIVED_CL },  INT_MIN, INT_MAX, V|E|D, .unit = "colorspace_type"},
>  {"ictcp",             "ICtCp",              0, AV_OPT_TYPE_CONST, {.i64 = AVCOL_SPC_ICTCP },              INT_MIN, INT_MAX, V|E|D, .unit = "colorspace_type"},
> +{"ipt-c2",            "IPT-C2",             0, AV_OPT_TYPE_CONST, {.i64 = AVCOL_SPC_IPT_C2 },             INT_MIN, INT_MAX, V|E|D, .unit = "colorspace_type"},
>  {"unspecified",       "Unspecified",        0, AV_OPT_TYPE_CONST, {.i64 = AVCOL_SPC_UNSPECIFIED },        INT_MIN, INT_MAX, V|E|D, .unit = "colorspace_type"},
>  {"ycocg",             "YCGCO",              0, AV_OPT_TYPE_CONST, {.i64 = AVCOL_SPC_YCGCO },              INT_MIN, INT_MAX, V|E|D, .unit = "colorspace_type"},
> +{"ycgco-re",          "YCgCo-R, even add.", 0, AV_OPT_TYPE_CONST, {.i64 = AVCOL_SPC_YCGCO_RE },           INT_MIN, INT_MAX, V|E|D, .unit = "colorspace_type"},
> +{"ycgco-ro",          "YCgCo-R, odd add.",  0, AV_OPT_TYPE_CONST, {.i64 = AVCOL_SPC_YCGCO_RO },           INT_MIN, INT_MAX, V|E|D, .unit = "colorspace_type"},

missing addition to doc/

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The day soldiers stop bringing you their problems is the day you have stopped 
leading them. They have either lost confidence that you can help or concluded 
you do not care. Either case is a failure of leadership. - Colin Powell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240406/7d2638b0/attachment.sig>


More information about the ffmpeg-devel mailing list