Skip to Main Content Skip to Search
Product Documentation

DM643x Draw Rectangles - Configure Video Processing Back End to draw rectangles using On Screen Display (OSD) module

Library

Embedded Coder/ Embedded Targets/ Processors/ Texas Instruments C6000/ DM6437 EVM

Embedded Coder/ Embedded Targets/ Processors/ Texas Instruments C6000/ Scheduling

Description

This block configures the Video Processing Back End (VPBE) to draw and position rectangles using the On Screen Display (OSD) module. The position input (Pos) is a 1x4 vector, designates the location of the upper-left corner of the rectangle. The position coordinates (0,0) originate in the upper-left corner of the video display.

Dialog Box

Color

Select the rectangle color. For Specify via dialog, enter an integer between 0–255. This integer specifies a corresponding RGB color in the DM643x ROM0 color lookup table (DM643x ROM0 CLUT). If you select Specify via input port, the block displays an additional input port, Color. Like Specify via dialog, the Color input takes an integer between 0–255 that fetches a color from the DM643x ROM0 CLUT. Changing the input value to the Color input port can change the color of the rectangle while the model is running.

For more information about the DM643x ROM0 CLUT, enter the following text at the MATLAB command prompt:

help 'dm643x_clut'

Horizontal line thickness

Select the cursor height in lines.

Vertical line thickness

Select the cursor width in pixels.

Show input port for enable control

Create an input port (En) that can be used to enable or disable the position input.

See Also

DM643x OSD, DM643x Video Capture, DM643x Video Display

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS