]> granicus.if.org Git - libvpx/commit
Optimizes updates of encoder block ptrs
authorAttila Nagy <attilanagy@google.com>
Tue, 24 Apr 2012 12:17:28 +0000 (15:17 +0300)
committerAttila Nagy <attilanagy@google.com>
Fri, 27 Jul 2012 06:59:09 +0000 (09:59 +0300)
commite66e9ddfb445461a461d64a32d9a5fd1ae9ae779
treefcd7dfe54f670c8ec8883a6fdb43166cd59bdb33
parent0cdc046ff23a4faa5a8cac2d890680f46a9d758a
Optimizes updates of encoder block ptrs

Precalculated block ptrs do not need updates during encoding.
Set these at init stage.

Moved the allocation of 'mt_current_mb_col' (last encoded MB on each
row) to vp8_alloc_compressor_data(), so that it is correctly
reallocated when frame size is changing.

Change-Id: Idcdaa2d0cf3a7f782b7d888626b7cf22a4ffb5c1
vp8/encoder/encodeframe.c
vp8/encoder/ethreading.c
vp8/encoder/firstpass.c
vp8/encoder/onyx_if.c