diff options
author | Tero Rintaluoma <teror@google.com> | 2011-03-07 11:12:56 +0200 |
---|---|---|
committer | Tero Rintaluoma <teror@google.com> | 2011-03-11 10:48:42 +0200 |
commit | 7ab08e1feeaf876eea0cc8085c9c4f1534eab9d0 (patch) | |
tree | 508a738c2796ce4ec8704b374227cf01754ef7b3 /vp8/encoder/asm_enc_offsets.c | |
parent | 3fae3283e6037a0b20f5e32402ba8e50d7ef859e (diff) | |
download | libvpx-7ab08e1feeaf876eea0cc8085c9c4f1534eab9d0.tar libvpx-7ab08e1feeaf876eea0cc8085c9c4f1534eab9d0.tar.gz libvpx-7ab08e1feeaf876eea0cc8085c9c4f1534eab9d0.tar.bz2 libvpx-7ab08e1feeaf876eea0cc8085c9c4f1534eab9d0.zip |
ARMv6 optimized quantization
Adds new ARMv6 optimized function vp8_fast_quantize_b_armv6
to the encoder.
Change-Id: I40277ec8f82e8a6cbc453cf295a0cc9b2504b21e
Diffstat (limited to 'vp8/encoder/asm_enc_offsets.c')
-rw-r--r-- | vp8/encoder/asm_enc_offsets.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vp8/encoder/asm_enc_offsets.c b/vp8/encoder/asm_enc_offsets.c index cd4953227..fcf77756a 100644 --- a/vp8/encoder/asm_enc_offsets.c +++ b/vp8/encoder/asm_enc_offsets.c @@ -65,6 +65,17 @@ DEFINE(TOKENLIST_SZ, sizeof(TOKENLIST)); DEFINE(vp8_common_mb_rows, offsetof(VP8_COMMON, mb_rows)); +// offsets from BLOCK structure +DEFINE(vp8_block_coeff, offsetof(BLOCK, coeff)); +DEFINE(vp8_block_quant_fast, offsetof(BLOCK, quant_fast)); +DEFINE(vp8_block_round, offsetof(BLOCK, round)); + +// offsets from BLOCKD structure +DEFINE(vp8_blockd_qcoeff, offsetof(BLOCKD, qcoeff)); +DEFINE(vp8_blockd_dqcoeff, offsetof(BLOCKD, dqcoeff)); +DEFINE(vp8_blockd_dequant, offsetof(BLOCKD, dequant)); +DEFINE(vp8_blockd_eob, offsetof(BLOCKD, eob)); + // These two sizes are used in vp8cx_pack_tokens. They are hard coded // so if the size changes this will have to be adjusted. #if HAVE_ARMV5TE |