Copy macroblock data to a buffer before encoding it
authorYunqing Wang <yunqingwang@google.com>
Thu, 23 Jun 2011 17:54:02 +0000 (13:54 -0400)
committerYunqing Wang <yunqingwang@google.com>
Thu, 23 Jun 2011 17:54:02 +0000 (13:54 -0400)
commit0d87098e080707947378dc7b192a56503c12c6bf
tree0824ddefe9a55382100ced507ff21d4398a16687
parent109c20299c5845ecb383b7b4c8c8eaf63a44950b
Copy macroblock data to a buffer before encoding it

I got this idea from Pascal (Thanks). Before encoding a macroblock,
copy it to a 16x16 buffer, and then read source data from there
instead. This will help keep the source data in cache, and help
with the performance.

Change-Id: Id05f4cb601299150511d59dcba0ae62c49b5b757
vp8/encoder/block.h
vp8/encoder/encodeframe.c
vp8/encoder/encodeintra.c
vp8/encoder/encodemb.c
vp8/encoder/ethreading.c
vp8/encoder/firstpass.c
vp8/encoder/pickinter.c
vp8/encoder/rdopt.c