class HdmiEncoderTransmitterBridgeSetting

Defined at line 1376 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

VPU_HDMI_SETTING

S905D2 Datasheet, Section 7.2.3.1 "VPU Registers", pages 313-314.

A311D Datasheet, Section 10.2.3.1 "VPU Registers", pages 668-669.

S905D3 Datasheet, Section 9.2.3.1 "VPU Registers", pages 260-261.

Public Members

 field_RsvdZ_1412
 field_fifo_read_downsampling_multiplier_minus_one_1430
 field_fifo_write_downsampling_multiplier_minus_one_1442
 field_color_component_mapping_1446
 field_is_dvi_clock_polarity_positive_1456
 field_is_vsync_polarity_positive_1463
 field_is_hsync_polarity_positive_1470
 field_source_encoder_selection_1472

Public Methods

hwreg::RegisterAddr<HdmiEncoderTransmitterBridgeSetting> Get ()

Defined at line 1405 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

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

Downsampling multiplier (reciprocal of the downsampling ratio) of the

Encoder-Transmitter FIFO reading pixel data from the encoder, minus one.

A downsampling multiplier of N means that the FIFO performs a read

operation once every N cycles of the "read clock" (rd_clk), which is

possibly the encoder clock.

It's preferred to use the `fifo_read_downsampling_multiplier()` and

`set_fifo_read_downsampling_multiplier()` helper methods to get / set its

value.

Defined at line 1430 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

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

Downsampling multiplier (reciprocal of the downsampling ratio) of the

Encoder-Transmitter FIFO reading pixel data from the encoder, minus one.

A downsampling multiplier of N means that the FIFO performs a read

operation once every N cycles of the "read clock" (rd_clk), which is

possibly the encoder clock.

It's preferred to use the `fifo_read_downsampling_multiplier()` and

`set_fifo_read_downsampling_multiplier()` helper methods to get / set its

value.

Defined at line 1430 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

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

Downsampling multiplier (reciprocal of the downsampling ratio) of the

Encoder-Transmitter FIFO writing pixel data to the transmitter, minus one.

A downsampling multiplier of N means that the FIFO performs a write

operation once every N cycles of the "write clock" (wr_clk), which is

possibly the HDMI transmitter pixel clock.

It's preferred to use the `fifo_write_downsampling_multiplier()` and

`set_fifo_write_downsampling_multiplier()` helper methods to get / set its

value.

Defined at line 1442 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

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

Downsampling multiplier (reciprocal of the downsampling ratio) of the

Encoder-Transmitter FIFO writing pixel data to the transmitter, minus one.

A downsampling multiplier of N means that the FIFO performs a write

operation once every N cycles of the "write clock" (wr_clk), which is

possibly the HDMI transmitter pixel clock.

It's preferred to use the `fifo_write_downsampling_multiplier()` and

`set_fifo_write_downsampling_multiplier()` helper methods to get / set its

value.

Defined at line 1442 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

template <, >
ColorComponentMappingFrom012 color_component_mapping ()

Sets the ordering of color components reordered by the encoder-transmitter

bridge for the transmitter to read.

Defined at line 1446 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

template <, >
SelfType & set_color_component_mapping (ColorComponentMappingFrom012 val)

Sets the ordering of color components reordered by the encoder-transmitter

bridge for the transmitter to read.

Defined at line 1446 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

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

If true, the polarity of the clock output to the external DVI interface

(not the internal HDMI interface) is positive (active high).

None of the Amlogic SoCs we use (S905D2, A311D and S905D3) support

external DVI interfaces. Amlogic-provided code always sets this bit to 0.

It's preferred to use `dvi_clock_polarity()` and `set_dvi_clock_polarity()`

helper methods to get / set its value.

Defined at line 1456 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

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

If true, the polarity of the clock output to the external DVI interface

(not the internal HDMI interface) is positive (active high).

None of the Amlogic SoCs we use (S905D2, A311D and S905D3) support

external DVI interfaces. Amlogic-provided code always sets this bit to 0.

It's preferred to use `dvi_clock_polarity()` and `set_dvi_clock_polarity()`

helper methods to get / set its value.

Defined at line 1456 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

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

If true, the polarity of the VSYNC signal the bridge outputs is positive

(active high).

It's preferred to use `vsync_polarity()` and `set_vsync_polarity()` helper

methods to get / set its value.

Defined at line 1463 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

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

If true, the polarity of the VSYNC signal the bridge outputs is positive

(active high).

It's preferred to use `vsync_polarity()` and `set_vsync_polarity()` helper

methods to get / set its value.

Defined at line 1463 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

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

If true, the polarity of the HSYNC signal the bridge outputs is positive

(active high).

It's preferred to use `hsync_polarity()` and `set_hsync_polarity()` helper

methods to get / set its value.

Defined at line 1470 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

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

If true, the polarity of the HSYNC signal the bridge outputs is positive

(active high).

It's preferred to use `hsync_polarity()` and `set_hsync_polarity()` helper

methods to get / set its value.

Defined at line 1470 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

template <, >
SelfType & set_source_encoder_selection (SourceEncoderSelection val)

Defined at line 1472 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

template <, >
SourceEncoderSelection source_encoder_selection ()

Defined at line 1472 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

int fifo_read_downsampling_multiplier ()

Defined at line 1474 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

HdmiEncoderTransmitterBridgeSetting & set_fifo_read_downsampling_multiplier (int multiplier)

`multiplier` must be a valid integer in [1, 16].

Defined at line 1479 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

int fifo_write_downsampling_multiplier ()

Defined at line 1485 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

HdmiEncoderTransmitterBridgeSetting & set_fifo_write_downsampling_multiplier (int multiplier)

`multiplier` must be a valid integer in [1, 16].

Defined at line 1490 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

display::SyncPolarity dvi_clock_polarity ()

Defined at line 1496 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

HdmiEncoderTransmitterBridgeSetting & set_dvi_clock_polarity (display::SyncPolarity polarity)

Defined at line 1501 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

display::SyncPolarity vsync_polarity ()

Defined at line 1505 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

HdmiEncoderTransmitterBridgeSetting & set_vsync_polarity (display::SyncPolarity polarity)

Defined at line 1510 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

display::SyncPolarity hsync_polarity ()

Defined at line 1514 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

HdmiEncoderTransmitterBridgeSetting & set_hsync_polarity (display::SyncPolarity polarity)

Defined at line 1519 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

Enumerations

enum SourceEncoderSelection
Name Value
kNone 0b00
kInterlaced 0b01
kProgressive 0b10

Defined at line 1379 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

enum ColorComponentMappingFrom012
Name Value
kTo012 0
kTo120 1
kTo102 2
kTo201 3
kTo210 4
kTo021 5

The reordered color components for output, assuming the input color

components are in the (component0, component1, component2) order.

Defined at line 1390 of file ../../src/graphics/display/drivers/amlogic-display/encoder-regs.h

Records