OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright (c) 2011 The WebM project authors. All Rights Reserved. |
| 3 * |
| 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ |
| 10 |
| 11 |
| 12 #include "vpx_ports/asm_offsets.h" |
| 13 #include "vpx_config.h" |
| 14 #include "vp9/encoder/vp9_block.h" |
| 15 #include "vp9/common/vp9_blockd.h" |
| 16 #include "vp9/encoder/vp9_onyx_int.h" |
| 17 #include "vp9/encoder/vp9_treewriter.h" |
| 18 #include "vp9/encoder/vp9_tokenize.h" |
| 19 |
| 20 BEGIN |
| 21 |
| 22 /* regular quantize */ |
| 23 DEFINE(vp9_block_coeff, offsetof(BLOCK, coeff)); |
| 24 DEFINE(vp9_block_zbin, offsetof(BLOCK, zbin)); |
| 25 DEFINE(vp9_block_round, offsetof(BLOCK, round)); |
| 26 DEFINE(vp9_block_quant, offsetof(BLOCK, quant)); |
| 27 DEFINE(vp9_block_quant_fast, offsetof(BLOCK, quant_fast)); |
| 28 DEFINE(vp9_block_zbin_extra, offsetof(BLOCK, zbin_extra)); |
| 29 DEFINE(vp9_block_zrun_zbin_boost, offsetof(BLOCK, zrun_zbin_boost)
); |
| 30 DEFINE(vp9_block_quant_shift, offsetof(BLOCK, quant_shift)); |
| 31 |
| 32 DEFINE(vp9_blockd_qcoeff, offsetof(BLOCKD, qcoeff)); |
| 33 DEFINE(vp9_blockd_dequant, offsetof(BLOCKD, dequant)); |
| 34 DEFINE(vp9_blockd_dqcoeff, offsetof(BLOCKD, dqcoeff)); |
| 35 DEFINE(vp9_blockd_eob, offsetof(BLOCKD, eob)); |
| 36 |
| 37 END |
| 38 |
| 39 /* add asserts for any offset that is not supported by assembly code |
| 40 * add asserts for any size that is not supported by assembly code |
| 41 */ |
OLD | NEW |