summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_cost.h
diff options
context:
space:
mode:
authorYaowu Xu <yaowu@google.com>2014-04-09 11:37:27 -0700
committerYaowu Xu <yaowu@google.com>2014-04-09 11:42:28 -0700
commit4f95a7fe3ef8e786dbb6c9c1dc3240da24538f92 (patch)
treef500d3cb867b449342f3f48397dfa69b8ca15ecc /vp9/encoder/vp9_cost.h
parente7e426b2748e93d32be21457902cbcf97de350a9 (diff)
downloadlibvpx-4f95a7fe3ef8e786dbb6c9c1dc3240da24538f92.tar
libvpx-4f95a7fe3ef8e786dbb6c9c1dc3240da24538f92.tar.gz
libvpx-4f95a7fe3ef8e786dbb6c9c1dc3240da24538f92.tar.bz2
libvpx-4f95a7fe3ef8e786dbb6c9c1dc3240da24538f92.zip
Fix the setting of mode_skip_mask
In mode selection loop, once mode_index pass mode_skip_start, all modes with a different reference frame from current best mode are masked out using mode_skip_mask. However, the setting of mode_skip_mask may use an invalid mode if there is no mode tested yet. This commit fixes the issue by making sure a mode has been tested and selected. Otherwise, no mode will be masked out because of their reference frame. Change-Id: Ib0009e8a96836a65cf5347440fff8a2e1a67f29f
Diffstat (limited to 'vp9/encoder/vp9_cost.h')
0 files changed, 0 insertions, 0 deletions