From 8d449ce0a919dad33a0ec0ba03368e8449317851 Mon Sep 17 00:00:00 2001 From: Frank Galligan <fgalligan@google.com> Date: Fri, 7 Dec 2012 15:29:18 -0800 Subject: [PATCH] Remove unused symbols from vp9 asm offsets C files. Change-Id: I366e6d175da3012f1c8607fd7fad99fbbb616091 --- vp9/decoder/vp9_asm_dec_offsets.c | 19 -------------- vp9/encoder/vp9_asm_enc_offsets.c | 41 ------------------------------- 2 files changed, 60 deletions(-) diff --git a/vp9/decoder/vp9_asm_dec_offsets.c b/vp9/decoder/vp9_asm_dec_offsets.c index 5abc40f8cc..e4b9c97af9 100644 --- a/vp9/decoder/vp9_asm_dec_offsets.c +++ b/vp9/decoder/vp9_asm_dec_offsets.c @@ -14,25 +14,6 @@ BEGIN -DEFINE(detok_scan, offsetof(DETOK, scan)); -DEFINE(detok_ptr_block2leftabove, offsetof(DETOK, ptr_block2leftabove)); -DEFINE(detok_coef_tree_ptr, offsetof(DETOK, vp9_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_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)); -DEFINE(bool_decoder_count, offsetof(BOOL_DECODER, count)); -DEFINE(bool_decoder_range, offsetof(BOOL_DECODER, range)); - END /* add asserts for any offset that is not supported by assembly code */ diff --git a/vp9/encoder/vp9_asm_enc_offsets.c b/vp9/encoder/vp9_asm_enc_offsets.c index 30431ff8c7..71fad2e075 100644 --- a/vp9/encoder/vp9_asm_enc_offsets.c +++ b/vp9/encoder/vp9_asm_enc_offsets.c @@ -34,47 +34,6 @@ DEFINE(vp9_blockd_dequant, offsetof(BLOCKD, dequant)); DEFINE(vp9_blockd_dqcoeff, offsetof(BLOCKD, dqcoeff)); DEFINE(vp9_blockd_eob, offsetof(BLOCKD, eob)); -/* subtract */ -DEFINE(vp9_block_base_src, offsetof(BLOCK, base_src)); -DEFINE(vp9_block_src, offsetof(BLOCK, src)); -DEFINE(vp9_block_src_diff, offsetof(BLOCK, src_diff)); -DEFINE(vp9_block_src_stride, offsetof(BLOCK, src_stride)); - -DEFINE(vp9_blockd_predictor, offsetof(BLOCKD, predictor)); - -/* pack tokens */ -DEFINE(vp9_writer_lowvalue, offsetof(vp9_writer, lowvalue)); -DEFINE(vp9_writer_range, offsetof(vp9_writer, range)); -DEFINE(vp9_writer_value, offsetof(vp9_writer, value)); -DEFINE(vp9_writer_count, offsetof(vp9_writer, count)); -DEFINE(vp9_writer_pos, offsetof(vp9_writer, pos)); -DEFINE(vp9_writer_buffer, offsetof(vp9_writer, buffer)); - -DEFINE(tokenextra_token, offsetof(TOKENEXTRA, Token)); -DEFINE(tokenextra_extra, offsetof(TOKENEXTRA, Extra)); -DEFINE(tokenextra_context_tree, offsetof(TOKENEXTRA, context_tree)); -DEFINE(tokenextra_skip_eob_node, offsetof(TOKENEXTRA, skip_eob_node)); -DEFINE(TOKENEXTRA_SZ, sizeof(TOKENEXTRA)); - -DEFINE(vp9_extra_bit_struct_sz, sizeof(vp9_extra_bit_struct)); - -DEFINE(vp9_token_value, offsetof(vp9_token, value)); -DEFINE(vp9_token_len, offsetof(vp9_token, Len)); - -DEFINE(vp9_extra_bit_struct_tree, offsetof(vp9_extra_bit_struct, tree)); -DEFINE(vp9_extra_bit_struct_prob, offsetof(vp9_extra_bit_struct, prob)); -DEFINE(vp9_extra_bit_struct_len, offsetof(vp9_extra_bit_struct, Len)); -DEFINE(vp9_extra_bit_struct_base_val, offsetof(vp9_extra_bit_struct, base_val)); - -DEFINE(vp9_comp_tplist, offsetof(VP9_COMP, tplist)); -DEFINE(vp9_comp_common, offsetof(VP9_COMP, common)); - -DEFINE(tokenlist_start, offsetof(TOKENLIST, start)); -DEFINE(tokenlist_stop, offsetof(TOKENLIST, stop)); -DEFINE(TOKENLIST_SZ, sizeof(TOKENLIST)); - -DEFINE(vp9_common_mb_rows, offsetof(VP9_COMMON, mb_rows)); - END /* add asserts for any offset that is not supported by assembly code -- GitLab