Ocean
|
The Ocean Test Media Library implemenets/provides several tests for Ocean's individual media libraries. More...
Data Structures | |
class | Ocean::Test::TestMedia::TestAVFoundation |
This class implements a test for the AVFoundation media library. More... | |
class | Ocean::Test::TestMedia::TestImageIO |
This class implements a test for the IMageIO media library. More... | |
class | Ocean::Test::TestMedia::TestMovie |
This class implements a test for Movie objects. More... | |
class | Ocean::Test::TestMedia::TestOpenImageLibraries |
This class implements a test for the OpenImageLibraries media library. More... | |
class | Ocean::Test::TestMedia::TestSpecial |
This class implements a test for the Special media library. More... | |
class | Ocean::Test::TestMedia::TestWIC |
This class implements a test for the WIC media library. More... | |
Functions | |
OCEAN_TEST_MEDIA_EXPORT bool | Ocean::Test::TestMedia::testMedia (const double testDuration, Worker &worker, const std::string &testFunctions=std::string()) |
Tests all Media libraries. More... | |
OCEAN_TEST_MEDIA_EXPORT void | Ocean::Test::TestMedia::testMediaAsynchron (const double testDuration, const std::string &testFunctions=std::string()) |
Tests all Media libraries. More... | |
The Ocean Test Media Library implemenets/provides several tests for Ocean's individual media libraries.
The library is platform independent (by invoking only those tests that are available on each individual platform).
OCEAN_TEST_MEDIA_EXPORT bool Ocean::Test::TestMedia::testMedia | ( | const double | testDuration, |
Worker & | worker, | ||
const std::string & | testFunctions = std::string() |
||
) |
Tests all Media libraries.
testDuration | Number of seconds for each test, with range (0, infinity) |
worker | The worker object to distribute some computation on as many CPU cores as defined in the worker object |
testFunctions | Optional name of the functions to be tested |
OCEAN_TEST_MEDIA_EXPORT void Ocean::Test::TestMedia::testMediaAsynchron | ( | const double | testDuration, |
const std::string & | testFunctions = std::string() |
||
) |
Tests all Media libraries.
This function returns directly as the actual test is invoked in an own thread.
Use this function in intended for non-console applications like e.g., mobile devices.
testDuration | Number of seconds for each test, with range (0, infinity) |
testFunctions | Optional name of the functions to be tested |