From bdb4fb89912e22e32d0aa3e0d930697a888c8c2c Mon Sep 17 00:00:00 2001 From: Tero Rintaluoma <teror@google.com> Date: Thu, 20 Oct 2011 13:22:18 +0300 Subject: [PATCH] Remove unused DETOK structure DETOK structure is not used anymore. Change-Id: Id22e1af78fb85d4bb151237a60290d9364faf217 --- vp8/decoder/asm_dec_offsets.c | 14 -------------- vp8/decoder/onyxd_int.h | 21 --------------------- 2 files changed, 35 deletions(-) diff --git a/vp8/decoder/asm_dec_offsets.c b/vp8/decoder/asm_dec_offsets.c index 1a6090b2bf..842a0d5740 100644 --- a/vp8/decoder/asm_dec_offsets.c +++ b/vp8/decoder/asm_dec_offsets.c @@ -14,20 +14,6 @@ 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)); diff --git a/vp8/decoder/onyxd_int.h b/vp8/decoder/onyxd_int.h index a84f169141..bc00831a45 100644 --- a/vp8/decoder/onyxd_int.h +++ b/vp8/decoder/onyxd_int.h @@ -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 -- GitLab