class VideoInputCommandControl

Defined at line 30 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

VDIN0_COM_CTRL0, VDIN1_COM_CTRL0.

A311D Datasheet, Section 10.2.3.42 VDIN, Pages 1086-1087, 1108-1109.

S905D2 Datasheet, Section 7.2.3.41 VDIN, Pages 777, 801.

S905D3 Datasheet, Section 8.2.3.42 VDIN, Pages 713-714, 736-737.

Public Members

 field_bypass_mpeg_noise_reduction_77
 field_mpeg_field_info_78
 field_trigger_go_field_pulse_82
 field_trigger_go_line_pulse_86
 field_mpeg_go_field_input_signal_enabled_88
 field_hold_lines_94
 field_go_field_pulse_delayed_97
 field_go_field_pulse_delay_lines_101
 field_component2_output_selection_104
 field_component1_output_selection_105
 field_component0_output_selection_106
 field_video_input_cropped_110
 field_video_input_enabled_112
 field_input_source_selection_116

Public Methods

hwreg::RegisterAddr<VideoInputCommandControl> Get (VideoInputModuleId video_input)

Defined at line 67 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

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

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

Defined at line 77 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

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

Defined at line 77 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

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

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

Defined at line 78 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

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

Defined at line 78 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

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

Trigger a go_field (Vsync) pulse on the video input module when true is

written.

Defined at line 82 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

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

Trigger a go_field (Vsync) pulse on the video input module when true is

written.

Defined at line 82 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

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

Trigger a go_line (Hsync) pulse on the video input module when true is

written.

Defined at line 86 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

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

Trigger a go_line (Hsync) pulse on the video input module when true is

written.

Defined at line 86 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

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

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

Defined at line 88 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

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

Defined at line 88 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

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

Not documented for this register; for fields of the same name in other

registers (VD1_IF0_GEN_REG, DI_IF0_GEN_REG, etc.), `hold_lines` is the

number of lines to hold after go_field pulse and before the module is

enabled.

Defined at line 94 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

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

Not documented for this register; for fields of the same name in other

registers (VD1_IF0_GEN_REG, DI_IF0_GEN_REG, etc.), `hold_lines` is the

number of lines to hold after go_field pulse and before the module is

enabled.

Defined at line 94 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

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

Whether the `go_field` pulse is delayed for the video input module.

Defined at line 97 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

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

Whether the `go_field` pulse is delayed for the video input module.

Defined at line 97 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

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

Number of lines that `go_field` pulse is delayed, if

`go_field_pulse_delayed` is true.

Defined at line 101 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

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

Number of lines that `go_field` pulse is delayed, if

`go_field_pulse_delayed` is true.

Defined at line 101 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

template <, >
ComponentInput component2_output_selection ()

Seems unused for internal loopback mode.

Defined at line 104 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

template <, >
SelfType & set_component2_output_selection (ComponentInput val)

Seems unused for internal loopback mode.

Defined at line 104 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

template <, >
ComponentInput component1_output_selection ()

Defined at line 105 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

template <, >
SelfType & set_component1_output_selection (ComponentInput val)

Defined at line 105 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

template <, >
ComponentInput component0_output_selection ()

Defined at line 106 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

template <, >
SelfType & set_component0_output_selection (ComponentInput val)

Defined at line 106 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

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

Indicates whether the video input is cropped using a window specified by

`VDIN0/1_WIN_H_START_END` and `VDIN0/1_WIN_V_START_END` registers.

Defined at line 110 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

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

Indicates whether the video input is cropped using a window specified by

`VDIN0/1_WIN_H_START_END` and `VDIN0/1_WIN_V_START_END` registers.

Defined at line 110 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

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

Defined at line 112 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

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

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

Defined at line 112 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

template <, >
InputSource input_source_selection ()

If the input source doesn't equal to any value specified in `InputSource`,

no input is provided to the video input module.

Defined at line 116 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

template <, >
SelfType & set_input_source_selection (InputSource val)

If the input source doesn't equal to any value specified in `InputSource`,

no input is provided to the video input module.

Defined at line 116 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

VideoInputCommandControl & SetInputSource (InputSource input_source)

Defined at line 118 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

InputSource GetInputSource ()

Defined at line 138 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

Enumerations

enum class ComponentInput : uint32_t
Name Value
kComponentInput0 0b00
kComponentInput1 0b01
kComponentInput2 0b10

Defined at line 32 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

enum class InputSource : uint32_t
Name Value Comments
kNoInput 0 --
kMpegFromDram 1 --
kBt656 2 --
kReservedForComponent 3 --
kReservedForTvDecoder 4 --
kReservedForHdmiRx 5 --
kDigitalVideoInput 6 --
kWritebackMux0 7

Source selected by `WritebackMuxControl`.

This source is documented as "Internal loopback from VIU" on A311D,
S905D2, and T931. Experiments on VIM3 (A311D), Astro (S905D2) and
Sherlock (T931) confirmed that the behavior actually matches S905D3.

kReservedForMipiCsi2 8

Source selected by `WritebackMuxControl`.

This source is documented as "Internal loopback from VIU" on A311D,
S905D2, and T931. Experiments on VIM3 (A311D), Astro (S905D2) and
Sherlock (T931) confirmed that the behavior actually matches S905D3.

kWritebackMux1 9

Source selected by `WritebackMuxControl`.

This source is documented as "Reserved (ISP)" on A311D, S905D2, and T931.
Experiments on VIM3 (A311D), Astro (S905D2) and Sherlock (T931) confirmed
that the behavior actually matches S905D3.

kSecondBt656 10

Source selected by `WritebackMuxControl`.

This source is documented as "Reserved (ISP)" on A311D, S905D2, and T931.
Experiments on VIM3 (A311D), Astro (S905D2) and Sherlock (T931) confirmed
that the behavior actually matches S905D3.

Values for the `input_source_selection` field.

Defined at line 39 of file ../../src/graphics/display/drivers/amlogic-display/video-input-regs.h

Records