![Texas Instruments DM38x DaVinci Скачать руководство пользователя страница 75](http://html1.mh-extra.com/html/texas-instruments/dm38x-davinci/dm38x-davinci_user-manual_1097067075.webp)
Internal Modules
75
SPRUHI7A – December 2012 – Revised June 2016
Copyright © 2012–2016, Texas Instruments Incorporated
High-Definition Video Processing Subsystem (HDVPSS)
1.2.3.3.1 HD Main Video Window (CIT or non_CIT)
This window is formed in the VCOMP module with two input sources: main and auxiliary. The composition
of the input sources and background color is explained in VCOMP module functional description.
VCOMP
→
reg6. cfg_dsply_numlines = CIG
→
CIG_REG1.disp_h = Display_Height of VENC associated
with HD main video
VCOMP
→
reg6. cfg_dsply_numpix_per_line = CIG
→
CIG_REG1.disp_w = Display_Width of VENC
associated with HD main video
Background color for HD main window is selected using following bitfields:
VCOMP
→
reg9.cfg_dsply_bckgrnd_cr_val
VCOMP
→
reg9.cfg_dsply_bckgrnd_cb_val
VCOMP
→
reg9.cfg_dsply_bckgrnd_y_val
The alpha value of HD PIP window is configured using following bit-fields:
CIG
→
CIG_REG2.bl_enable
CIG
→
CIG_REG2.bl_level
The layer order of HD video windows (main and pip) is configured in COMP <VENC> settings. The
<VENC>_vid_bld_ord bitfield is described in the video alpha blender section.
1.2.3.3.2 HD PIP Video Window
CIG module forms the PIP video window after receiving PIP video source from CSC module
CIG
→
CIG_REG6.pip_disp_h = Display_Height of VENC associated with PIP video
CIG
→
CIG_REG6.pip_disp_w = Display_Width of VENC associated with PIP video
Background color for PIP window is transparent and carries an alpha value of zero. It gets the background
color set by COMP
→
back_clr at the time of composition.
The alpha value of HD PIP window is configured using following bit-fields:
CIG
→
CIG_REG9.bl_enable
CIG
→
CIG_REG9.bl_level
The priority of HD video windows (both the main and PIP windows) is described in
.
1.2.3.3.3 SD Video Window
For the SD video window, the SD video input from the memory needs to be the same as the
Display_Width of SD_VENC output display.
For the SD video window:
Input source width = Display_Width
Input source height = Display_Height
x=0
y=0
and hence no background color
The alpha value for SD video is 0xFF.
The priority level used SD video is set in: COMP
→
SD_setting.vid_order (irrespective of
COMP
→
SD_setting.g_reorder bit-field value).