class VideoInputWriteRangeVertical

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

VDIN0_WR_V_START_END, VDIN1_WR_V_START_END.

A311D Datasheet, Section 10.2.3.42 VDIN, Pages 1094, 1116.

S905D2 Datasheet, Section 7.2.3.41 VDIN, Pages 785, 809.

S905D3 Datasheet, Section 8.2.3.42 VDIN, Pages 721, 743.

Public Members

 field_vertically_flipped_687
 field_top_line_inclusive_699
 field_bottom_line_inclusive_711

Public Methods

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

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

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

If true, the captured contents are flipped vertically.

This bit is documented for VDIN0 but not documented for VDIN1 in any

Amlogic datasheets. Both "Display Write Back App-Note" and experiments on

Khadas VIM3 (A311D) show that both video input modules have this bit

available.

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

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

If true, the captured contents are flipped vertically.

This bit is documented for VDIN0 but not documented for VDIN1 in any

Amlogic datasheets. Both "Display Write Back App-Note" and experiments on

Khadas VIM3 (A311D) show that both video input modules have this bit

available.

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

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

The top row (inclusive) to write on the write image buffer, in lines.

Must be less than or equal to `bottom_inclusive`.

The Amlogic datasheets specify that this field uses bits 28-16 for VDIN0

bits 27-16 for VDIN1. However, both the "Display Write Back App-Note"

and experiments on Khadas VIM3 (A311D) confirm that it actually uses

bits 28-16 for both VDINs.

It's preferred to use the `SetVerticalRange()` helper method.

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

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

The top row (inclusive) to write on the write image buffer, in lines.

Must be less than or equal to `bottom_inclusive`.

The Amlogic datasheets specify that this field uses bits 28-16 for VDIN0

bits 27-16 for VDIN1. However, both the "Display Write Back App-Note"

and experiments on Khadas VIM3 (A311D) confirm that it actually uses

bits 28-16 for both VDINs.

It's preferred to use the `SetVerticalRange()` helper method.

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

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

The bottom row (inclusive) to write on the write image buffer, in lines.

Must be greater than or equal to `top_inclusive`.

The Amlogic datasheets specify that this field uses bits 12-0 for VDIN0

bits 11-0 for VDIN1. However, both the "Display Write Back App-Note"

and experiments on Khadas VIM3 (A311D) confirm that it actually uses

bits 12-0 for both VDINs.

It's preferred to use the `SetVerticalRange()` helper method.

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

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

The bottom row (inclusive) to write on the write image buffer, in lines.

Must be greater than or equal to `top_inclusive`.

The Amlogic datasheets specify that this field uses bits 12-0 for VDIN0

bits 11-0 for VDIN1. However, both the "Display Write Back App-Note"

and experiments on Khadas VIM3 (A311D) confirm that it actually uses

bits 12-0 for both VDINs.

It's preferred to use the `SetVerticalRange()` helper method.

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

VideoInputWriteRangeVertical & SetVerticalRange (int top_line_inclusive, int bottom_line_inclusive)

Set the vertical range of the write image buffer to `[top_line_inclusive,

bottom_line_inclusive]`.

`top_line_inclusive` must be less than or equal to `bottom_line_inclusive`.

Both `top_line_inclusive` and `bottom_line_inclusive` must be non-negative

and less than 2^13 (8192).

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

Records