Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(530)

Unified Diff: libvpx/source/libvpx/vp8/decoder/asm_dec_offsets.c

Issue 7624054: Revert r97185 "Update libvpx snapshot to v0.9.7-p1 (Cayuga)." (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: libvpx/source/libvpx/vp8/decoder/asm_dec_offsets.c
diff --git a/libvpx/source/libvpx/vp8/decoder/asm_dec_offsets.c b/libvpx/source/libvpx/vp8/decoder/asm_dec_offsets.c
index 1a6090b2bfdc51c9346cc65a9a55938482942943..e485cb4140cd70457668d482a59a6a3a376e5301 100644
--- a/libvpx/source/libvpx/vp8/decoder/asm_dec_offsets.c
+++ b/libvpx/source/libvpx/vp8/decoder/asm_dec_offsets.c
@@ -9,14 +9,26 @@
*/
-#include "vpx_ports/asm_offsets.h"
+#include "vpx_ports/config.h"
+#include <stddef.h>
+
#include "onyxd_int.h"
-BEGIN
+#define DEFINE(sym, val) int sym = val;
+
+/*
+#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));
@@ -34,7 +46,12 @@ DEFINE(bool_decoder_value, offsetof(BOOL_DECODER, value));
DEFINE(bool_decoder_count, offsetof(BOOL_DECODER, count));
DEFINE(bool_decoder_range, offsetof(BOOL_DECODER, range));
-END
+DEFINE(tokenextrabits_min_val, offsetof(TOKENEXTRABITS, min_val));
+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 */
+//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;
+ * }
+ */
« no previous file with comments | « libvpx/source/libvpx/vp8/decoder/arm/neon/idct_dequant_full_2x_neon.asm ('k') | libvpx/source/libvpx/vp8/decoder/dboolhuff.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698