]> granicus.if.org Git - libvpx/commitdiff
Renaming VP9D_CONFIG to VP9DecoderConfig.
authorDmitry Kovalev <dkovalev@google.com>
Fri, 11 Apr 2014 21:50:11 +0000 (14:50 -0700)
committerDmitry Kovalev <dkovalev@google.com>
Fri, 11 Apr 2014 21:50:11 +0000 (14:50 -0700)
Change-Id: I9677aab1c7bb0ca9e989cb21348a3a2c926d8f5a

vp9/decoder/vp9_decoder.c
vp9/decoder/vp9_decoder.h
vp9/vp9_dx_iface.c

index 56dbc99ed1510398760133796a78b45836914ce8..faf710c24b2f2db12543c084471855329f8c6765 100644 (file)
@@ -110,7 +110,7 @@ void vp9_initialize_dec() {
   }
 }
 
-VP9Decoder *vp9_decoder_create(const VP9D_CONFIG *oxcf) {
+VP9Decoder *vp9_decoder_create(const VP9DecoderConfig *oxcf) {
   VP9Decoder *const pbi = vpx_memalign(32, sizeof(*pbi));
   VP9_COMMON *const cm = pbi ? &pbi->common : NULL;
 
index b8250c2bba17d896f9534e0150f1cf7f751d1ea6..800f5d33793a2437be631ad15a7a9fd539491c52 100644 (file)
 extern "C" {
 #endif
 
-typedef struct {
+typedef struct VP9DecoderConfig {
   int width;
   int height;
   int version;
   int max_threads;
   int inv_tile_order;
-} VP9D_CONFIG;
+} VP9DecoderConfig;
 
 typedef struct VP9Decoder {
   DECLARE_ALIGNED(16, MACROBLOCKD, mb);
 
   DECLARE_ALIGNED(16, VP9_COMMON, common);
 
-  VP9D_CONFIG oxcf;
+  VP9DecoderConfig oxcf;
 
   int64_t last_time_stamp;
   int ready_for_new_data;
@@ -81,7 +81,7 @@ int vp9_get_reference_dec(struct VP9Decoder *pbi,
                           int index, YV12_BUFFER_CONFIG **fb);
 
 
-struct VP9Decoder *vp9_decoder_create(const VP9D_CONFIG *oxcf);
+struct VP9Decoder *vp9_decoder_create(const VP9DecoderConfig *oxcf);
 
 void vp9_decoder_remove(struct VP9Decoder *pbi);
 
index 5ed7484ab3163bc762f6e00b712af6e2f88f7cfd..1cd3b03d217ea0214fa0d0fee4a7c19f96400250 100644 (file)
@@ -227,7 +227,7 @@ static void set_ppflags(const vpx_codec_alg_priv_t *ctx,
 }
 
 static void init_decoder(vpx_codec_alg_priv_t *ctx) {
-  VP9D_CONFIG oxcf;
+  VP9DecoderConfig oxcf;
   oxcf.width = ctx->si.w;
   oxcf.height = ctx->si.h;
   oxcf.version = 9;