English
Language : 

SH7265 Datasheet, PDF (1531/2024 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7260 Series
Section 28 2D Graphics Engine (2DG)
• Chromakey processing example (2)
Blit mode setting:
Fill mode (GR_BLTMODE register, BTYPE bits = 10)
Chromakey type selection: Chromakey blending
(GR_BLTMODE register, CRKEY bits = 10)
Blending coefficient selection: Blending coefficient = (GR_BRD1CNT register, FBFA bits = 00)
SB output data selection:
SB data selection = (GR_BLTMODE register, SBSEL bits = 01)
Target color setting:
Setting for green as the target color in the GR_DETCOL register
Replacement color setting: Setting for blue as the replacement color in the GR_BRDCOL
register
Chromakey processing (With blending)
Selects the FBFA bit in the
GR_BRDICNT register = 00
Blending processor (With blending)
The pixels in the SB area other than the pixels
of the specified color remains unchanged
(Fa = 0 and Fb =1) and the specified color pixels are
blended according to the settings of the register.
When green is the target color
(as the specified color)
Green area
Yellow area
When blue is the replacement color
When color value (Cc, αc)
is set to blue
in the GR_BRDCOL register
(Color value is constantly input.)
Chromakey target color
processing block
Input B buffer
Specified color area
(Data of the specified color is added.)
Yellow area
Fa = 0 and
Fb = 1 are set
for this area.
Fa
Fb
A color resulting from blending with
the color value (α value) a set in the
register (blending of blue and green)
This area
remains yellow
Figure 28.29 Example of Chromakey Processing (2)
Rev. 1.00 Mar. 14, 2008 Page 1495 of 1984
REJ09B0351-0100