mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-17 04:17:05 +00:00
swscale/options: switch default to bicubic
Suggested-by: Ronald S. Bultje Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
6853e40106
commit
ccf96f8c64
@ -15,6 +15,9 @@ libavutil: 2012-10-22
|
|||||||
|
|
||||||
API changes, most recent first:
|
API changes, most recent first:
|
||||||
|
|
||||||
|
2013-10-xx - xxxxxxx -libswscale 2.5.101 - options.c
|
||||||
|
Change default scaler to bicubic
|
||||||
|
|
||||||
2013-10-03 - xxxxxxx - lavc 55.34.100 - avcodec.h
|
2013-10-03 - xxxxxxx - lavc 55.34.100 - avcodec.h
|
||||||
Add av_codec_get_max_lowres()
|
Add av_codec_get_max_lowres()
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ static const char *sws_context_to_name(void *ptr)
|
|||||||
#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM
|
#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM
|
||||||
|
|
||||||
static const AVOption swscale_options[] = {
|
static const AVOption swscale_options[] = {
|
||||||
{ "sws_flags", "scaler flags", OFFSET(flags), AV_OPT_TYPE_FLAGS, { .i64 = SWS_BILINEAR }, 0, UINT_MAX, VE, "sws_flags" },
|
{ "sws_flags", "scaler flags", OFFSET(flags), AV_OPT_TYPE_FLAGS, { .i64 = SWS_BICUBIC }, 0, UINT_MAX, VE, "sws_flags" },
|
||||||
{ "fast_bilinear", "fast bilinear", 0, AV_OPT_TYPE_CONST, { .i64 = SWS_FAST_BILINEAR }, INT_MIN, INT_MAX, VE, "sws_flags" },
|
{ "fast_bilinear", "fast bilinear", 0, AV_OPT_TYPE_CONST, { .i64 = SWS_FAST_BILINEAR }, INT_MIN, INT_MAX, VE, "sws_flags" },
|
||||||
{ "bilinear", "bilinear", 0, AV_OPT_TYPE_CONST, { .i64 = SWS_BILINEAR }, INT_MIN, INT_MAX, VE, "sws_flags" },
|
{ "bilinear", "bilinear", 0, AV_OPT_TYPE_CONST, { .i64 = SWS_BILINEAR }, INT_MIN, INT_MAX, VE, "sws_flags" },
|
||||||
{ "bicubic", "bicubic", 0, AV_OPT_TYPE_CONST, { .i64 = SWS_BICUBIC }, INT_MIN, INT_MAX, VE, "sws_flags" },
|
{ "bicubic", "bicubic", 0, AV_OPT_TYPE_CONST, { .i64 = SWS_BICUBIC }, INT_MIN, INT_MAX, VE, "sws_flags" },
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
#define LIBSWSCALE_VERSION_MAJOR 2
|
#define LIBSWSCALE_VERSION_MAJOR 2
|
||||||
#define LIBSWSCALE_VERSION_MINOR 5
|
#define LIBSWSCALE_VERSION_MINOR 5
|
||||||
#define LIBSWSCALE_VERSION_MICRO 100
|
#define LIBSWSCALE_VERSION_MICRO 101
|
||||||
|
|
||||||
#define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \
|
#define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \
|
||||||
LIBSWSCALE_VERSION_MINOR, \
|
LIBSWSCALE_VERSION_MINOR, \
|
||||||
|
Loading…
Reference in New Issue
Block a user