Convert pixel stream to frame-based video
Vision HDL Toolbox / I/O Interfaces
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 scalar streaming, or multipixel streaming. Multipixel streaming accepts 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 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.