class VideoInputUnitEncoderMuxControl

Defined at line 612 of file ../../src/graphics/display/drivers/amlogic-display/vpu-regs.h

VPU_VIU_VENC_MUX_CTRL

Configures the routing between VIU (Video Input Unit) and encoders. Each VIU

outputs data (image pixel component values) that feeds into encoders. Each

encoder outputs a Vsync signal that drives VIU operation. The data and Vsync

signals are configured together, with an exception that lets the hardware

ensure that the VIU blocks operate in sync.

S905D3 Datasheet, Section 8.2.3.1 "VPU Registers", Page 304.

A311D Datasheet, Section 10.2.3.1 "VPU Registers", Page 668.

S905D2 Datasheet, Section 7.2.3.1 "VPU Registers", Page 312-313.

Public Members

 field_vsync_shared_by_viu_blocks_645
 field_rasp_dpi_clock_selection_648
 field_viu1_vsync_encoder_selection_670
 field_viu2_encoder_selection_676
 field_viu1_encoder_selection_682

Public Methods

hwreg::RegisterAddr<VideoInputUnitEncoderMuxControl> Get ()

Defined at line 626 of file ../../src/graphics/display/drivers/amlogic-display/vpu-regs.h

template <, >
SelfType & set_vsync_shared_by_viu_blocks (typename SelfType::ValueType val)

If true, the hardware ensures that the VIU blocks operate in sync.

The hardware keeps the VIU blocks in sync by routing the same Vsync signal

to them. Concretely, the Vsync signal from the encoder configured by

`viu2_encoder_selection` is also routed to VIU1, so Vsync routing ignores

`viu1_vsync_encoder_selection`.

Defined at line 645 of file ../../src/graphics/display/drivers/amlogic-display/vpu-regs.h

template <, >
typename SelfType::ValueType vsync_shared_by_viu_blocks ()

If true, the hardware ensures that the VIU blocks operate in sync.

The hardware keeps the VIU blocks in sync by routing the same Vsync signal

to them. Concretely, the Vsync signal from the encoder configured by

`viu2_encoder_selection` is also routed to VIU1, so Vsync routing ignores

`viu1_vsync_encoder_selection`.

Defined at line 645 of file ../../src/graphics/display/drivers/amlogic-display/vpu-regs.h

template <, >
typename SelfType::ValueType rasp_dpi_clock_selection ()

Undocumented field. zero after reset.

Defined at line 648 of file ../../src/graphics/display/drivers/amlogic-display/vpu-regs.h

template <, >
SelfType & set_rasp_dpi_clock_selection (typename SelfType::ValueType val)

Undocumented field. zero after reset.

Defined at line 648 of file ../../src/graphics/display/drivers/amlogic-display/vpu-regs.h

template <, >
SelfType & set_viu1_vsync_encoder_selection (Encoder val)

The encoder whose Vsync is connected to VIU1.

Only used when `vsync_shared_by_viu_blocks` is true.

Defined at line 670 of file ../../src/graphics/display/drivers/amlogic-display/vpu-regs.h

template <, >
Encoder viu1_vsync_encoder_selection ()

The encoder whose Vsync is connected to VIU1.

Only used when `vsync_shared_by_viu_blocks` is true.

Defined at line 670 of file ../../src/graphics/display/drivers/amlogic-display/vpu-regs.h

template <, >
SelfType & set_viu2_encoder_selection (Encoder val)

The encoder connected to VIU2.

Both the encoder's Vsync control signal and data signals will be connected

to VIU2.

Defined at line 676 of file ../../src/graphics/display/drivers/amlogic-display/vpu-regs.h

template <, >
Encoder viu2_encoder_selection ()

The encoder connected to VIU2.

Both the encoder's Vsync control signal and data signals will be connected

to VIU2.

Defined at line 676 of file ../../src/graphics/display/drivers/amlogic-display/vpu-regs.h

template <, >
SelfType & set_viu1_encoder_selection (Encoder val)

The encoder whose data signals are connected to VIU1.

If `vsync_shared_by_viu_blocks` is false, the same encoder's Vsync signal

will also be encoded to VIU1.

Defined at line 682 of file ../../src/graphics/display/drivers/amlogic-display/vpu-regs.h

template <, >
Encoder viu1_encoder_selection ()

The encoder whose data signals are connected to VIU1.

If `vsync_shared_by_viu_blocks` is false, the same encoder's Vsync signal

will also be encoded to VIU1.

Defined at line 682 of file ../../src/graphics/display/drivers/amlogic-display/vpu-regs.h

Enumerations

enum Encoder
Name Value
kLcd 0
kInterlaced 1
kProgressive 2
kTvPanel 3

Defined at line 615 of file ../../src/graphics/display/drivers/amlogic-display/vpu-regs.h

Records