Pixels To Frame
Convert pixel stream to frame-based video
Libraries:
Vision HDL Toolbox /
I/O Interfaces
Description
The Pixels To Frame block converts a color or grayscale pixel stream and control signals to frame-based video. The control signal bus indicates the validity of each pixel and its location within the frame. The pixel stream format can include padding pixels around the active frame. You can configure the frame and padding dimensions by selecting a common video format or by specifying custom dimensions. The pixel input can support single pixel streaming, or multipixel streaming. Multipixel streaming accepts 2, 4, or 8 pixels each clock cycle to support high-rate or high-resolution formats. For details of the pixel stream format, see Streaming Pixel Interface.
This block itself does not support HDL code generation. However, you can use this block to convert the output of a separate subsystem, targeted for HDL code generation, back to frames.
If your model converts frames to a pixel stream and later converts the stream back to frames, specify the same video format for the Frame To Pixels block and the Pixels To Frame block.