]> granicus.if.org Git - libvpx/commitdiff
Remove unused DETOK structure
authorTero Rintaluoma <teror@google.com>
Thu, 20 Oct 2011 10:22:18 +0000 (13:22 +0300)
committerTero Rintaluoma <teror@google.com>
Fri, 21 Oct 2011 06:33:49 +0000 (09:33 +0300)
DETOK structure is not used anymore.

Change-Id: Id22e1af78fb85d4bb151237a60290d9364faf217

vp8/decoder/asm_dec_offsets.c
vp8/decoder/onyxd_int.h

index 1a6090b2bfdc51c9346cc65a9a55938482942943..842a0d574006c552e06bbcfbf72b6a435d78f9c8 100644 (file)
 
 BEGIN
 
-DEFINE(detok_scan,                              offsetof(DETOK, scan));
-DEFINE(detok_ptr_block2leftabove,               offsetof(DETOK, ptr_block2leftabove));
-DEFINE(detok_coef_tree_ptr,                     offsetof(DETOK, vp8_coef_tree_ptr));
-DEFINE(detok_norm_ptr,                          offsetof(DETOK, norm_ptr));
-DEFINE(detok_ptr_coef_bands_x,                  offsetof(DETOK, ptr_coef_bands_x));
-
-DEFINE(detok_A,                                 offsetof(DETOK, A));
-DEFINE(detok_L,                                 offsetof(DETOK, L));
-
-DEFINE(detok_qcoeff_start_ptr,                  offsetof(DETOK, qcoeff_start_ptr));
-DEFINE(detok_current_bc,                        offsetof(DETOK, current_bc));
-DEFINE(detok_coef_probs,                        offsetof(DETOK, coef_probs));
-DEFINE(detok_eob,                               offsetof(DETOK, eob));
-
 DEFINE(bool_decoder_user_buffer_end,            offsetof(BOOL_DECODER, user_buffer_end));
 DEFINE(bool_decoder_user_buffer,                offsetof(BOOL_DECODER, user_buffer));
 DEFINE(bool_decoder_value,                      offsetof(BOOL_DECODER, value));
index a84f169141fdcd0c978080819f110742767f3c01..bc00831a45add3373447a9d52bd7ce52e8ae731d 100644 (file)
@@ -42,25 +42,6 @@ typedef struct
     int size;
 } DATARATE;
 
-typedef struct
-{
-    int const *scan;
-    UINT8 const *ptr_block2leftabove;
-    vp8_tree_index const *vp8_coef_tree_ptr;
-    unsigned char *norm_ptr;
-    UINT8 *ptr_coef_bands_x;
-
-    ENTROPY_CONTEXT_PLANES *A;
-    ENTROPY_CONTEXT_PLANES *L;
-
-    INT16 *qcoeff_start_ptr;
-    BOOL_DECODER *current_bc;
-
-    vp8_prob const *coef_probs[4];
-
-    UINT8 eob[25];
-
-} DETOK;
 
 typedef struct VP8Decompressor
 {
@@ -114,8 +95,6 @@ typedef struct VP8Decompressor
 
     DATARATE dr[16];
 
-    DETOK detoken;
-
 #if CONFIG_RUNTIME_CPU_DETECT
     vp8_dequant_rtcd_vtable_t        dequant;
 #endif