Add unittest for av1 wrappers to test Encode and Decode functions
while helpful by itself, it is also a preparation for adding unittests for (to be added) svc features of the encoder. Bug: webrtc:11404 Change-Id: I62b0645f44579f21f228d406a206b4c01d80dd02 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/174580 Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Philip Eliasson <philipel@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31189}
This commit is contained in:
committed by
Commit Bot
parent
dcde85c912
commit
28da36a6ea
@ -64,16 +64,25 @@ rtc_library("libaom_av1_encoder") {
|
||||
}
|
||||
}
|
||||
|
||||
rtc_library("video_coding_codecs_av1_tests") {
|
||||
testonly = true
|
||||
if (rtc_include_tests) {
|
||||
rtc_library("video_coding_codecs_av1_tests") {
|
||||
testonly = true
|
||||
|
||||
if (enable_libaom) {
|
||||
sources = [ "libaom_av1_encoder_unittest.cc" ]
|
||||
deps = [
|
||||
":libaom_av1_encoder",
|
||||
"../..:video_codec_interface",
|
||||
"../../../../api/video_codecs:video_codecs_api",
|
||||
"../../../../test:test_support",
|
||||
]
|
||||
if (enable_libaom) {
|
||||
sources = [
|
||||
"libaom_av1_encoder_unittest.cc",
|
||||
"libaom_av1_unittest.cc",
|
||||
]
|
||||
deps = [
|
||||
":libaom_av1_decoder",
|
||||
":libaom_av1_encoder",
|
||||
"../..:video_codec_interface",
|
||||
"../../../../api:create_frame_generator",
|
||||
"../../../../api:frame_generator_api",
|
||||
"../../../../api/video_codecs:video_codecs_api",
|
||||
"../../../../test:test_support",
|
||||
"//third_party/abseil-cpp/absl/types:optional",
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user