lavc: Keep idct integer option
"int" is useful in testing because provides accurate results across different plaftforms, so remove it from the scheduled FF_API_UNUSED_MEMBERS deprecation.
This commit is contained in:
parent
18adc1fd3b
commit
5b142a4d33
@ -2572,9 +2572,7 @@ typedef struct AVCodecContext {
|
|||||||
int dct_algo;
|
int dct_algo;
|
||||||
#define FF_DCT_AUTO 0
|
#define FF_DCT_AUTO 0
|
||||||
#define FF_DCT_FASTINT 1
|
#define FF_DCT_FASTINT 1
|
||||||
#if FF_API_UNUSED_MEMBERS
|
|
||||||
#define FF_DCT_INT 2
|
#define FF_DCT_INT 2
|
||||||
#endif /* FF_API_UNUSED_MEMBERS */
|
|
||||||
#define FF_DCT_MMX 3
|
#define FF_DCT_MMX 3
|
||||||
#define FF_DCT_ALTIVEC 5
|
#define FF_DCT_ALTIVEC 5
|
||||||
#define FF_DCT_FAAN 6
|
#define FF_DCT_FAAN 6
|
||||||
|
@ -191,9 +191,7 @@ static const AVOption avcodec_options[] = {
|
|||||||
{"dct", "DCT algorithm", OFFSET(dct_algo), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, 0, INT_MAX, V|E, "dct"},
|
{"dct", "DCT algorithm", OFFSET(dct_algo), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, 0, INT_MAX, V|E, "dct"},
|
||||||
{"auto", "autoselect a good one (default)", 0, AV_OPT_TYPE_CONST, {.i64 = FF_DCT_AUTO }, INT_MIN, INT_MAX, V|E, "dct"},
|
{"auto", "autoselect a good one (default)", 0, AV_OPT_TYPE_CONST, {.i64 = FF_DCT_AUTO }, INT_MIN, INT_MAX, V|E, "dct"},
|
||||||
{"fastint", "fast integer", 0, AV_OPT_TYPE_CONST, {.i64 = FF_DCT_FASTINT }, INT_MIN, INT_MAX, V|E, "dct"},
|
{"fastint", "fast integer", 0, AV_OPT_TYPE_CONST, {.i64 = FF_DCT_FASTINT }, INT_MIN, INT_MAX, V|E, "dct"},
|
||||||
#if FF_API_UNUSED_MEMBERS
|
|
||||||
{"int", "accurate integer", 0, AV_OPT_TYPE_CONST, {.i64 = FF_DCT_INT }, INT_MIN, INT_MAX, V|E, "dct"},
|
{"int", "accurate integer", 0, AV_OPT_TYPE_CONST, {.i64 = FF_DCT_INT }, INT_MIN, INT_MAX, V|E, "dct"},
|
||||||
#endif /* FF_API_UNUSED_MEMBERS */
|
|
||||||
{"mmx", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = FF_DCT_MMX }, INT_MIN, INT_MAX, V|E, "dct"},
|
{"mmx", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = FF_DCT_MMX }, INT_MIN, INT_MAX, V|E, "dct"},
|
||||||
{"altivec", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = FF_DCT_ALTIVEC }, INT_MIN, INT_MAX, V|E, "dct"},
|
{"altivec", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = FF_DCT_ALTIVEC }, INT_MIN, INT_MAX, V|E, "dct"},
|
||||||
{"faan", "floating point AAN DCT", 0, AV_OPT_TYPE_CONST, {.i64 = FF_DCT_FAAN }, INT_MIN, INT_MAX, V|E, "dct"},
|
{"faan", "floating point AAN DCT", 0, AV_OPT_TYPE_CONST, {.i64 = FF_DCT_FAAN }, INT_MIN, INT_MAX, V|E, "dct"},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user