Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
teststreamtypes.hpp File Reference

Unit test helper to create fake streamtype information. More...

Go to the source code of this file.

Description

Unit test helper to create fake streamtype information.

Definition in file teststreamtypes.hpp.

#include "steam/streamtype.hpp"
#include "steam/control/stypemanager.hpp"
#include "lib/time/timevalue.hpp"
#include <gavl/gavl.h>

Namespaces

namespace  steam
 Steam-Layer implementation namespace root.
 
namespace  steam::test_format
 
namespace  steam::test_format::anonymous_namespace{teststreamtypes.hpp}
 

Functions

gavl_video_format_t test_createRawType ()
 Helper: create an raw GAVL type descriptor usable for generating a Lumiera StreamType.
 
StreamType::ImplFacade const & test_createImplType ()
 Helper: create an implementation frame and build the corresponding streamtype.
 

Variables

const int TEST_IMG_WIDTH = 40
 
const int TEST_IMG_HEIGHT = 30
 
const int TEST_FRAME_DUR = TimeValue::SCALE / 25
 
Symbol GAVL = "GAVL"