Layer Registers - 5.2 English

Video Mixer LogiCORE IP Product Guide (PG243)

Document ID
PG243
Release Date
2024-01-02
Version
5.2 English

Table: Layer Registers provides a detailed description of all the registers that apply to layers 0 through 16. Overlay layer 1 registers start at base address 0x0200, overlay layer 2 registers start at base address 0x300, and so forth.

Mixer IP has one primary layer, which we mention as layer0. It supports up to 16 overlay layers (Layer 1 to Layer 16). Layer 0 does not have any register for programming. For all overlay layers (Layer 1 to Layer 16) the registers are at identical offsets. Layer 1 registers start at base address 0x200, Layer 2 registers start at base address 0x300 and so forth. Layer 16 registers start at base address 0x1100. In this section, the register description number represents a number from 2 to 11.

Table 2-12: Layer Registers

Address (hex) BASEADDR+

Register Name

Access Type

Description

0x0200

Layer 1 Alpha

R/W

Alpha blending value for layer 1 ranging from

0 = Fully transparent

256 = Fully opaque

0x0208

Layer 1 Start X

R/W

X position of the top left corner of layer 1, relative to the background layer.

0x0210

Layer 1 Start Y

R/W

Y position of the top left corner of layer 1, relative to the background layer

0x0218

Layer 1 Width

R/W

Active width (in pixels) of layer 1.

0x0220

Layer 1 Stride

R/W

Active stride (in bytes) of layer 1.

0x0228

Layer 1 Height

R/W

Active height (in lines) of layer 1.

0x0230

Layer 1 Scale Factor

R/W

Scale factor for layer 1 ranging from

0 = No scaling

1 = 2x scaling (horizontally and vertically)

2 = 4x scaling (horizontally and vertically)

0x0240

Layer 1 Plane 1 Buffer

R/W

Start address of plane 1 of frame buffer for layer 1. Only valid in case layer 1 is a memory layer.

0x024C

Layer 1 Plane 2 Buffer

R/W

Start address of plane 2 of frame buffer for layer 1. Only valid in case layer 1 is a memory layer and a semi-planar video format is selected.