IPU SDC submodule API functions. More...
Functions | |
int32_t | ipu_sdc_init_panel (ipu_panel_t panel, uint32_t pixel_clk, uint16_t width, uint16_t height, uint32_t pixel_fmt, uint16_t h_start_width, uint16_t h_sync_width, uint16_t h_end_width, uint16_t v_start_width, uint16_t v_sync_width, uint16_t v_end_width, ipu_di_signal_cfg_t sig) |
int32_t | ipu_sdc_set_global_alpha (bool enable, uint8_t alpha) |
int32_t | ipu_sdc_set_color_key (ipu_channel_t channel, bool enable, uint32_t color_key) |
int32_t | ipu_disp_set_window_pos (ipu_channel_t channel, int16_t x_pos, int16_t y_pos) |
IPU SDC submodule API functions.
int32_t ipu_disp_set_window_pos | ( | ipu_channel_t | channel, | |
int16_t | x_pos, | |||
int16_t | y_pos | |||
) |
This function sets the window position of the foreground or background plane. modes.
channel | Input parameter for the logical channel ID. | |
x_pos | The X coordinate position to place window at. The position is relative to the top left corner. | |
y_pos | The Y coordinate position to place window at. The position is relative to the top left corner. |
Referenced by prpvf_start().
int32_t ipu_sdc_init_panel | ( | ipu_panel_t | panel, | |
uint32_t | pixel_clk, | |||
uint16_t | width, | |||
uint16_t | height, | |||
uint32_t | pixel_fmt, | |||
uint16_t | h_start_width, | |||
uint16_t | h_sync_width, | |||
uint16_t | h_end_width, | |||
uint16_t | v_start_width, | |||
uint16_t | v_sync_width, | |||
uint16_t | v_end_width, | |||
ipu_di_signal_cfg_t | sig | |||
) |
This function is called to initialize a synchronous LCD panel.
panel | The type of panel. | |
pixel_clk | Desired pixel clock frequency in Hz. | |
pixel_fmt | Input parameter for pixel format of buffer. Pixel format is a FOURCC ASCII code. | |
width | The width of panel in pixels. | |
height | The height of panel in pixels. | |
hStartWidth | The number of pixel clocks between the HSYNC signal pulse and the start of valid data. | |
hSyncWidth | The width of the HSYNC signal in units of pixel clocks. | |
hEndWidth | The number of pixel clocks between the end of valid data and the HSYNC signal for next line. | |
vStartWidth | The number of lines between the VSYNC signal pulse and the start of valid data. | |
vSyncWidth | The width of the VSYNC signal in units of lines | |
vEndWidth | The number of lines between the end of valid data and the VSYNC signal for next frame. | |
sig | Bitfield of signal polarities for LCD interface. |
int32_t ipu_sdc_set_color_key | ( | ipu_channel_t | channel, | |
bool | enable, | |||
uint32_t | color_key | |||
) |
This function sets the transparent color key for SDC graphic plane.
channel | Input parameter for the logical channel ID. | |
enable | Boolean to enable or disable color key | |
colorKey | 24-bit RGB color to use as transparent color key. |
Referenced by mxcfb_probe().
int32_t ipu_sdc_set_global_alpha | ( | bool | enable, | |
uint8_t | alpha | |||
) |
This function sets the foreground and background plane global alpha blending modes.
enable | Boolean to enable or disable global alpha blending. If disabled, per pixel blending is used. | |
alpha | Global alpha value. |
Referenced by mxcfb_probe().
© Freescale Semiconductor, Inc., 2007.
All rights reserved. Freescale Confidential Proprietary NDA Required |
![]() |