28 #ifndef LUMIERA_TEST_TESTSTREAMTYPES_H 29 #define LUMIERA_TEST_TESTSTREAMTYPES_H 39 #include <gavl/gavl.h> 44 namespace test_format {
50 const int TEST_IMG_WIDTH = 40;
51 const int TEST_IMG_HEIGHT = 30;
63 inline gavl_video_format_t
66 gavl_video_format_t type;
68 type.pixelformat = GAVL_RGB_24;
69 type.interlace_mode = GAVL_INTERLACE_NONE;
70 type.framerate_mode = GAVL_FRAMERATE_CONSTANT;
71 type.chroma_placement = GAVL_CHROMA_PLACEMENT_DEFAULT;
73 type.image_width = TEST_IMG_WIDTH;
74 type.image_height = TEST_IMG_WIDTH;
75 type.frame_width = TEST_IMG_WIDTH;
76 type.frame_height = TEST_IMG_WIDTH;
79 type.pixel_height = 1;
81 type.frame_duration = TEST_FRAME_DUR;
Framework for classification of media streams.
static const gavl_time_t SCALE
Number of micro ticks (µs) per second as basic time scale.
Steam-Layer implementation namespace root.
Interface to the stream type system.
A (more or less) concrete implementation type, wired up as a facade providing the basic set of operat...
static lib::Depend< STypeManager > instance
access the system-wide stream type manager instance.
gavl_video_format_t test_createRawType()
Helper: create an raw GAVL type descriptor usable for generating a Lumiera StreamType.
Token or Atom with distinct identity.
a family of time value like entities and their relationships.
basic constant internal time value.
StreamType::ImplFacade const & test_createImplType()
Helper: create an implementation frame and build the corresponding streamtype.