Fixed Y accessor in BGR accessor test, added more instantiations

pull/19806/head
Ruslan Garnov 4 years ago
parent 64072e44cc
commit 76a9c0ccb0
  1. 18
      modules/gapi/test/streaming/gapi_streaming_tests.cpp

@ -2061,22 +2061,10 @@ TEST_P(GAPI_Accessors_Meta_In_Streaming, AccuracyTest)
EXPECT_TRUE(std::is_sorted(all_timestamps.begin(), all_timestamps.end())); EXPECT_TRUE(std::is_sorted(all_timestamps.begin(), all_timestamps.end()));
} }
INSTANTIATE_TEST_CASE_P(BGRAccessorMeta, GAPI_Accessors_Meta_In_Streaming, INSTANTIATE_TEST_CASE_P(AccessorMeta, GAPI_Accessors_Meta_In_Streaming,
Combine(Values("cv/video/768x576.avi"), Combine(Values("cv/video/768x576.avi"),
Values(TestSourceType::NV12), Values(TestSourceType::BGR, TestSourceType::NV12),
Values(TestAccessType::Y) Values(TestAccessType::BGR, TestAccessType::Y, TestAccessType::UV)
));
INSTANTIATE_TEST_CASE_P(YAccessorMeta, GAPI_Accessors_Meta_In_Streaming,
Combine(Values("cv/video/768x576.avi"),
Values(TestSourceType::NV12),
Values(TestAccessType::Y)
));
INSTANTIATE_TEST_CASE_P(UVAccessorMeta, GAPI_Accessors_Meta_In_Streaming,
Combine(Values("cv/video/768x576.avi"),
Values(TestSourceType::NV12),
Values(TestAccessType::UV)
)); ));
TEST(GAPI_Streaming, TestPythonAPI) TEST(GAPI_Streaming, TestPythonAPI)

Loading…
Cancel
Save