![Texas Instruments DM38x DaVinci Скачать руководство пользователя страница 283](http://html1.mh-extra.com/html/texas-instruments/dm38x-davinci/dm38x-davinci_user-manual_1097067283.webp)
Internal Modules
283
SPRUHI7A – December 2012 – Revised June 2016
Copyright © 2012–2016, Texas Instruments Incorporated
High-Definition Video Processing Subsystem (HDVPSS)
1.2.13.5.1.5.1 Region Descriptor
The Graphics module uses the standard Inbound data transfer descriptor as all other channel but it has
additional information in the Client Specific Attributes field that are passed down to the Graphics
processing module.
Table 1-110. Graphics Region Descriptor Format
Attribute
Location
Description
Region_Height
Word 4 Bits 15:0
Height of the region
Region Width
Word 4 Bits 31:16
The number of pixels wide for the region
Vertical Start
Word 5 Bits 15:0
position of region (Y origin) 0 is top of frame
Horizontal Start
Word 5 Bits 31:16
position of region (X origin) 0 is left side of frame
Disp_pri
Word 6 Bits 3:0
Region display priority 0x0 is on the bottom 0xF is
on the top
First Region
Word 6 Bit 7
Marks the region as the first region in a new frame.
This bit must be set to 1 on the first region only
Last Region
Word 6 Bit 8
Marks the last region in a frame. This bit must be
set only on the last region. If only 1 region exists
then both this and the First Region bit should be
set
Scaler
Word 6 Bit 9
The region should be scaled using the current
frames resizer configuration
AF
Word 6 Bit 10
The region should be passed through the scaler to
Anti-flicker the data
Stencil
Word 6 Bit 11
The region should use the stencil client applied to
this data. A separate data descriptor for the stencil
data must be created and should have been the
data descriptor in the list prior to the current region
descriptor.
Reserved
[76:78]
Reserved
bbox
Word 6 Bit 15
A single pixel bounding box should be applied
along the region with the alpha value of the data
replaced with the alpha data in the bb_alpha field.
bb_alpha
Word 6 Bit 23:16
The alpha value to use for the bounding box if it is
enabled.
blend_alpha
Word 6 Bit 31:24
The alpha value to use if the blend_type field is set
for Region global blending.
blend_type
Word 7 Bits 1:0
The type of blending to perform on the region. This
is used to replace the alpha value presented to the
Graphics module. 0 — no blending 1 — Region
global blending 2 — reserved. (color (palette)
Blending) 3 — Pixel (embedded alpha) Blending
trans_enable
Word 7 Bit 5
Enable transparency for the region. If this is set the
trans_cfg and trans_color fields are used to replace
the alpha of a specific color to make it transparent
tr_lsb_mask
Word 7 Bits 7-6
Transparency LSB bit masking 0
0 : No masking 01 : Mask [0] during pixel data
comparison to TRANS_COLOR 1
0 : Mask[1:0] 1
1 : Mask[2:0] ex)., if TR_LSB_MASK is set to
2'b11, top 5 bits of R/G/B component data are
compared to the corresponding 5 bits of
TRANS_COLOR R/G/B color.
trans color
Word 7 Bits 31:8
Transparency Color (RGB24)