summaryrefslogtreecommitdiff
path: root/test/test.mk
diff options
context:
space:
mode:
authorCheng Chen <chengchen@google.com>2022-07-20 15:35:33 -0700
committerCheng Chen <chengchen@google.com>2022-07-21 22:46:08 -0700
commit4e504233f8e603abdd4b39395c8717668009a865 (patch)
treee0e9b234136973fbfdc012ab99d3fc9c6205cbda /test/test.mk
parent53dd1e8e785ea42fa88499dbfd0c2c9dcd055833 (diff)
downloadlibvpx-4e504233f8e603abdd4b39395c8717668009a865.tar
libvpx-4e504233f8e603abdd4b39395c8717668009a865.tar.gz
libvpx-4e504233f8e603abdd4b39395c8717668009a865.tar.bz2
libvpx-4e504233f8e603abdd4b39395c8717668009a865.zip
L2E: Add more unit tests for GOP API
Add unit tests for a 4 frame video, which could be considered as a corner case. Three different GOP settings are tested and verified as valid. (1). The first GOP has 3 coding frames, no alt ref. The second GOP has 1 coding frame, no alt ref. The numer of coding frames is 4. Their frame types are: keyframe, inter_frame, inter_frame, golden_frame. (2). The first GOP has 4 coding frames, use alt ref. The second GOP has 1 coding frame, which is the overlay of the first GOP's alt ref frame. The numer of coding frames is 5. Their types are: keyframe, alt_ref, inter_frame, inter_frame, overlay_frame. (3). Only one GOP with 4 coding frames, do not use alt ref. The numer of coding frames is 4. Their types are: keyframe, inter_frame, inter_frame, inter_frame. Change-Id: I4079ff5065da79834b363b1e1976f65efed3f91f
Diffstat (limited to 'test/test.mk')
-rw-r--r--test/test.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test.mk b/test/test.mk
index 6df457290..f60d8f823 100644
--- a/test/test.mk
+++ b/test/test.mk
@@ -59,6 +59,7 @@ LIBVPX_TEST_SRCS-$(CONFIG_VP9_ENCODER) += svc_test.h
LIBVPX_TEST_SRCS-$(CONFIG_VP9_ENCODER) += svc_end_to_end_test.cc
LIBVPX_TEST_SRCS-$(CONFIG_VP9_ENCODER) += timestamp_test.cc
LIBVPX_TEST_SRCS-$(CONFIG_VP9_ENCODER) += vp9_ext_ratectrl_test.cc
+LIBVPX_TEST_SRCS-$(CONFIG_VP9_ENCODER) += ../vp9/simple_encode.h
LIBVPX_TEST_SRCS-yes += decode_test_driver.cc
LIBVPX_TEST_SRCS-yes += decode_test_driver.h