mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Merge branch 4.x
This commit is contained in:
@@ -454,6 +454,13 @@ namespace
|
||||
|
||||
TEST(StatefulKernel, StateIsInitViaCompArgsInStreaming)
|
||||
{
|
||||
// This test is long as it runs BG subtractor (a) twice
|
||||
// (in G-API + for reference) over (b) two files. In fact
|
||||
// it is one more BG Subtractor accuracy test, but not
|
||||
// a stateful initialization test -- the latter must be
|
||||
// done through a light-weight mock object. So for now:
|
||||
applyTestTag(CV_TEST_TAG_VERYLONG);
|
||||
|
||||
// G-API graph declaration
|
||||
cv::GMat in;
|
||||
cv::GMat out = GBackSub::on(in);
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#include "../test_precomp.hpp"
|
||||
|
||||
#if defined HAVE_INF_ENGINE && INF_ENGINE_RELEASE < 2024000000
|
||||
#if defined HAVE_INF_ENGINE && INF_ENGINE_RELEASE < 2023010000
|
||||
|
||||
#include <stdexcept>
|
||||
#include <mutex>
|
||||
|
||||
@@ -716,14 +716,16 @@ TEST_P(GAPI_Streaming, SmokeTest_AutoMeta_VideoScalar)
|
||||
EXPECT_EQ(165u, test_frames);
|
||||
}
|
||||
|
||||
// Instantiate tests with different backends, but default queue capacity
|
||||
INSTANTIATE_TEST_CASE_P(TestStreaming, GAPI_Streaming,
|
||||
Combine(Values( KernelPackage::OCV
|
||||
//, KernelPackage::OCL // FIXME: Fails bit-exactness check, maybe relax it?
|
||||
, KernelPackage::OCV_FLUID
|
||||
//, KernelPackage::OCL // FIXME: Fails bit-exactness check, maybe relax it?
|
||||
),
|
||||
Values(cv::optional<size_t>{}, 1u, 4u))
|
||||
);
|
||||
Combine(Values( KernelPackage::OCV
|
||||
, KernelPackage::OCV_FLUID),
|
||||
Values(cv::optional<size_t>{})));
|
||||
|
||||
// Instantiate tests with the same backend but various queue capacity
|
||||
INSTANTIATE_TEST_CASE_P(TestStreaming_QC, GAPI_Streaming,
|
||||
Combine(Values(KernelPackage::OCV_FLUID),
|
||||
Values(1u, 4u)));
|
||||
|
||||
namespace TypesTest
|
||||
{
|
||||
|
||||
@@ -245,6 +245,7 @@ TEST(OneVPL_ElasticBarrier, single_thread_visit)
|
||||
|
||||
TEST(OneVPL_ElasticBarrier, multi_thread_visit)
|
||||
{
|
||||
applyTestTag(CV_TEST_TAG_VERYLONG);
|
||||
TestBarrier tested_barrier;
|
||||
|
||||
static const size_t max_visit_count = 10000000;
|
||||
|
||||
Reference in New Issue
Block a user