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 typeType
SignalTypeDescription
The type of signal that has been generated. This will either be RGBorSVideo(anRGBsignal would not have been generated or sent to the decoder). - scanlineWidth
-
uint32_t scanlineWidthType
uint32_tDescription
The width, in signal texels, of a scanline (i.e. the width of the generated signal texture). - scanlineCount
-
uint32_t scanlineCountType
uint32_tDescription
The number of scanlines in the current frame's texture (i.e. the height of the generated signal texture). - colorCyclesPerInputPixel
-
float colorCyclesPerInputPixelType
floatDescription
The number of cycles of the color carrier wave there are per input pixel. - inputPixelAspectRatio
-
float inputPixelAspectRatioType
floatDescription
The display aspect ratio of an input pixel when displayed.
Corresponds to
SourceSettings::.inputPixelAspectRatio - totalSidePaddingTexelCount
-
uint32_t totalSidePaddingTexelCount = 0Type
uint32_tDescription
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.