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
1515
1616 API changes, most recent first:
1717
18+2013-10-xx - xxxxxxx -libswscale 2.5.101 - options.c
19+ Change default scaler to bicubic
20+
1821 2013-10-03 - xxxxxxx - lavc 55.34.100 - avcodec.h
1922 Add av_codec_get_max_lowres()
2023
libswscale/options.c+1−1
@@ -34,7 +34,7 @@ static const char *sws_context_to_name(void *ptr) · 33 unmodified lines
3434 #define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM
3535
3636 static 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" },
3838 { "fast_bilinear", "fast bilinear", 0, AV_OPT_TYPE_CONST, { .i64 = SWS_FAST_BILINEAR }, INT_MIN, INT_MAX, VE, "sws_flags" },
3939 { "bilinear", "bilinear", 0, AV_OPT_TYPE_CONST, { .i64 = SWS_BILINEAR }, INT_MIN, INT_MAX, VE, "sws_flags" },
4040 { "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
2828
2929 #define LIBSWSCALE_VERSION_MAJOR 2
3030 #define LIBSWSCALE_VERSION_MINOR 5
31−#define LIBSWSCALE_VERSION_MICRO 100
31+#define LIBSWSCALE_VERSION_MICRO 101
3232
3333 #define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \
3434 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