class HdmiEncoderAdvancedModeConfig

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

ENCP_VIDEO_MODE_ADV

S912 Datasheet, Section 27.5 "CVBS and LCD", page 382.

Public Members

 field_RsvdZ_419
 field_sp_timing_control_421
 field_cr_bypasses_limiter_423
 field_cb_bypasses_limiter_424
 field_y_bypasses_limiter_425
 field_gamma_rgb_input_selection_426
 field_RsvdZ_432
 field_hue_matrix_enabled_436
 field_pb_pr_swapped_440
 field_pb_pr_hsync_enabled_441
 field_ypbpr_gain_as_hdtv_type_442
 field_viu_fifo_enabled_446
 field_viu_fifo_downsampling_multiplier_selection_451

Public Methods

hwreg::RegisterAddr<HdmiEncoderAdvancedModeConfig> Get ()

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

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

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

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

NOLINTEND(misc-non-private-member-variables-in-classes)

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

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

NOLINTEND(misc-non-private-member-variables-in-classes)

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

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

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

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

NOLINTEND(misc-non-private-member-variables-in-classes)

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

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

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

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

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

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

NOLINTEND(misc-non-private-member-variables-in-classes)

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

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

NOLINTEND(misc-non-private-member-variables-in-classes)

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

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

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

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

True iff the hue adjustment matrix (controlled by ENCP_VIDEO_MATRIX_CB

and ENCP_VIDEO_MATRIX_CR) is enabled.

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

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

True iff the hue adjustment matrix (controlled by ENCP_VIDEO_MATRIX_CB

and ENCP_VIDEO_MATRIX_CR) is enabled.

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

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

Bits 6-4 are related to YPbPr (analog output) which seem to be unused

for the HDMI encoder.

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

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

Bits 6-4 are related to YPbPr (analog output) which seem to be unused

for the HDMI encoder.

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

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

NOLINTEND(misc-non-private-member-variables-in-classes)

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

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

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

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

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

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

NOLINTEND(misc-non-private-member-variables-in-classes)

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

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

True iff the VIU FIFO (VFIFO) which samples the VIU output pixels is

enabled.

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

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

True iff the VIU FIFO (VFIFO) which samples the VIU output pixels is

enabled.

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

template <, >
SelfType & set_viu_fifo_downsampling_multiplier_selection (ViuFifoDownsamplingMultiplierSelection val)

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

`set_viu_fifo_downsampling_multiplier()` helper methods.

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

template <, >
ViuFifoDownsamplingMultiplierSelection viu_fifo_downsampling_multiplier_selection ()

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

`set_viu_fifo_downsampling_multiplier()` helper methods.

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

int viu_fifo_downsampling_multiplier ()

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

HdmiEncoderAdvancedModeConfig & set_viu_fifo_downsampling_multiplier (int multiplier)

`multiplier` must be 1, 2, 4 or 8.

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

Enumerations

enum ViuFifoDownsamplingMultiplierSelection
Name Value
k1 0
k2 1
k4 2
k8 3

Selection of the downsampling multiplier (reciprocal of the downsampling

ratio) from the VIU to the VIU FIFO (VFIFO).

A downsampling multiplier of N means that the VIU FIFO only takes one of

every N pixels from the VIU's output.

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

Records