]> granicus.if.org Git - libvpx/commitdiff
vp8dx_get_quantizer: normalize VP8D_COMP
authorJohann <johann.koenig@duck.com>
Wed, 31 Oct 2018 21:13:45 +0000 (14:13 -0700)
committerJohann <johann.koenig@duck.com>
Wed, 31 Oct 2018 21:13:55 +0000 (14:13 -0700)
Use "pbi" like the rest of the functions

Change-Id: I5f3036b8f8361c30353be378d83455b83b82ac9f

vp8/common/onyxd.h
vp8/decoder/onyxd_if.c

index a52af6b62091869fb0531186cd835887bd672086..801ef87b20f6cd22678c2333904d33d355f425ff 100644 (file)
@@ -54,7 +54,7 @@ vpx_codec_err_t vp8dx_get_reference(struct VP8D_COMP *pbi,
 vpx_codec_err_t vp8dx_set_reference(struct VP8D_COMP *pbi,
                                     enum vpx_ref_frame_type ref_frame_flag,
                                     YV12_BUFFER_CONFIG *sd);
-int vp8dx_get_quantizer(const struct VP8D_COMP *cpi);
+int vp8dx_get_quantizer(const struct VP8D_COMP *pbi);
 
 #ifdef __cplusplus
 }
index f516eb0c78b353070b8646790d6fa0e5946afdc5..ddcc5462146ddaf647ea56bb90e16478677887f5 100644 (file)
@@ -471,6 +471,6 @@ int vp8_remove_decoder_instances(struct frame_buffers *fb) {
   return VPX_CODEC_OK;
 }
 
-int vp8dx_get_quantizer(const VP8D_COMP *cpi) {
-  return cpi->common.base_qindex;
+int vp8dx_get_quantizer(const VP8D_COMP *pbi) {
+  return pbi->common.base_qindex;
 }