
PRELIMINARY
S3C6400X RISC MICROPROCESSOR
GRAPHICS 2D
18-7
Preliminary product information describe products that are in development,
for which full characterization data and associated errata are not yet available.
Specifications and information herein are subject to change without notice.
4) Final Data = Source AND Destination. ROP Value = “11110000” & “11001100” = “11000000”
5) Final Data = Source OR Pattern. ROP Value = “11110000” | “10101010” = “11111010”.
Related Registers
PATTERN_REG[0:31] Pattern
data
PATOFF_REG
Pattern offset X, Y
ROP_REG
ROP configurations and ROP Value
ALPHA BLENDING
Alpha Blending combines the source color and the destination color in the frame buffer to get the new destination
color. FIMG-2D supports 256-level user-specified alpha value and per-pixel alpha blending as well. Fading effect
is also supported.
User-specified alpha value: ALPHA (from 0 to 255)
[Alpha Blending]
data = ( source * (ALPHA+1) + destination * (256-ALPHA) ) >> 8
[Fading]
data = (( source * (ALPHA+1) ) >> 8) + fading offset
Per-pixel alpha blending: alpha(given by the source image, from 0 to 255)
[Alpha Blending]
data = ( source * (alpha + 1) + destination * (256-alpha) ) >> 8
[Fading]
data = ((source * (alpha+1)) >> 8) + fading offset
Related Registers
ROP_REG
Alpha blending configurations: alpha blending disable/enable, per-pixel alpha
blending disable/enable, fading disable/enable.
ALPHA_REG
Alpha value and fading value.