diff options
author | James Zern <jzern@google.com> | 2015-10-16 16:47:38 -0700 |
---|---|---|
committer | James Zern <jzern@google.com> | 2015-10-16 17:02:36 -0700 |
commit | a046f56491b2c2a383491d0b5eae032c57d91eb9 (patch) | |
tree | c20de23d18ee782d7d638e6e0aa2ec40cf34246a /vp9/vp9_cx_iface.c | |
parent | 7dd7a7da206bddb7d3d3deffa23984719bb89d87 (diff) | |
download | libvpx-a046f56491b2c2a383491d0b5eae032c57d91eb9.tar libvpx-a046f56491b2c2a383491d0b5eae032c57d91eb9.tar.gz libvpx-a046f56491b2c2a383491d0b5eae032c57d91eb9.tar.bz2 libvpx-a046f56491b2c2a383491d0b5eae032c57d91eb9.zip |
vp8cx: remove deprecated reference/entropy controls
VP8E_UPD_ENTROPY, VP8E_UPD_REFERENCE and VP8E_USE_REFERENCE have been
deprecated since the initial public release
Change-Id: Ied16b441eec13434d85f1ab115d49ccaf5f2f7b0
Diffstat (limited to 'vp9/vp9_cx_iface.c')
-rw-r--r-- | vp9/vp9_cx_iface.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/vp9/vp9_cx_iface.c b/vp9/vp9_cx_iface.c index e36a04475..444c8c11d 100644 --- a/vp9/vp9_cx_iface.c +++ b/vp9/vp9_cx_iface.c @@ -1266,30 +1266,6 @@ static vpx_image_t *encoder_get_preview(vpx_codec_alg_priv_t *ctx) { } } -static vpx_codec_err_t ctrl_update_entropy(vpx_codec_alg_priv_t *ctx, - va_list args) { - const int update = va_arg(args, int); - - vp9_update_entropy(ctx->cpi, update); - return VPX_CODEC_OK; -} - -static vpx_codec_err_t ctrl_update_reference(vpx_codec_alg_priv_t *ctx, - va_list args) { - const int ref_frame_flags = va_arg(args, int); - - vp9_update_reference(ctx->cpi, ref_frame_flags); - return VPX_CODEC_OK; -} - -static vpx_codec_err_t ctrl_use_reference(vpx_codec_alg_priv_t *ctx, - va_list args) { - const int reference_flag = va_arg(args, int); - - vp9_use_as_reference(ctx->cpi, reference_flag); - return VPX_CODEC_OK; -} - static vpx_codec_err_t ctrl_set_roi_map(vpx_codec_alg_priv_t *ctx, va_list args) { (void)ctx; @@ -1482,9 +1458,6 @@ static vpx_codec_err_t ctrl_set_render_size(vpx_codec_alg_priv_t *ctx, static vpx_codec_ctrl_fn_map_t encoder_ctrl_maps[] = { {VP8_COPY_REFERENCE, ctrl_copy_reference}, - {VP8E_UPD_ENTROPY, ctrl_update_entropy}, - {VP8E_UPD_REFERENCE, ctrl_update_reference}, - {VP8E_USE_REFERENCE, ctrl_use_reference}, // Setters {VP8_SET_REFERENCE, ctrl_set_reference}, |