]> granicus.if.org Git - libvpx/commit
Align image buffer in multiple-resolution encoder
authorYunqing Wang <yunqingwang@google.com>
Thu, 8 Dec 2011 17:31:01 +0000 (12:31 -0500)
committerYunqing Wang <yunqingwang@google.com>
Tue, 13 Dec 2011 14:25:30 +0000 (09:25 -0500)
commit153eec46e04e4bd24c67ed3ca58374c856231cce
treef455135b9f4b5cdc018a7626af5fad6587384287
parent254889cdfc64de8d042117c3dfeb9f83fee736bd
Align image buffer in multiple-resolution encoder

Aligned the image buffer and stride to 32 bytes. This enables
calling of optimized scaler function in libyuv, and improves
the performance.

Tested libyuv scaler(x86 optimization) on Linux and Windows,
including: Linux 32/64bit, visual studio 32/64bit, Cygwin, and
MinGW32.

Also, fixed a wrong pointer in vpx_codec_encode().

Change-Id: Ibe97d7a0a745f82c43852fa4ed719be5a4db6abc
third_party/libyuv/README.webm
third_party/libyuv/include/libyuv/basic_types.h
third_party/libyuv/include/libyuv/cpu_id.h
third_party/libyuv/include/libyuv/scale.h
third_party/libyuv/source/cpu_id.c
third_party/libyuv/source/row.h
third_party/libyuv/source/scale.c
vp8_multi_resolution_encoder.c
vpx/src/vpx_encoder.c