]> granicus.if.org Git - libvpx/commit
quantize test: restrict and correct input
authorJohann <johannkoenig@google.com>
Tue, 18 Jul 2017 16:40:45 +0000 (09:40 -0700)
committerJohann <johannkoenig@google.com>
Tue, 18 Jul 2017 16:40:45 +0000 (09:40 -0700)
commitcb61ba02f45b4729f43367d3a5e5625f3331c227
tree12781417f4d11bfeed6bf73d0850254af1fc5dbe
parentad563713437b8c0fd0aabaa9df9473385acd300d
quantize test: restrict and correct input

Use only valid values for quantize inputs. These were determined by
looping over vp9_init_quantizer and looking for max and min values.

This allows extending the test to the low bit depth functions which were
not designed to handle all possible inputs but only valid inputs.

Change-Id: I94e1d8863a49ac227845b65c6b50130e10e6319e
test/vp9_quantize_test.cc