RTEMS 6.1-rc1
|
Data Structures | |
struct | _pxp_output_buffer_config |
PXP output buffer configuration. More... | |
struct | _pxp_ps_buffer_config |
PXP process surface buffer configuration. More... | |
struct | _pxp_as_buffer_config |
PXP alphs surface buffer configuration. More... | |
struct | _pxp_as_blend_config |
PXP alpha surface blending configuration. More... | |
struct | _pxp_csc2_config |
PXP CSC2 configuration. More... | |
struct | _pxp_lut_config |
PXP LUT configuration. More... | |
struct | _pxp_dither_final_lut_data |
PXP dither final LUT data. More... | |
struct | _pxp_dither_config |
PXP dither configuration. More... | |
struct | pxp_porter_duff_config_t |
PXP Porter Duff configuration. More... | |
struct | _pxp_pic_copy_config |
PXP Porter Duff blend mode. Note: don't change the enum item value. More... | |
Macros | |
#define | PXP_LUT_TABLE_BYTE (16UL * 1024UL) |
#define | PXP_INTERNAL_RAM_LUT_BYTE (256) |
Initialization and deinitialization | |
void | PXP_Init (PXP_Type *base) |
Initialize the PXP. More... | |
void | PXP_Deinit (PXP_Type *base) |
De-initialize the PXP. More... | |
void | PXP_Reset (PXP_Type *base) |
Reset the PXP. More... | |
void | PXP_ResetControl (PXP_Type *base) |
Reset the PXP and the control register to initialized state. More... | |
Alpha surface | |
void | PXP_SetAlphaSurfaceBufferConfig (PXP_Type *base, const pxp_as_buffer_config_t *config) |
Set the alpha surface input buffer configuration. More... | |
void | PXP_SetAlphaSurfaceBlendConfig (PXP_Type *base, const pxp_as_blend_config_t *config) |
Set the alpha surface blending configuration. More... | |
void | PXP_SetAlphaSurfaceOverlayColorKey (PXP_Type *base, uint32_t colorKeyLow, uint32_t colorKeyHigh) |
Set the alpha surface overlay color key. More... | |
void | PXP_SetAlphaSurfacePosition (PXP_Type *base, uint16_t upperLeftX, uint16_t upperLeftY, uint16_t lowerRightX, uint16_t lowerRightY) |
Set the alpha surface position in output buffer. More... | |
Process surface | |
void | PXP_SetProcessSurfaceBufferConfig (PXP_Type *base, const pxp_ps_buffer_config_t *config) |
Set the process surface input buffer configuration. More... | |
void | PXP_SetProcessSurfaceScaler (PXP_Type *base, uint16_t inputWidth, uint16_t inputHeight, uint16_t outputWidth, uint16_t outputHeight) |
Set the process surface scaler configuration. More... | |
void | PXP_SetProcessSurfacePosition (PXP_Type *base, uint16_t upperLeftX, uint16_t upperLeftY, uint16_t lowerRightX, uint16_t lowerRightY) |
Set the process surface position in output buffer. More... | |
void | PXP_SetProcessSurfaceColorKey (PXP_Type *base, uint32_t colorKeyLow, uint32_t colorKeyHigh) |
Set the process surface color key. More... | |
Output buffer | |
void | PXP_SetOutputBufferConfig (PXP_Type *base, const pxp_output_buffer_config_t *config) |
Set the PXP outpt buffer configuration. More... | |
void | PXP_BuildRect (PXP_Type *base, pxp_output_pixel_format_t outFormat, uint32_t value, uint16_t width, uint16_t height, uint16_t pitch, uint32_t outAddr) |
Build a solid rectangle of given pixel value. More... | |
Command queue | |
void | PXP_SetNextCommand (PXP_Type *base, void *commandAddr) |
Set the next command. More... | |
Color space conversion | |
void | PXP_SetCsc2Config (PXP_Type *base, const pxp_csc2_config_t *config) |
Set the CSC2 configuration. More... | |
void | PXP_SetCsc1Mode (PXP_Type *base, pxp_csc1_mode_t mode) |
Set the CSC1 mode. More... | |
LUT operations | |
void | PXP_SetLutConfig (PXP_Type *base, const pxp_lut_config_t *config) |
Set the LUT configuration. More... | |
status_t | PXP_LoadLutTable (PXP_Type *base, pxp_lut_lookup_mode_t lookupMode, uint32_t bytesNum, uint32_t memAddr, uint16_t lutStartAddr) |
Set the look up table to PXP. More... | |
Porter Duff | |
void | PXP_SetPorterDuffConfig (PXP_Type *base, const pxp_porter_duff_config_t *config) |
Set the Porter Duff configuration. More... | |
status_t | PXP_GetPorterDuffConfig (pxp_porter_duff_blend_mode_t mode, pxp_porter_duff_config_t *config) |
Get the Porter Duff configuration by blend mode. More... | |
Buffer copy | |
status_t | PXP_StartPictureCopy (PXP_Type *base, const pxp_pic_copy_config_t *config) |
Copy picture from one buffer to another buffer. More... | |
status_t | PXP_StartMemCopy (PXP_Type *base, uint32_t srcAddr, uint32_t destAddr, uint32_t size) |
Copy continous memory. More... | |
status_t | PXP_MemCopy (PXP_Type *base, uint32_t srcAddr, uint32_t destAddr, uint32_t size) |
Copy continous memory. More... | |
typedef struct _pxp_csc2_config pxp_csc2_config_t |
PXP CSC2 configuration.
Converting from YUV/YCbCr color spaces to the RGB color space uses the following equation structure:
R = A1(Y+D1) + A2(U+D2) + A3(V+D3) G = B1(Y+D1) + B2(U+D2) + B3(V+D3) B = C1(Y+D1) + C2(U+D2) + C3(V+D3)
Converting from the RGB color space to YUV/YCbCr color spaces uses the following equation structure:
Y = A1*R + A2*G + A3*B + D1 U = B1*R + B2*G + B3*B + D2 V = C1*R + C2*G + C3*B + D3
typedef enum _pxp_rop_mode pxp_rop_mode_t |
PXP ROP mode during blending.
Explanation:
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
Enumerator | |
---|---|
kPXP_PorterDuffColorStraight |
|
kPXP_PorterDuffColorInversed |
|
kPXP_PorterDuffColorNoAlpha | s0_pixel' = s0_pixel. |
kPXP_PorterDuffColorWithAlpha | s0_pixel' = s0_pixel * s0_alpha". |
enum _pxp_alpha_mode |
PXP alpha mode during blending.
enum _pxp_as_pixel_format |
PXP alpha surface buffer pixel format.
enum _pxp_block_size |
enum _pxp_csc1_mode |
enum _pxp_csc2_mode |
enum _pxp_dither_lut_mode |
PXP dither LUT mode.
enum _pxp_dither_mode |
PXP dither mode.
enum _pxp_flags |
PXP status flags.
Enumerator | |
---|---|
kPXP_CompleteFlag | PXP process completed. bit 0 |
kPXP_Axi0WriteErrorFlag | PXP encountered an AXI write error and processing has been terminated. bit 1 |
kPXP_Axi0ReadErrorFlag | PXP encountered an AXI read error and processing has been terminated. bit 2 |
kPXP_CommandLoadFlag | The command set by PXP_SetNextCommand has been loaded, could set new command. bit 3 |
kPXP_LutDmaLoadFlag | The LUT table has been loaded by DMA. bit 8 |
enum _pxp_flip_mode |
PXP interlaced output mode.
PXP interrupts to enable.
Enumerator | |
---|---|
kPXP_CompleteInterruptEnable | PXP process completed. bit 1 |
kPXP_CommandLoadInterruptEnable | Interrupt to show that the command set by PXP_SetNextCommand has been loaded. bit 2 |
kPXP_LutDmaLoadInterruptEnable | The LUT table has been loaded by DMA. bit 3 |
enum _pxp_lut_8k_bank |
PXP LUT 8K bank index used when lookup mode is kPXP_LutDirectRGB444.
Enumerator | |
---|---|
kPXP_Lut8kBank0 | The first 8K bank used. |
kPXP_Lut8kBank1 | The second 8K bank used. |
enum _pxp_lut_lookup_mode |
PXP LUT lookup mode.
enum _pxp_lut_out_mode |
PXP output buffer format.
PXP Porter Duff blend mode. Note: don't change the enum item value.
enum _pxp_ps_pixel_format |
PXP process surface buffer pixel format.
enum _pxp_ps_yuv_format |
enum _pxp_ram |
enum _pxp_rop_mode |
PXP ROP mode during blending.
Explanation:
enum _pxp_rotate_degree |
enum _pxp_rotate_position |
void PXP_BuildRect | ( | PXP_Type * | base, |
pxp_output_pixel_format_t | outFormat, | ||
uint32_t | value, | ||
uint16_t | width, | ||
uint16_t | height, | ||
uint16_t | pitch, | ||
uint32_t | outAddr | ||
) |
Build a solid rectangle of given pixel value.
base | PXP peripheral base address. |
outFormat | output pixel format. |
value | The value of the pixel to be filled in the rectangle in ARGB8888 format. |
width | width of the rectangle. |
height | height of the rectangle. |
pitch | output pitch in byte. |
outAddr | address of the memory to store the rectangle. |
brief Build a solid rectangle of given pixel value.
param base PXP peripheral base address. param outFormat output pixel format. param value The value of the pixel to be filled in the rectangle in ARGB8888 format. param width width of the rectangle. param height height of the rectangle. param pitch output pitch in byte. param outAddr address of the memory to store the rectangle.
void PXP_Deinit | ( | PXP_Type * | base | ) |
De-initialize the PXP.
This function disables the PXP peripheral clock.
base | PXP peripheral base address. |
brief De-initialize the PXP.
This function disables the PXP peripheral clock.
param base PXP peripheral base address.
status_t PXP_GetPorterDuffConfig | ( | pxp_porter_duff_blend_mode_t | mode, |
pxp_porter_duff_config_t * | config | ||
) |
Get the Porter Duff configuration by blend mode.
The FactorMode are selected based on blend mode, the AlphaMode are set to kPXP_PorterDuffAlphaStraight, the ColorMode are set to kPXP_PorterDuffColorWithAlpha, the GlobalAlphaMode are set to kPXP_PorterDuffLocalAlpha. These values could be modified after calling this function.
mode | The blend mode. |
config | Pointer to the configuration. |
kStatus_Success | Successfully get the configuratoin. |
kStatus_InvalidArgument | The blend mode not supported. |
brief Get the Porter Duff configuration by blend mode.
param mode The blend mode. param config Pointer to the configuration. retval kStatus_Success Successfully get the configuratoin. retval kStatus_InvalidArgument The blend mode not supported.
void PXP_Init | ( | PXP_Type * | base | ) |
Initialize the PXP.
This function enables the PXP peripheral clock, and resets the PXP registers to default status.
base | PXP peripheral base address. |
brief Initialize the PXP.
This function enables the PXP peripheral clock, and resets the PXP registers to default status.
param base PXP peripheral base address.
status_t PXP_LoadLutTable | ( | PXP_Type * | base, |
pxp_lut_lookup_mode_t | lookupMode, | ||
uint32_t | bytesNum, | ||
uint32_t | memAddr, | ||
uint16_t | lutStartAddr | ||
) |
Set the look up table to PXP.
If lookup mode is DIRECT mode, this function loads bytesNum
of values from the address memAddr
into PXP LUT address lutStartAddr
. So this function allows only update part of the PXP LUT.
If lookup mode is CACHE mode, this function sets the new address to memAddr
and invalid the PXP LUT cache.
base | PXP peripheral base address. |
lookupMode | Which lookup mode is used. Note that this parameter is only used to distinguish DIRECT mode and CACHE mode, it does not change the register value PXP_LUT_CTRL[LOOKUP_MODE]. To change that value, use function PXP_SetLutConfig. |
bytesNum | How many bytes to set. This value must be divisable by 8. |
memAddr | Address of look up table to set. |
lutStartAddr | The LUT value will be loaded to LUT from index lutAddr. It should be 8 bytes aligned. |
kStatus_Success | Load successfully. |
kStatus_InvalidArgument | Failed because of invalid argument. |
brief Set the look up table to PXP.
If lookup mode is DIRECT mode, this function loads p bytesNum of values from the address p memAddr into PXP LUT address p lutStartAddr. So this function allows only update part of the PXP LUT.
If lookup mode is CACHE mode, this function sets the new address to p memAddr and invalid the PXP LUT cache.
param base PXP peripheral base address. param lookupMode Which lookup mode is used. Note that this parameter is only used to distinguish DIRECT mode and CACHE mode, it does not change the register value PXP_LUT_CTRL[LOOKUP_MODE]. To change that value, use function ref PXP_SetLutConfig. param bytesNum How many bytes to set. This value must be divisable by 8. param memAddr Address of look up table to set. param lutStartAddr The LUT value will be loaded to LUT from index lutAddr. It should be 8 bytes aligned.
retval kStatus_Success Load successfully. retval kStatus_InvalidArgument Failed because of invalid argument.
Copy continous memory.
base | PXP peripheral base address. |
srcAddr | Source memory address. |
destAddr | Destination memory address. |
size | How many bytes to copy, should be 512 byte aligned. |
kStatus_Success | Successfully started the copy process. |
kStatus_InvalidArgument | Invalid argument. |
brief Copy continous memory.
param base PXP peripheral base address. retval kStatus_Success Successfully started the copy process. retval kStatus_InvalidArgument Invalid argument.
void PXP_Reset | ( | PXP_Type * | base | ) |
Reset the PXP.
This function resets the PXP peripheral registers to default status.
base | PXP peripheral base address. |
brief Reset the PXP.
This function resets the PXP peripheral registers to default status.
param base PXP peripheral base address.
void PXP_ResetControl | ( | PXP_Type * | base | ) |
Reset the PXP and the control register to initialized state.
base | PXP peripheral base address. |
brief Reset the PXP and the control register to initialized state.
param base PXP peripheral base address.
void PXP_SetAlphaSurfaceBlendConfig | ( | PXP_Type * | base, |
const pxp_as_blend_config_t * | config | ||
) |
Set the alpha surface blending configuration.
base | PXP peripheral base address. |
config | Pointer to the configuration structure. |
brief Set the alpha surface blending configuration.
param base PXP peripheral base address. param config Pointer to the configuration structure.
void PXP_SetAlphaSurfaceBufferConfig | ( | PXP_Type * | base, |
const pxp_as_buffer_config_t * | config | ||
) |
Set the alpha surface input buffer configuration.
base | PXP peripheral base address. |
config | Pointer to the configuration. |
brief Set the alpha surface input buffer configuration.
param base PXP peripheral base address. param config Pointer to the configuration.
void PXP_SetAlphaSurfaceOverlayColorKey | ( | PXP_Type * | base, |
uint32_t | colorKeyLow, | ||
uint32_t | colorKeyHigh | ||
) |
Set the alpha surface overlay color key.
If a pixel in the current overlay image with a color that falls in the range from the p colorKeyLow to p colorKeyHigh range, it will use the process surface pixel value for that location. If no PS image is present or if the PS image also matches its colorkey range, the PS background color is used.
base | PXP peripheral base address. |
colorKeyLow | Color key low range. |
colorKeyHigh | Color key high range. |
brief Set the alpha surface overlay color key.
If a pixel in the current overlay image with a color that falls in the range from the p colorKeyLow to p colorKeyHigh range, it will use the process surface pixel value for that location. If no PS image is present or if the PS image also matches its colorkey range, the PS background color is used.
param base PXP peripheral base address. param colorKeyLow Color key low range. param colorKeyHigh Color key high range.
note Colorkey operations are higher priority than alpha or ROP operations
void PXP_SetAlphaSurfacePosition | ( | PXP_Type * | base, |
uint16_t | upperLeftX, | ||
uint16_t | upperLeftY, | ||
uint16_t | lowerRightX, | ||
uint16_t | lowerRightY | ||
) |
Set the alpha surface position in output buffer.
base | PXP peripheral base address. |
upperLeftX | X of the upper left corner. |
upperLeftY | Y of the upper left corner. |
lowerRightX | X of the lower right corner. |
lowerRightY | Y of the lower right corner. |
brief Set the alpha surface position in output buffer.
param base PXP peripheral base address. param upperLeftX X of the upper left corner. param upperLeftY Y of the upper left corner. param lowerRightX X of the lower right corner. param lowerRightY Y of the lower right corner.
void PXP_SetCsc1Mode | ( | PXP_Type * | base, |
pxp_csc1_mode_t | mode | ||
) |
Set the CSC1 mode.
The CSC1 module receives scaled YUV/YCbCr444 pixels from the scale engine and converts the pixels to the RGB888 color space. It could only be used by process surface.
base | PXP peripheral base address. |
mode | The conversion mode. |
brief Set the CSC1 mode.
The CSC1 module receives scaled YUV/YCbCr444 pixels from the scale engine and converts the pixels to the RGB888 color space. It could only be used by process surface.
param base PXP peripheral base address. param mode The conversion mode.
void PXP_SetCsc2Config | ( | PXP_Type * | base, |
const pxp_csc2_config_t * | config | ||
) |
Set the CSC2 configuration.
The CSC2 module receives pixels in any color space and can convert the pixels into any of RGB, YUV, or YCbCr color spaces. The output pixels are passed onto the LUT and rotation engine for further processing
base | PXP peripheral base address. |
config | Pointer to the configuration. |
brief Set the CSC2 configuration.
The CSC2 module receives pixels in any color space and can convert the pixels into any of RGB, YUV, or YCbCr color spaces. The output pixels are passed onto the LUT and rotation engine for further processing
param base PXP peripheral base address. param config Pointer to the configuration.
void PXP_SetLutConfig | ( | PXP_Type * | base, |
const pxp_lut_config_t * | config | ||
) |
Set the LUT configuration.
The lookup table (LUT) is used to modify pixels in a manner that is not linear and that cannot be achieved by the color space conversion modules. To setup the LUT, the complete workflow is:
base | PXP peripheral base address. |
config | Pointer to the configuration. |
brief Set the LUT configuration.
The lookup table (LUT) is used to modify pixels in a manner that is not linear and that cannot be achieved by the color space conversion modules. To setup the LUT, the complete workflow is:
param base PXP peripheral base address. param config Pointer to the configuration.
void PXP_SetNextCommand | ( | PXP_Type * | base, |
void * | commandAddr | ||
) |
Set the next command.
The PXP supports a primitive ability to queue up one operation while the current operation is running. Workflow:
base | PXP peripheral base address. |
commandAddr | Address of the new command. |
brief Set the next command.
The PXP supports a primitive ability to queue up one operation while the current operation is running. Workflow:
param base PXP peripheral base address. param commandAddr Address of the new command.
void PXP_SetOutputBufferConfig | ( | PXP_Type * | base, |
const pxp_output_buffer_config_t * | config | ||
) |
Set the PXP outpt buffer configuration.
base | PXP peripheral base address. |
config | Pointer to the configuration. |
brief Set the PXP outpt buffer configuration.
param base PXP peripheral base address. param config Pointer to the configuration.
void PXP_SetPorterDuffConfig | ( | PXP_Type * | base, |
const pxp_porter_duff_config_t * | config | ||
) |
Set the Porter Duff configuration.
base | PXP peripheral base address. |
config | Pointer to the configuration. |
brief Set the Porter Duff configuration.
param base PXP peripheral base address. param config Pointer to the configuration.
void PXP_SetProcessSurfaceBufferConfig | ( | PXP_Type * | base, |
const pxp_ps_buffer_config_t * | config | ||
) |
Set the process surface input buffer configuration.
base | PXP peripheral base address. |
config | Pointer to the configuration. |
brief Set the process surface input buffer configuration.
param base PXP peripheral base address. param config Pointer to the configuration.
void PXP_SetProcessSurfaceColorKey | ( | PXP_Type * | base, |
uint32_t | colorKeyLow, | ||
uint32_t | colorKeyHigh | ||
) |
Set the process surface color key.
If the PS image matches colorkey range, the PS background color is output. Set colorKeyLow
to 0xFFFFFFFF and colorKeyHigh
to 0 will disable the colorkeying.
base | PXP peripheral base address. |
colorKeyLow | Color key low range. |
colorKeyHigh | Color key high range. |
brief Set the process surface color key.
If the PS image matches colorkey range, the PS background color is output. Set p colorKeyLow to 0xFFFFFFFF and p colorKeyHigh to 0 will disable the colorkeying.
param base PXP peripheral base address. param colorKeyLow Color key low range. param colorKeyHigh Color key high range.
void PXP_SetProcessSurfacePosition | ( | PXP_Type * | base, |
uint16_t | upperLeftX, | ||
uint16_t | upperLeftY, | ||
uint16_t | lowerRightX, | ||
uint16_t | lowerRightY | ||
) |
Set the process surface position in output buffer.
base | PXP peripheral base address. |
upperLeftX | X of the upper left corner. |
upperLeftY | Y of the upper left corner. |
lowerRightX | X of the lower right corner. |
lowerRightY | Y of the lower right corner. |
brief Set the process surface position in output buffer.
param base PXP peripheral base address. param upperLeftX X of the upper left corner. param upperLeftY Y of the upper left corner. param lowerRightX X of the lower right corner. param lowerRightY Y of the lower right corner.
void PXP_SetProcessSurfaceScaler | ( | PXP_Type * | base, |
uint16_t | inputWidth, | ||
uint16_t | inputHeight, | ||
uint16_t | outputWidth, | ||
uint16_t | outputHeight | ||
) |
Set the process surface scaler configuration.
The valid down scale fact is 1/(2^12) ~ 16.
base | PXP peripheral base address. |
inputWidth | Input image width. |
inputHeight | Input image height. |
outputWidth | Output image width. |
outputHeight | Output image height. |
brief Set the process surface scaler configuration.
The valid down scale fact is 1/(2^12) ~ 16.
param base PXP peripheral base address. param inputWidth Input image width. param inputHeight Input image height. param outputWidth Output image width. param outputHeight Output image height.
Copy continous memory.
base | PXP peripheral base address. |
srcAddr | Source memory address. |
destAddr | Destination memory address. |
size | How many bytes to copy, should be 512 byte aligned. |
kStatus_Success | Successfully started the copy process. |
kStatus_InvalidArgument | Invalid argument. |
brief Copy continous memory.
The copy size should be 512 byte aligned.
param base PXP peripheral base address. retval kStatus_Success Successfully started the copy process. retval kStatus_InvalidArgument Invalid argument.
status_t PXP_StartPictureCopy | ( | PXP_Type * | base, |
const pxp_pic_copy_config_t * | config | ||
) |
Copy picture from one buffer to another buffer.
This function copies a rectangle from one buffer to another buffer.
Source buffer: srcPicBaseAddr +-----------------------------------------------------------+ | | | (srcOffsetX, srcOffsetY) | | +-------------------+ | | | | | | | | | | | | height | | | | | | | | | | +-------------------+ | | width | | | | srcPicthBytes | +-----------------------------------------------------------+ Destination buffer: destPicBaseAddr +-------------------------------------------+ | | | | | | | (destOffsetX, destOffsetY) | | +-------------------+ | | | | | | | | | | | | height | | | | | | | | | | +-------------------+ | | width | | | | | | | | destPicthBytes | +-------------------------------------------+
base | PXP peripheral base address. |
config | Pointer to the picture copy configuration structure. |
kStatus_Success | Successfully started the copy process. |
kStatus_InvalidArgument | Invalid argument. |
brief Copy picture from one buffer to another buffer.
This function copies a rectangle from one buffer to another buffer.
param base PXP peripheral base address. retval kStatus_Success Successfully started the copy process. retval kStatus_InvalidArgument Invalid argument.
float _pxp_csc2_config::A1 |
A1.
float _pxp_csc2_config::A2 |
A2.
float _pxp_csc2_config::A3 |
A3.
uint8_t _pxp_as_blend_config::alpha |
User defined alpha value, only used when alphaMode is kPXP_AlphaOverride or kPXP_AlphaRop.
pxp_alpha_mode_t _pxp_as_blend_config::alphaMode |
Alpha mode.
float _pxp_csc2_config::B1 |
B1.
float _pxp_csc2_config::B2 |
B2.
float _pxp_csc2_config::B3 |
B3.
uint32_t _pxp_output_buffer_config::buffer0Addr |
Output buffer 0 address.
uint32_t _pxp_output_buffer_config::buffer1Addr |
Output buffer 1 address, used for UV data in YUV 2-plane mode, or field 1 in output interlaced mode.
uint32_t _pxp_ps_buffer_config::bufferAddr |
Input buffer address for the first panel.
uint32_t _pxp_as_buffer_config::bufferAddr |
Input buffer address.
uint32_t _pxp_ps_buffer_config::bufferAddrU |
Input buffer address for the second panel.
uint32_t _pxp_ps_buffer_config::bufferAddrV |
Input buffer address for the third panel.
float _pxp_csc2_config::C1 |
C1.
float _pxp_csc2_config::C2 |
C2.
float _pxp_csc2_config::C3 |
C3.
uint32_t _pxp_lut_config::cfaValue |
The CFA value used when look up mode is kPXP_LutOutRGBW4444CFA.
int16_t _pxp_csc2_config::D1 |
D1.
int16_t _pxp_csc2_config::D2 |
D2.
int16_t _pxp_csc2_config::D3 |
D3.
uint32_t _pxp_dither_final_lut_data::data_11_8 |
Data 11 to data 8. Data 8 is the least significant byte.
uint32_t _pxp_dither_final_lut_data::data_15_12 |
Data 15 to data 12. Data 12 is the least significant byte.
uint32_t _pxp_dither_final_lut_data::data_3_0 |
Data 3 to data 0. Data 0 is the least significant byte.
uint32_t _pxp_dither_final_lut_data::data_7_4 |
Data 7 to data 4. Data 4 is the least significant byte.
uint16_t _pxp_pic_copy_config::destOffsetX |
Copy position in destination picture.
uint16_t _pxp_pic_copy_config::destOffsetY |
Copy position in destination picture.
uint32_t _pxp_pic_copy_config::destPicBaseAddr |
Destination picture base address.
uint16_t _pxp_pic_copy_config::destPitchBytes |
Pitch of the destination buffer.
uint32_t _pxp_dither_config::ditherMode0 |
Dither mode for dither engine 0. See _pxp_dither_mode.
uint32_t _pxp_dither_config::ditherMode1 |
Dither mode for dither engine 1. See _pxp_dither_mode.
uint32_t _pxp_dither_config::ditherMode2 |
Dither mode for dither engine 2. See _pxp_dither_mode.
uint32_t pxp_porter_duff_config_t::dstAlphaMode |
Destination layer (or PS, s0) alpha mode, see pxp_porter_duff_alpha_mode.
uint32_t pxp_porter_duff_config_t::dstColorMode |
Destination layer (or PS, s0) color mode, see pxp_porter_duff_color_mode.
uint32_t pxp_porter_duff_config_t::dstFactorMode |
Destination layer (or PS, s0) factor mode, see pxp_porter_duff_factor_mode.
uint32_t pxp_porter_duff_config_t::dstGlobalAlpha |
Destination layer (or PS, s0) global alpha value, 0~255.
uint32_t pxp_porter_duff_config_t::dstGlobalAlphaMode |
Destination layer (or PS, s0) global alpha mode, see pxp_porter_duff_global_alpha_mode.
uint32_t pxp_porter_duff_config_t::enable |
Enable or disable Porter Duff.
uint32_t _pxp_dither_config::enableDither0 |
Enable dither engine 0 or not, set 1 to enable, 0 to disable.
uint32_t _pxp_dither_config::enableDither1 |
Enable dither engine 1 or not, set 1 to enable, 0 to disable.
uint32_t _pxp_dither_config::enableDither2 |
Enable dither engine 2 or not, set 1 to enable, 0 to disable.
uint32_t _pxp_dither_config::enableFinalLut |
Enable the final LUT, set 1 to enable, 0 to disable.
uint16_t _pxp_output_buffer_config::height |
How many lines in output buffer.
uint16_t _pxp_pic_copy_config::height |
Lines to copy.
uint32_t _pxp_dither_config::idxMatrixSize0 |
Size of index matrix used for dither for dither engine 0, see _pxp_dither_matrix_size.
uint32_t _pxp_dither_config::idxMatrixSize1 |
Size of index matrix used for dither for dither engine 1, see _pxp_dither_matrix_size.
uint32_t _pxp_dither_config::idxMatrixSize2 |
Size of index matrix used for dither for dither engine 2, see _pxp_dither_matrix_size.
pxp_interlaced_output_mode_t _pxp_output_buffer_config::interlacedMode |
Interlaced output mode.
bool _pxp_as_blend_config::invertAlpha |
Set true to invert the alpha.
pxp_lut_lookup_mode_t _pxp_lut_config::lookupMode |
Look up mode.
uint32_t _pxp_dither_config::lutMode |
How to use the memory LUT, see _pxp_dither_lut_mode. This must be set to kPXP_DitherLutOff if any dither engine uses kPXP_DitherOrdered mode.
pxp_csc2_mode_t _pxp_csc2_config::mode |
Convertion mode.
pxp_lut_out_mode_t _pxp_lut_config::outMode |
Out mode.
uint16_t _pxp_output_buffer_config::pitchBytes |
Number of bytes between two vertically adjacent pixels.
uint16_t _pxp_ps_buffer_config::pitchBytes |
Number of bytes between two vertically adjacent pixels.
uint16_t _pxp_as_buffer_config::pitchBytes |
Number of bytes between two vertically adjacent pixels.
pxp_output_pixel_format_t _pxp_output_buffer_config::pixelFormat |
Output buffer pixel format.
pxp_ps_pixel_format_t _pxp_ps_buffer_config::pixelFormat |
PS buffer pixel format.
pxp_as_pixel_format_t _pxp_as_buffer_config::pixelFormat |
AS buffer pixel format.
pxp_as_pixel_format_t _pxp_pic_copy_config::pixelFormat |
Buffer pixel format.
uint32_t _pxp_dither_config::quantBitNum |
Number of bits quantize down to, the valid value is 1~7.
pxp_rop_mode_t _pxp_as_blend_config::ropMode |
ROP mode, only valid when alphaMode is kPXP_AlphaRop.
uint32_t pxp_porter_duff_config_t::srcAlphaMode |
Source layer (or AS, s1) alpha mode, see pxp_porter_duff_alpha_mode.
uint32_t pxp_porter_duff_config_t::srcColorMode |
Source layer (or AS, s1) color mode, see pxp_porter_duff_color_mode.
uint32_t pxp_porter_duff_config_t::srcFactorMode |
Source layer (or AS, s1) factor mode, see pxp_porter_duff_factor_mode.
uint32_t pxp_porter_duff_config_t::srcGlobalAlpha |
Source layer (or AS, s1) global alpha value, 0~255.
uint32_t pxp_porter_duff_config_t::srcGlobalAlphaMode |
Source layer (or AS, s1) global alpha mode, see pxp_porter_duff_global_alpha_mode.
uint16_t _pxp_pic_copy_config::srcOffsetX |
Copy position in source picture.
uint16_t _pxp_pic_copy_config::srcOffsetY |
Copy position in source picture.
uint32_t _pxp_pic_copy_config::srcPicBaseAddr |
Source picture base address.
uint16_t _pxp_pic_copy_config::srcPitchBytes |
Pitch of the source buffer.
bool _pxp_ps_buffer_config::swapByte |
For each 16 bit word, set true to swap the two bytes.
uint16_t _pxp_output_buffer_config::width |
Pixels per line.
uint16_t _pxp_pic_copy_config::width |
Pixel number each line to copy.