13#ifndef STREAMS_TEST_PATTERN_H
14#define STREAMS_TEST_PATTERN_H
21#include "rtp/rtp_utils.h"
23namespace toolx::streams {
81 mediax::rtp::ColourspaceType encoding,
int pattern,
82 mediax::rtp::TestCardState &state);
QStringList testPatternNames()
The test pattern names in index order (same order as the RTP transmit table).
Definition test_pattern.cpp:59
QString testPatternName(int pattern)
The name of a test pattern, as stored in configuration files.
Definition test_pattern.cpp:69
void renderTestPattern(uint8_t *data, uint32_t width, uint32_t height, mediax::rtp::ColourspaceType encoding, int pattern, mediax::rtp::TestCardState &state)
Render a test pattern into a buffer.
Definition test_pattern.cpp:101
bool isAnimatedPattern(int pattern)
Check if a pattern changes from frame to frame.
Definition test_pattern.cpp:81
int testPatternIndex(const QString &name, int fallback)
The index of the test pattern with a name.
Definition test_pattern.cpp:75
constexpr int kEliteShipPatternBase
Pattern index of the first Elite ship shown on its own, the rest follow in ship order.
Definition test_pattern.h:32
constexpr int kElitePattern
Pattern index of the Elite ships, which cycle through the 13 ships of the game every 30 seconds.
Definition test_pattern.h:29
constexpr int kWebcamPattern
Pattern index of the webcam source (frames are supplied by WebcamCapture, RGB24 only).
Definition test_pattern.h:26