summaryrefslogtreecommitdiff
path: root/vpx_ports/x86.h
diff options
context:
space:
mode:
authorYaowu Xu <yaowu@google.com>2016-06-22 10:41:52 -0700
committerYaowu Xu <yaowu@google.com>2016-06-22 17:55:14 +0000
commitef665996ae59a43575272449d0120a67457a7856 (patch)
treef5e540eeae59e7b2643a92d0df46635d0a20e254 /vpx_ports/x86.h
parentb3933e2d3ccf0de83441eac9d22a145c20ac6803 (diff)
downloadlibvpx-ef665996ae59a43575272449d0120a67457a7856.tar
libvpx-ef665996ae59a43575272449d0120a67457a7856.tar.gz
libvpx-ef665996ae59a43575272449d0120a67457a7856.tar.bz2
libvpx-ef665996ae59a43575272449d0120a67457a7856.zip
Prevent negative variance
Due to rounding used computation, HDB variance computation may produce slightly negative values. This commit adds clamping to make sure output variance values for 10 and 12 to be non-negative. Change-Id: Id679aa55a4c201958c4c7d28cd8733b9246a71c8
Diffstat (limited to 'vpx_ports/x86.h')
0 files changed, 0 insertions, 0 deletions