8 #ifndef META_OCEAN_TEST_TESTMEDIA_TEST_MOVIE_H
9 #define META_OCEAN_TEST_TESTMEDIA_TEST_MOVIE_H
38 static constexpr
unsigned int numberBits_ = 16u;
41 static constexpr
unsigned int bitSize_ = 15u;
44 static constexpr
unsigned int yColorStrip_ = 200u;
60 MovieVerifier(
const unsigned int expectedWidth,
const unsigned int expectedHeight,
const unsigned int expectedNumberFrames,
const double expectedFps);
100 const unsigned int expectedWidth_ = 0u;
103 const unsigned int expectedHeight_ = 0u;
106 const unsigned int expectedNumberFrames_ = 0u;
109 const double expectedFps_ = 0.0;
112 unsigned int numberReceivedFrames_ = 0u;
118 bool hasError_ =
false;
131 static bool test(
const double testDuration);
185 static IO::File writeMovie(
const IO::Directory& directory,
const unsigned int width,
const unsigned int height,
const unsigned int numberFrames,
const double fps,
const std::string& libraryName = std::string());
197 static bool readMovie(
const IO::File& file,
const unsigned int width,
const unsigned int height,
const unsigned int numberFrames,
const double fps,
const std::string& libraryName = std::string());
This class implements Ocean's image class.
Definition: Frame.h:1792
This class holds a directory.
Definition: Directory.h:36
This class holds a file.
Definition: File.h:36
This class implements a recursive lock object.
Definition: Lock.h:31
This class implements a timestamp.
Definition: Timestamp.h:36
std::shared_ptr< AnyCamera > SharedAnyCamera
Definition of a shared pointer holding an AnyCamera object with Scalar precision.
Definition: AnyCamera.h:60
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15