CathodeRetro::Internal::SignalProperties
An internal structure containing various important properties about the signal.
This structure is created by
Internal::
and used by
Internal::
.
Index
Members
- type
-
SignalType type
Type
SignalType
Description
The type of signal that has been generated. This will either be RGB
orSVideo
(anRGB
signal would not have been generated or sent to the decoder). - scanlineWidth
-
uint32_t scanlineWidth
Type
uint32_t
Description
The width, in signal texels, of a scanline (i.e. the width of the generated signal texture). - scanlineCount
-
uint32_t scanlineCount
Type
uint32_t
Description
The number of scanlines in the current frame's texture (i.e. the height of the generated signal texture). - colorCyclesPerInputPixel
-
float colorCyclesPerInputPixel
Type
float
Description
The number of cycles of the color carrier wave there are per input pixel. - inputPixelAspectRatio
-
float inputPixelAspectRatio
Type
float
Description
The display aspect ratio of an input pixel when displayed.
Corresponds to
SourceSettings::
.inputPixelAspectRatio - totalSidePaddingTexelCount
-
uint32_t totalSidePaddingTexelCount = 0
Type
uint32_t
Description
The number of texels that have been added to the width of the generated signal texture to allow for additional padding such that the color demodulation filters have data to use near the edges of the screen, so there aren't strange color artifacts at the edges.
This is the total number of extra texels, so there will be half this many texels added on the left and another half on the right.