Ensure frame rows are 16-byte aligned.
authorTim Terriberry <tterribe@xiph.org>
Mon, 25 Oct 2010 17:40:54 +0000 (17:40 +0000)
committerTim Terriberry <tterribe@xiph.org>
Mon, 25 Oct 2010 17:40:54 +0000 (17:40 +0000)
commit0f03ad955674b7f13618ca31c2094c7bb155a272
tree9d6b0e94bf057a346b562664aa16b569d5c5c8e7
parentfefb2a35dd60c8401b30a6127434a3d5e8521e07
Ensure frame rows are 16-byte aligned.

We don't actually use this for anything yet, but it may help calling
 applications (e.g., doing software YUV2RGB conversion).
Also, change ref_frame_data to point directly to the desired reference frame,
 rather than require a lookup through ref_frame_idx first.
This saves an indirection and gives a 0.7% speed-up at 720p on a Cortex A8.
It should have an even bigger benefit on C64x, though it wasn't benchmarked
 there.

svn path=/trunk/theora/; revision=17563
lib/analyze.c
lib/arm/armstate.c
lib/decode.c
lib/encode.c
lib/mcenc.c
lib/state.c
lib/state.h
lib/x86/mmxstate.c
lib/x86_vc/mmxstate.c