diff options
author | Jim Bankoski <jimbankoski@google.com> | 2016-05-03 16:23:06 -0700 |
---|---|---|
committer | Jim Bankoski <jimbankoski@google.com> | 2016-05-03 16:23:06 -0700 |
commit | 34d5aff747b3c545de497675f372c6b599860cbd (patch) | |
tree | 0f0543be36d727d03919e9d05712142291908882 /test/test.mk | |
parent | fce3cee8ddd8dda91553e4701c0a8081ff4bab52 (diff) | |
download | libvpx-34d5aff747b3c545de497675f372c6b599860cbd.tar libvpx-34d5aff747b3c545de497675f372c6b599860cbd.tar.gz libvpx-34d5aff747b3c545de497675f372c6b599860cbd.tar.bz2 libvpx-34d5aff747b3c545de497675f372c6b599860cbd.zip |
libvpx: add a unit test for plane_add_noise.
In so doing this fixes a couple of bugs:
vpx_plane_add_noise.c needed to subtract a clamp instead of add.
And the assembly (mmx sse) had assumptions that parameters were
continuous in memory which was not true.
Change-Id: I76f2c43cf54bfc838eb2edf8a443eaaa7565d7b5
Diffstat (limited to 'test/test.mk')
-rw-r--r-- | test/test.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test.mk b/test/test.mk index 7c22ca501..390bc2369 100644 --- a/test/test.mk +++ b/test/test.mk @@ -103,6 +103,7 @@ LIBVPX_TEST_SRCS-yes += vp8_boolcoder_test.cc LIBVPX_TEST_SRCS-yes += vp8_fragments_test.cc endif +LIBVPX_TEST_SRCS-$(CONFIG_POSTPROC) += add_noise_test.cc LIBVPX_TEST_SRCS-$(CONFIG_POSTPROC) += pp_filter_test.cc LIBVPX_TEST_SRCS-$(CONFIG_VP8_DECODER) += vp8_decrypt_test.cc LIBVPX_TEST_SRCS-$(CONFIG_VP8_ENCODER) += quantize_test.cc |