]> granicus.if.org Git - libvpx/commitdiff
clang-tidy: fix vp8/decoder parameters
authorJohann <johann.koenig@duck.com>
Tue, 30 Oct 2018 17:55:21 +0000 (10:55 -0700)
committerJohann <johann.koenig@duck.com>
Tue, 30 Oct 2018 17:55:21 +0000 (10:55 -0700)
BUG=webm:1444

Change-Id: I3dfc56f7f6430d36a1c447d8999733015a001101

vp8/common/onyxd.h
vp8/decoder/onyxd_int.h

index 49f524bb34d35450310f473eefb9414d84b57b65..a52af6b62091869fb0531186cd835887bd672086 100644 (file)
@@ -41,20 +41,20 @@ void vp8dx_set_setting(struct VP8D_COMP *comp, VP8D_SETTING oxst, int x);
 
 int vp8dx_get_setting(struct VP8D_COMP *comp, VP8D_SETTING oxst);
 
-int vp8dx_receive_compressed_data(struct VP8D_COMP *comp, size_t size,
-                                  const uint8_t *dest, int64_t time_stamp);
-int vp8dx_get_raw_frame(struct VP8D_COMP *comp, YV12_BUFFER_CONFIG *sd,
+int vp8dx_receive_compressed_data(struct VP8D_COMP *pbi, size_t size,
+                                  const uint8_t *source, int64_t time_stamp);
+int vp8dx_get_raw_frame(struct VP8D_COMP *pbi, YV12_BUFFER_CONFIG *sd,
                         int64_t *time_stamp, int64_t *time_end_stamp,
                         vp8_ppflags_t *flags);
 int vp8dx_references_buffer(struct VP8Common *oci, int ref_frame);
 
-vpx_codec_err_t vp8dx_get_reference(struct VP8D_COMP *comp,
+vpx_codec_err_t vp8dx_get_reference(struct VP8D_COMP *pbi,
                                     enum vpx_ref_frame_type ref_frame_flag,
                                     YV12_BUFFER_CONFIG *sd);
-vpx_codec_err_t vp8dx_set_reference(struct VP8D_COMP *comp,
+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 *c);
+int vp8dx_get_quantizer(const struct VP8D_COMP *cpi);
 
 #ifdef __cplusplus
 }
index bdf990c6d8f733c748709becffc06c2778186036..5e1687d1a681da934c5f96219c3d24db9e1fe2b0 100644 (file)
@@ -122,7 +122,7 @@ typedef struct VP8D_COMP {
 
 void vp8cx_init_de_quantizer(VP8D_COMP *pbi);
 void vp8_mb_init_dequantizer(VP8D_COMP *pbi, MACROBLOCKD *xd);
-int vp8_decode_frame(VP8D_COMP *cpi);
+int vp8_decode_frame(VP8D_COMP *pbi);
 
 int vp8_create_decoder_instances(struct frame_buffers *fb, VP8D_CONFIG *oxcf);
 int vp8_remove_decoder_instances(struct frame_buffers *fb);