HPM SDK
HPMicro Software Development Kit
pdma_plane_config Struct Reference

PDMA plane config. More...

#include <hpm_pdma_drv.h>

Data Fields

bool swap_byte3_byte1
 
bool use_background_as_clear
 
bool ycbcr_mode
 
bool bypass_colorspace_conversion
 
bool byte_swap
 
display_byteorder_t byteorder
 
pdma_flip_t flip
 
pdma_rotate_t rotate
 
pdma_decimation_t x_dec
 
pdma_decimation_t y_dec
 
display_pixel_format_t pixel_format
 
uint32_t buffer
 
uint32_t background
 
uint32_t colorkey_high
 
uint32_t colorkey_low
 
uint16_t x_scale
 
uint16_t y_scale
 
uint16_t pitch
 
uint16_t x_offset
 
uint16_t y_offset
 
uint16_t width
 
uint16_t height
 

Detailed Description

PDMA plane config.

Field Documentation

◆ background

uint32_t pdma_plane_config::background

background color

◆ buffer

uint32_t pdma_plane_config::buffer

buffer address

◆ bypass_colorspace_conversion

bool pdma_plane_config::bypass_colorspace_conversion

set true to bypass color space conversion

◆ byte_swap

bool pdma_plane_config::byte_swap

set true to swap [31:16] and [15:0]

◆ byteorder

display_byteorder_t pdma_plane_config::byteorder

packing byte order type

◆ colorkey_high

uint32_t pdma_plane_config::colorkey_high

colorkey high limit

◆ colorkey_low

uint32_t pdma_plane_config::colorkey_low

colorkey low limit

◆ flip

pdma_flip_t pdma_plane_config::flip

flip type

◆ height

uint16_t pdma_plane_config::height

height

◆ pitch

uint16_t pdma_plane_config::pitch

pitch value

◆ pixel_format

display_pixel_format_t pdma_plane_config::pixel_format

pixel format

◆ rotate

pdma_rotate_t pdma_plane_config::rotate

rotate type

◆ swap_byte3_byte1

bool pdma_plane_config::swap_byte3_byte1

set true to swap byte [31:24] and byte [15:8]

◆ use_background_as_clear

bool pdma_plane_config::use_background_as_clear

set true to use background color at blending clear mode

◆ width

uint16_t pdma_plane_config::width

width

◆ x_dec

pdma_decimation_t pdma_plane_config::x_dec

horizontal decimation

◆ x_offset

uint16_t pdma_plane_config::x_offset

horizontal offset

◆ x_scale

uint16_t pdma_plane_config::x_scale

14-bit horizontal scale

◆ y_dec

pdma_decimation_t pdma_plane_config::y_dec

vertical decimation

◆ y_offset

uint16_t pdma_plane_config::y_offset

vertical offset

◆ y_scale

uint16_t pdma_plane_config::y_scale

14-bit vertical scale

◆ ycbcr_mode

bool pdma_plane_config::ycbcr_mode

set true if it is YCbCr mode


The documentation for this struct was generated from the following file: