From: Attila Nagy Date: Thu, 27 Oct 2011 06:06:45 +0000 (+0300) Subject: Fix ARM build problem introduced by CL I3fab6f2b X-Git-Tag: v1.0.0~103^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9452dce1811625b36aa5d5f2827991b3e46a4552;p=libvpx Fix ARM build problem introduced by CL I3fab6f2b Update ARM asm implementation of vp8_start_encode to new definition. Change-Id: Ic44791c969e351082331ba6146c3384c01a0dfad --- 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));