]> granicus.if.org Git - libvpx/commit
Adapt color sensitiviy threshold to luma signal energy
authorYaowu Xu <yaowu@google.com>
Mon, 2 Mar 2015 23:35:58 +0000 (15:35 -0800)
committerYaowu Xu <yaowu@google.com>
Tue, 3 Mar 2015 19:15:13 +0000 (11:15 -0800)
commit47ac3ea0bbeac8df3f0d6de043c4083ddd98f55b
tree65b4931c3c12589fd7c7f280bd7b440690bde539
parent1790d45252efb29903baae3d1776bb24cee76558
Adapt color sensitiviy threshold to luma signal energy

Instead using only a fixed threshold, this commit adapts the threshold
for color sensitivity decision to luma signal energy: chroma channel's
sse is at least 1/6 of that in luma for color sensitivity flag to be
set to active.

This recoups a large portion of the speed loss due to accounting for
chroma component costs in RTC mode decision.

Change-Id: Ie01f747f6037dba6a1d1ed3e10b71a0ef1abc42c
vp9/encoder/vp9_encodeframe.c