| Index: source/libvpx/vp8/decoder/asm_dec_offsets.c
|
| ===================================================================
|
| --- source/libvpx/vp8/decoder/asm_dec_offsets.c (revision 96967)
|
| +++ source/libvpx/vp8/decoder/asm_dec_offsets.c (working copy)
|
| @@ -9,26 +9,14 @@
|
| */
|
|
|
|
|
| -#include "vpx_ports/config.h"
|
| -#include <stddef.h>
|
| -
|
| +#include "vpx_ports/asm_offsets.h"
|
| #include "onyxd_int.h"
|
|
|
| -#define DEFINE(sym, val) int sym = val;
|
| +BEGIN
|
|
|
| -/*
|
| -#define BLANK() asm volatile("\n->" : : )
|
| -*/
|
| -
|
| -/*
|
| - * int main(void)
|
| - * {
|
| - */
|
| -
|
| DEFINE(detok_scan, offsetof(DETOK, scan));
|
| DEFINE(detok_ptr_block2leftabove, offsetof(DETOK, ptr_block2leftabove));
|
| DEFINE(detok_coef_tree_ptr, offsetof(DETOK, vp8_coef_tree_ptr));
|
| -DEFINE(detok_teb_base_ptr, offsetof(DETOK, teb_base_ptr));
|
| DEFINE(detok_norm_ptr, offsetof(DETOK, norm_ptr));
|
| DEFINE(detok_ptr_coef_bands_x, offsetof(DETOK, ptr_coef_bands_x));
|
|
|
| @@ -46,12 +34,7 @@
|
| DEFINE(bool_decoder_count, offsetof(BOOL_DECODER, count));
|
| DEFINE(bool_decoder_range, offsetof(BOOL_DECODER, range));
|
|
|
| -DEFINE(tokenextrabits_min_val, offsetof(TOKENEXTRABITS, min_val));
|
| -DEFINE(tokenextrabits_length, offsetof(TOKENEXTRABITS, Length));
|
| +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
|
| -/*
|
| - * return 0;
|
| - * }
|
| - */
|
| +/* add asserts for any offset that is not supported by assembly code */
|
| +/* add asserts for any size that is not supported by assembly code */
|
|
|