summaryrefslogtreecommitdiff
path: root/vp8
diff options
context:
space:
mode:
authorAttila Nagy <attilanagy@google.com>2011-10-27 09:06:45 +0300
committerAttila Nagy <attilanagy@google.com>2011-10-27 09:06:45 +0300
commit9452dce1811625b36aa5d5f2827991b3e46a4552 (patch)
treef95268efeb0695ad44a32dd4fd9d6db2625f66d6 /vp8
parent294777b9158c918b74c35293e3711179ac2d0eaa (diff)
downloadlibvpx-9452dce1811625b36aa5d5f2827991b3e46a4552.tar
libvpx-9452dce1811625b36aa5d5f2827991b3e46a4552.tar.gz
libvpx-9452dce1811625b36aa5d5f2827991b3e46a4552.tar.bz2
libvpx-9452dce1811625b36aa5d5f2827991b3e46a4552.zip
Fix ARM build problem introduced by CL I3fab6f2b
Update ARM asm implementation of vp8_start_encode to new definition. Change-Id: Ic44791c969e351082331ba6146c3384c01a0dfad
Diffstat (limited to 'vp8')
-rw-r--r--vp8/encoder/arm/armv5te/boolhuff_armv5te.asm3
-rw-r--r--vp8/encoder/asm_enc_offsets.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/vp8/encoder/arm/armv5te/boolhuff_armv5te.asm b/vp8/encoder/arm/armv5te/boolhuff_armv5te.asm
index 138ed46de..30513f912 100644
--- a/vp8/encoder/arm/armv5te/boolhuff_armv5te.asm
+++ b/vp8/encoder/arm/armv5te/boolhuff_armv5te.asm
@@ -24,8 +24,9 @@
; r0 BOOL_CODER *br
; r1 unsigned char *source
-
+; r2 unsigned char *source_end
|vp8_start_encode| PROC
+ str r2, [r0, #vp8_writer_buffer_end]
mov r12, #0
mov r3, #255
mvn r2, #23
diff --git a/vp8/encoder/asm_enc_offsets.c b/vp8/encoder/asm_enc_offsets.c
index c79e915f8..d05dab47c 100644
--- a/vp8/encoder/asm_enc_offsets.c
+++ b/vp8/encoder/asm_enc_offsets.c
@@ -49,6 +49,7 @@ DEFINE(vp8_writer_value, offsetof(vp8_writer, value));
DEFINE(vp8_writer_count, offsetof(vp8_writer, count));
DEFINE(vp8_writer_pos, offsetof(vp8_writer, pos));
DEFINE(vp8_writer_buffer, offsetof(vp8_writer, buffer));
+DEFINE(vp8_writer_buffer_end, offsetof(vp8_writer, buffer_end));
DEFINE(tokenextra_token, offsetof(TOKENEXTRA, Token));
DEFINE(tokenextra_extra, offsetof(TOKENEXTRA, Extra));