History

avfilter: Support EBU Tech. 3213-E primaries values

Raphaël Zumer committed 7 years ago

Commit 08dfd571 parent 8821d1f4 files · +4 −1Browse files

Unified · Split

4 files
  1. libavfilter/version.h +1 −1
  2. libavfilter/vf_colorspace.c +1 −0
  3. libavfilter/vf_setparams.c +1 −0
  4. libavfilter/vf_zscale.c +1 −0
libavfilter/version.h+1−1
@@ -31,7 +31,7 @@ · 30 unmodified lines
3131
3232 #define LIBAVFILTER_VERSION_MAJOR 7
3333 #define LIBAVFILTER_VERSION_MINOR 58
34−#define LIBAVFILTER_VERSION_MICRO 101
34+#define LIBAVFILTER_VERSION_MICRO 102
3535
3636
3737 #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
libavfilter/vf_colorspace.c+1−0
@@ -969,6 +969,7 @@ static const AVOption colorspace_options[] = { · 968 unmodified lines
969969 ENUM("smpte432", AVCOL_PRI_SMPTE432, "prm"),
970970 ENUM("bt2020", AVCOL_PRI_BT2020, "prm"),
971971 ENUM("jedec-p22", AVCOL_PRI_JEDEC_P22, "prm"),
972+ ENUM("ebu3213", AVCOL_PRI_EBU3213, "prm"),
972973
973974 { "trc", "Output transfer characteristics",
974975 OFFSET(user_trc), AV_OPT_TYPE_INT, { .i64 = AVCOL_TRC_UNSPECIFIED },
libavfilter/vf_setparams.c+1−0
@@ -75,6 +75,7 @@ static const AVOption setparams_options[] = { · 74 unmodified lines
7575 {"smpte431", NULL, 0, AV_OPT_TYPE_CONST, {.i64=AVCOL_PRI_SMPTE431}, INT_MIN, INT_MAX, FLAGS, "color_primaries"},
7676 {"smpte432", NULL, 0, AV_OPT_TYPE_CONST, {.i64=AVCOL_PRI_SMPTE432}, INT_MIN, INT_MAX, FLAGS, "color_primaries"},
7777 {"jedec-p22", NULL, 0, AV_OPT_TYPE_CONST, {.i64=AVCOL_PRI_JEDEC_P22}, INT_MIN, INT_MAX, FLAGS, "color_primaries"},
78+ {"ebu3213", NULL, 0, AV_OPT_TYPE_CONST, {.i64=AVCOL_PRI_EBU3213}, INT_MIN, INT_MAX, FLAGS, "color_primaries"},
7879
7980 {"color_trc", "select color transfer", OFFSET(color_trc), AV_OPT_TYPE_INT, {.i64=-1}, -1, AVCOL_TRC_NB-1, FLAGS, "color_trc"},
8081 {"auto", "keep the same color transfer", 0, AV_OPT_TYPE_CONST, {.i64=-1}, INT_MIN, INT_MAX, FLAGS, "color_trc"},
libavfilter/vf_zscale.c+1−0
@@ -789,6 +789,7 @@ static const AVOption zscale_options[] = { · 788 unmodified lines
789789 { "smpte431", 0, 0, AV_OPT_TYPE_CONST, {.i64 = ZIMG_PRIMARIES_ST431_2}, 0, 0, FLAGS, "primaries" },
790790 { "smpte432", 0, 0, AV_OPT_TYPE_CONST, {.i64 = ZIMG_PRIMARIES_ST432_1}, 0, 0, FLAGS, "primaries" },
791791 { "jedec-p22", 0, 0, AV_OPT_TYPE_CONST, {.i64 = ZIMG_PRIMARIES_EBU3213_E}, 0, 0, FLAGS, "primaries" },
792+ { "ebu3213", 0, 0, AV_OPT_TYPE_CONST, {.i64 = ZIMG_PRIMARIES_EBU3213_E}, 0, 0, FLAGS, "primaries" },
792793 { "transfer", "set transfer characteristic", OFFSET(trc), AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MAX, FLAGS, "transfer" },
793794 { "t", "set transfer characteristic", OFFSET(trc), AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MAX, FLAGS, "transfer" },
794795 { "input", 0, 0, AV_OPT_TYPE_CONST, {.i64 = -1}, 0, 0, FLAGS, "transfer" },

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t