History

swscale/options: switch default to bicubic

Michael Niedermayer committed 13 years ago

Commit ccf96f81 parent 6853e403 files · +5 −2Browse files

Unified · Split

3 files
  1. doc/APIchanges +3 −0
  2. libswscale/options.c +1 −1
  3. libswscale/version.h +1 −1
doc/APIchanges+3−0
@@ -15,6 +15,9 @@ libavutil: 2012-10-22 · 14 unmodified lines
15 15
16API changes, most recent first:16API changes, most recent first:
17 17
182013-10-xx - xxxxxxx -libswscale 2.5.101 - options.c
19 Change default scaler to bicubic
20
182013-10-03 - xxxxxxx - lavc 55.34.100 - avcodec.h212013-10-03 - xxxxxxx - lavc 55.34.100 - avcodec.h
19 Add av_codec_get_max_lowres()22 Add av_codec_get_max_lowres()
20 23
libswscale/options.c+1−1
@@ -34,7 +34,7 @@ static const char *sws_context_to_name(void *ptr) · 33 unmodified lines
34#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM34#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM
35 35
36static const AVOption swscale_options[] = {36static const AVOption swscale_options[] = {
37 { "sws_flags", "scaler flags", OFFSET(flags), AV_OPT_TYPE_FLAGS, { .i64 = SWS_BILINEAR }, 0, UINT_MAX, VE, "sws_flags" },37 { "sws_flags", "scaler flags", OFFSET(flags), AV_OPT_TYPE_FLAGS, { .i64 = SWS_BICUBIC }, 0, UINT_MAX, VE, "sws_flags" },
38 { "fast_bilinear", "fast bilinear", 0, AV_OPT_TYPE_CONST, { .i64 = SWS_FAST_BILINEAR }, INT_MIN, INT_MAX, VE, "sws_flags" },38 { "fast_bilinear", "fast bilinear", 0, AV_OPT_TYPE_CONST, { .i64 = SWS_FAST_BILINEAR }, INT_MIN, INT_MAX, VE, "sws_flags" },
39 { "bilinear", "bilinear", 0, AV_OPT_TYPE_CONST, { .i64 = SWS_BILINEAR }, INT_MIN, INT_MAX, VE, "sws_flags" },39 { "bilinear", "bilinear", 0, AV_OPT_TYPE_CONST, { .i64 = SWS_BILINEAR }, INT_MIN, INT_MAX, VE, "sws_flags" },
40 { "bicubic", "bicubic", 0, AV_OPT_TYPE_CONST, { .i64 = SWS_BICUBIC }, INT_MIN, INT_MAX, VE, "sws_flags" },40 { "bicubic", "bicubic", 0, AV_OPT_TYPE_CONST, { .i64 = SWS_BICUBIC }, INT_MIN, INT_MAX, VE, "sws_flags" },
libswscale/version.h+1−1
@@ -28,7 +28,7 @@ · 27 unmodified lines
28 28
29#define LIBSWSCALE_VERSION_MAJOR 229#define LIBSWSCALE_VERSION_MAJOR 2
30#define LIBSWSCALE_VERSION_MINOR 530#define LIBSWSCALE_VERSION_MINOR 5
31#define LIBSWSCALE_VERSION_MICRO 10031#define LIBSWSCALE_VERSION_MICRO 101
32 32
33#define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \33#define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \
34 LIBSWSCALE_VERSION_MINOR, \34 LIBSWSCALE_VERSION_MINOR, \

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