class HdmiEncoderHorizontalTotal

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

ENCP_VIDEO_MAX_PXCNT (Max pixel counter)

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

Public Members

 field_RsvdZ_500
 field_pixels_minus_one_513

Public Methods

hwreg::RegisterAddr<HdmiEncoderHorizontalTotal> Get ()

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

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

The horizontal period is `pixels_minus_one + 1` pixels.

ENCP horizontal pixel registers must be set to values within the range

[0..pixels_minus_one].

For a horizontal range of pixels [start..end]:

- If start

<

= end, the pixels are within the same line.

- If start > end, the pixels [start..pixels_minus_one] are

on one line, while pixels [0..end] are rolled over to the next line.

It's preferred to use `pixels()` and `set_pixels()` helper methods.

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

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

The horizontal period is `pixels_minus_one + 1` pixels.

ENCP horizontal pixel registers must be set to values within the range

[0..pixels_minus_one].

For a horizontal range of pixels [start..end]:

- If start

<

= end, the pixels are within the same line.

- If start > end, the pixels [start..pixels_minus_one] are

on one line, while pixels [0..end] are rolled over to the next line.

It's preferred to use `pixels()` and `set_pixels()` helper methods.

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

int pixels ()

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

HdmiEncoderHorizontalTotal & set_pixels (int pixels)

`pixels` must be within [1, 2^13].

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

Records