summaryrefslogtreecommitdiff
path: root/vp8
diff options
context:
space:
mode:
authorYunqing Wang <yunqingwang@google.com>2012-07-12 08:23:12 -0700
committerYunqing Wang <yunqingwang@google.com>2012-07-13 10:45:29 -0700
commita6f4fc5a93be96700eb53d2b70b498a8c28edf97 (patch)
tree45295ceef620d245f5436d48bef25bc293d6b42b /vp8
parent827e22c732cc31fbfb46c4ef4dd15bb322192472 (diff)
downloadlibvpx-a6f4fc5a93be96700eb53d2b70b498a8c28edf97.tar
libvpx-a6f4fc5a93be96700eb53d2b70b498a8c28edf97.tar.gz
libvpx-a6f4fc5a93be96700eb53d2b70b498a8c28edf97.tar.bz2
libvpx-a6f4fc5a93be96700eb53d2b70b498a8c28edf97.zip
Remove unused parameter in encoder interface code
Removed encoding_mode, which is not used anymore. Change-Id: I569b2d4afe4d2f57bda8248615108c7cfc40134c
Diffstat (limited to 'vp8')
-rw-r--r--vp8/vp8_cx_iface.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/vp8/vp8_cx_iface.c b/vp8/vp8_cx_iface.c
index c7688ad7a..614436bd4 100644
--- a/vp8/vp8_cx_iface.c
+++ b/vp8/vp8_cx_iface.c
@@ -23,7 +23,6 @@
struct vp8_extracfg
{
struct vpx_codec_pkt_list *pkt_list;
- vp8e_encoding_mode encoding_mode; /** best, good, realtime */
int cpu_used; /** available cpu percentage in 1/16*/
unsigned int enable_auto_alt_ref; /** if encoder decides to uses alternate reference frame */
unsigned int noise_sensitivity;
@@ -52,10 +51,8 @@ static const struct extraconfig_map extracfg_map[] =
{
NULL,
#if !(CONFIG_REALTIME_ONLY)
- VP8_BEST_QUALITY_ENCODING, /* Encoding Mode */
0, /* cpu_used */
#else
- VP8_REAL_TIME_ENCODING, /* Encoding Mode */
4, /* cpu_used */
#endif
0, /* enable_auto_alt_ref */
@@ -178,11 +175,6 @@ static vpx_codec_err_t validate_config(vpx_codec_alg_priv_t *ctx,
RANGE_CHECK_BOOL(vp8_cfg, enable_auto_alt_ref);
RANGE_CHECK(vp8_cfg, cpu_used, -16, 16);
-#if !(CONFIG_REALTIME_ONLY)
- RANGE_CHECK(vp8_cfg, encoding_mode, VP8_BEST_QUALITY_ENCODING, VP8_REAL_TIME_ENCODING);
-#else
- RANGE_CHECK(vp8_cfg, encoding_mode, VP8_REAL_TIME_ENCODING, VP8_REAL_TIME_ENCODING);
-#endif
#if CONFIG_REALTIME_ONLY && !CONFIG_TEMPORAL_DENOISING
RANGE_CHECK(vp8_cfg, noise_sensitivity, 0, 0);