This functionally already exists, but as pointed out in #9672 and #9673,
requiring users to manually include filters is clumsy, error-prone and
hard to use together with tools like ffplay.
To streamline ICC profile support, add a new AVCodecContext flag to
globally enable reading and writing ICC profiles, automatically, for all
appropriate media types.
Note that this commit only includes the new API. The implementation is
split off to separate commits for readability.
Signed-off-by: Niklas Haas <git@haasn.dev>
{"export_mvs","export motion vectors through frame side data",0,AV_OPT_TYPE_CONST,{.i64=AV_CODEC_FLAG2_EXPORT_MVS},INT_MIN,INT_MAX,V|D,"flags2"},
{"export_mvs","export motion vectors through frame side data",0,AV_OPT_TYPE_CONST,{.i64=AV_CODEC_FLAG2_EXPORT_MVS},INT_MIN,INT_MAX,V|D,"flags2"},
{"skip_manual","do not skip samples and export skip information as frame side data",0,AV_OPT_TYPE_CONST,{.i64=AV_CODEC_FLAG2_SKIP_MANUAL},INT_MIN,INT_MAX,A|D,"flags2"},
{"skip_manual","do not skip samples and export skip information as frame side data",0,AV_OPT_TYPE_CONST,{.i64=AV_CODEC_FLAG2_SKIP_MANUAL},INT_MIN,INT_MAX,A|D,"flags2"},
{"ass_ro_flush_noop","do not reset ASS ReadOrder field on flush",0,AV_OPT_TYPE_CONST,{.i64=AV_CODEC_FLAG2_RO_FLUSH_NOOP},INT_MIN,INT_MAX,S|D,"flags2"},
{"ass_ro_flush_noop","do not reset ASS ReadOrder field on flush",0,AV_OPT_TYPE_CONST,{.i64=AV_CODEC_FLAG2_RO_FLUSH_NOOP},INT_MIN,INT_MAX,S|D,"flags2"},
{"export_side_data","Export metadata as side data",OFFSET(export_side_data),AV_OPT_TYPE_FLAGS,{.i64=DEFAULT},0,UINT_MAX,A|V|S|D|E,"export_side_data"},
{"export_side_data","Export metadata as side data",OFFSET(export_side_data),AV_OPT_TYPE_FLAGS,{.i64=DEFAULT},0,UINT_MAX,A|V|S|D|E,"export_side_data"},
{"mvs","export motion vectors through frame side data",0,AV_OPT_TYPE_CONST,{.i64=AV_CODEC_EXPORT_DATA_MVS},INT_MIN,INT_MAX,V|D,"export_side_data"},
{"mvs","export motion vectors through frame side data",0,AV_OPT_TYPE_CONST,{.i64=AV_CODEC_EXPORT_DATA_MVS},INT_MIN,INT_MAX,V|D,"export_side_data"},
{"prft","export Producer Reference Time through packet side data",0,AV_OPT_TYPE_CONST,{.i64=AV_CODEC_EXPORT_DATA_PRFT},INT_MIN,INT_MAX,A|V|S|E,"export_side_data"},
{"prft","export Producer Reference Time through packet side data",0,AV_OPT_TYPE_CONST,{.i64=AV_CODEC_EXPORT_DATA_PRFT},INT_MIN,INT_MAX,A|V|S|E,"export_side_data"},