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
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#include "vpx_ports/config.h"
|
|
|
|
#include <stddef.h>
|
|
|
|
|
|
|
|
#include "onyxd_int.h"
|
|
|
|
|
|
|
|
#define DEFINE(sym, val) int sym = val;
|
|
|
|
|
|
|
|
/*
|
|
|
|
#define BLANK() asm volatile("\n->" : : )
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* int main(void)
|
|
|
|
* {
|
|
|
|
*/
|
|
|
|
|
|
|
|
DEFINE(detok_scan, offsetof(DETOK, scan));
|
2010-08-26 22:11:30 +02:00
|
|
|
DEFINE(detok_ptr_block2leftabove, offsetof(DETOK, ptr_block2leftabove));
|
|
|
|
DEFINE(detok_coef_tree_ptr, offsetof(DETOK, vp8_coef_tree_ptr));
|
2010-08-11 19:36:35 +02:00
|
|
|
DEFINE(detok_teb_base_ptr, offsetof(DETOK, teb_base_ptr));
|
|
|
|
DEFINE(detok_norm_ptr, offsetof(DETOK, norm_ptr));
|
2010-08-26 22:11:30 +02:00
|
|
|
DEFINE(detok_ptr_coef_bands_x, offsetof(DETOK, ptr_coef_bands_x));
|
2010-05-18 17:58:33 +02:00
|
|
|
|
2010-08-11 19:36:35 +02:00
|
|
|
DEFINE(detok_A, offsetof(DETOK, A));
|
|
|
|
DEFINE(detok_L, offsetof(DETOK, L));
|
2010-05-18 17:58:33 +02:00
|
|
|
|
2010-08-11 19:36:35 +02:00
|
|
|
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));
|
2010-05-18 17:58:33 +02:00
|
|
|
DEFINE(detok_eob, offsetof(DETOK, eob));
|
|
|
|
|
2010-05-05 23:58:19 +02:00
|
|
|
DEFINE(bool_decoder_user_buffer_end, offsetof(BOOL_DECODER, user_buffer_end));
|
|
|
|
DEFINE(bool_decoder_user_buffer, offsetof(BOOL_DECODER, user_buffer));
|
2010-05-18 17:58:33 +02:00
|
|
|
DEFINE(bool_decoder_value, offsetof(BOOL_DECODER, value));
|
|
|
|
DEFINE(bool_decoder_count, offsetof(BOOL_DECODER, count));
|
2010-05-05 23:58:19 +02:00
|
|
|
DEFINE(bool_decoder_range, offsetof(BOOL_DECODER, range));
|
2010-05-18 17:58:33 +02:00
|
|
|
|
2010-08-11 19:36:35 +02:00
|
|
|
DEFINE(tokenextrabits_min_val, offsetof(TOKENEXTRABITS, min_val));
|
2010-05-18 17:58:33 +02:00
|
|
|
DEFINE(tokenextrabits_length, offsetof(TOKENEXTRABITS, Length));
|
|
|
|
|
|
|
|
//add asserts for any offset that is not supported by assembly code
|
|
|
|
//add asserts for any size that is not supported by assembly code
|
|
|
|
/*
|
|
|
|
* return 0;
|
|
|
|
* }
|
|
|
|
*/
|