2010-05-18 17:58:33 +02:00
|
|
|
/*
|
2011-02-04 23:44:31 +01:00
|
|
|
* Copyright (c) 2011 The WebM project authors. All Rights Reserved.
|
2010-05-18 17:58:33 +02:00
|
|
|
*
|
2010-06-18 18:39:21 +02:00
|
|
|
* Use of this source code is governed by a BSD-style license
|
2010-06-04 22:19:40 +02:00
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
2010-06-18 18:39:21 +02:00
|
|
|
* in the file PATENTS. All contributing project authors may
|
2010-06-04 22:19:40 +02:00
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
2010-05-18 17:58:33 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
2011-06-08 20:43:34 +02:00
|
|
|
#include "vpx_ports/asm_offsets.h"
|
|
|
|
#include "vpx_config.h"
|
2012-11-28 19:41:40 +01:00
|
|
|
#include "vp9/encoder/vp9_block.h"
|
2012-11-27 22:59:17 +01:00
|
|
|
#include "vp9/common/vp9_blockd.h"
|
2012-11-28 19:41:40 +01:00
|
|
|
#include "vp9/encoder/vp9_onyx_int.h"
|
|
|
|
#include "vp9/encoder/vp9_treewriter.h"
|
|
|
|
#include "vp9/encoder/vp9_tokenize.h"
|
2010-05-18 17:58:33 +02:00
|
|
|
|
2011-06-08 20:43:34 +02:00
|
|
|
BEGIN
|
2010-05-18 17:58:33 +02:00
|
|
|
|
2011-06-08 20:43:34 +02:00
|
|
|
/* regular quantize */
|
2012-10-31 01:12:12 +01:00
|
|
|
DEFINE(vp9_block_coeff, offsetof(BLOCK, coeff));
|
|
|
|
DEFINE(vp9_block_zbin, offsetof(BLOCK, zbin));
|
|
|
|
DEFINE(vp9_block_round, offsetof(BLOCK, round));
|
|
|
|
DEFINE(vp9_block_quant, offsetof(BLOCK, quant));
|
|
|
|
DEFINE(vp9_block_quant_fast, offsetof(BLOCK, quant_fast));
|
|
|
|
DEFINE(vp9_block_zbin_extra, offsetof(BLOCK, zbin_extra));
|
|
|
|
DEFINE(vp9_block_zrun_zbin_boost, offsetof(BLOCK, zrun_zbin_boost));
|
|
|
|
DEFINE(vp9_block_quant_shift, offsetof(BLOCK, quant_shift));
|
|
|
|
|
|
|
|
DEFINE(vp9_blockd_qcoeff, offsetof(BLOCKD, qcoeff));
|
|
|
|
DEFINE(vp9_blockd_dequant, offsetof(BLOCKD, dequant));
|
|
|
|
DEFINE(vp9_blockd_dqcoeff, offsetof(BLOCKD, dqcoeff));
|
2011-02-10 20:57:43 +01:00
|
|
|
|
2011-06-08 20:43:34 +02:00
|
|
|
END
|
|
|
|
|
|
|
|
/* add asserts for any offset that is not supported by assembly code
|
|
|
|
* add asserts for any size that is not supported by assembly code
|
|
|
|
*/
|