19 #ifndef LUMIERA_TEST_TESTSTREAMTYPES_H 20 #define LUMIERA_TEST_TESTSTREAMTYPES_H 30 #include <gavl/gavl.h> 35 namespace test_format {
41 const int TEST_IMG_WIDTH = 40;
42 const int TEST_IMG_HEIGHT = 30;
54 inline gavl_video_format_t
57 gavl_video_format_t type;
59 type.pixelformat = GAVL_RGB_24;
60 type.interlace_mode = GAVL_INTERLACE_NONE;
61 type.framerate_mode = GAVL_FRAMERATE_CONSTANT;
62 type.chroma_placement = GAVL_CHROMA_PLACEMENT_DEFAULT;
64 type.image_width = TEST_IMG_WIDTH;
65 type.image_height = TEST_IMG_WIDTH;
66 type.frame_width = TEST_IMG_WIDTH;
67 type.frame_height = TEST_IMG_WIDTH;
70 type.pixel_height = 1;
72 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.