Sunxi disp driver interface/IOCTL

From linux-sunxi.org
Jump to navigation Jump to search

Framebuffer Engine

IOCTL Args Success Failed Description
FBIOGET_VSCREENINFO
  • var screen information(struct fb_var_screeninfo*)
0 errno Get framebuffer var screen information.
FBIOPUT_VSCREENINFO
  • var screen information(struct fb_var_screeninfo*)
0 errno Set framebuffer var screen information.
FBIOGET_FSCREENINFO
  • fix screen information(struct fb_fix_screeninfo *)
0 errno Get framebuffer fix screen information.
FBIOPUTCMAP
  • Palette(struct fb_cmap_user*)
0 errno Set framebuffer Palette.
FBIOGETCMAP
  • Palette(struct fb_cmap_user*)
0 errno Get framebuffer Palette.
FBIOPAN_DISPLAY
  • var screen information(struct fb_var_screeninfo*)
0 errno pan display, adjustment var.xoffset, var.yoffset, var.xres, var.yres.
FBIOBLANK
  • blank mode
0 errno Currently defined for the framebuffer the corresponding layers switch??? (todo)
FBIOGET_LAYER_HDL_0
  • Back the Layers handle (unsigned int*)
0 errno Get framebuffer handle corresponding layers on the screen 0.
FBIOGET_LAYER_HDL_1
  • Back the Layers handle (unsigned int*)
0 errno Get framebuffer handle corresponding layers on the screen 1.

Display Engine

Framebuffer IOCTLs

IOCTL Args Success Failed Description
DISP_CMD_FB_REQUEST
  • framebuffer id(0~7)
  • the framebuffer to apply parameters (__disp_fb_create_para_t *)
framebuffer handle errno Application framebuffer, the framebuffer operation must apply.
DISP_CMD_FB_RELEASE
  • framebuffer_handle
0 errno Release framebuffer.

Global IOCTLs

IOCTL Args Success Failed Description
DISP_CMD_START_CMD_CACHE
  • screen[0, 1]
0 errno Start cache. Behind the IO command will not be executed immediately, but wait until call DISP_CMD_EXECUTE_CMD_AND_STOP_CACHE after execution in conjunction.
DISP_CMD_EXECUTE_CMD_AND_STOP_CACHE
  • screen [0, 1]
0 errno Execute commands and stop the cache.
DISP_CMD_SET_BKCOLOR
  • screen [0, 1]
  • background colour (__disp_color_t *)
0 errno Set the background colour.
DISP_CMD_GET_BKCOLOR
  • screen [0, 1]
  • background colour (__disp_color_t *)
0 errno Get the background colour.
DISP_CMD_SET_COLORKEY
  • screen [0, 1]
  • color key parameter (__disp_colorkey_t *)
0 errno Set color key.
DISP_CMD_GET_COLORKEY
  • screen [0, 1]
  • color key parameter (__disp_colorkey_t *)
0 errno Get color key.
DISP_CMD_SET_PALETTE_TBL
  • screen id (0/1)
  • Address (__u32 *)
  • offset (__u32, 4bytes alignment)
  • size (4bytes alignment, unit byte)
0 errno Set the palette, the total size of the system palette is 256 * 4 byte, and can

be set to any period of continuous regional palette.

DISP_CMD_GET_PALETTE_TBL
  • screen [0, 1]
  • Address (__u32 *)
  • offset (__u32, 4bytes alignment)
  • size (4bytes alignment, unit byte)
0 errno Get palette.
DISP_CMD_SCN_GET_WIDTH
  • screen [0, 1]
The width of the screen. Get the current width of the screen.
DISP_CMD_SCN_GET_HEIGHT
  • screen [0, 1]
The height of the screen. Get the current height of the screen.
DISP_CMD_GET_OUTPUT_TYPE
  • screen [0, 1]
Output type (__disp_output_type_t) Get the current output type (LCD,TV,HDMI,VGA,NONE).
DISP_CMD_SET_GAMMA_TABLE
  • screen [0, 1]
  • Address(__u32 *)
  • N/A
  • size (4bytes alignment, unit byte)
0 errno Set the gamma correction coefficient table.
DISP_CMD_GAMMA_CORRECTION_ON
  • screen [0, 1]
0 errno Enable gamma correction.
DISP_CMD_GAMMA_CORRECTION_OFF
  • screen [0, 1]
0 errno Disable gamma correction.
DISP_CMD_SET_BRIGHT
  • screen [0, 1]
  • brightness value ([0-100], default: 50)
0 errno Set the brightness of the screen.
DISP_CMD_GET_BRIGHT
  • screen [0, 1]
The brightness of the screen. Get the brightness of the screen.
DISP_CMD_SET_CONTRAST
  • screen [0, 1]
  • contrast values ([0-100], default: 50)
0 errno Set the contrast of the screen.
DISP_CMD_GET_CONTRAST
  • screen [0, 1]
The contrast of the screen. Get the contrast of the screen.
DISP_CMD_SET_SATURATION
  • screen [0, 1]
  • saturation value ([0-100], default: 50)
0 errno Set screen saturation.
DISP_CMD_GET_SATURATION
  • screen [0, 1]
The saturation of the screen. Get screen saturation.
DISP_CMD_SET_HUE (sun4i only)
  • screen [0, 1]
  • saturation value ([0-100], default: 50)
0 errno Set screen hue.
DISP_CMD_GET_HUE (sun4i only)
  • screen [0, 1]
screen hue Get screen hue.
DISP_CMD_ENHANCE_ON
  • screen [0, 1]
0 errno Enable screen enhance function.
DISP_CMD_ENHANCE_OFF
  • screen [0, 1]
0 errno Disable screen enhance function.
DISP_CMD_GET_ENHANCE_EN
  • screen [0, 1]
  • 0: disabled
  • 1: enabled
Query whether screen enhance function is enabled.
DISP_CMD_DE_FLICKER_ON
  • screen [0, 1]
0 errno Enable deflicker function (in the output interlace where used).
DISP_CMD_DE_FLICKER_OFF
  • screen [0, 1]
0 errno Disable deflicker function.

Layer IOCTLs

IOCTL Args Success Failed Description
DISP_CMD_LAYER_REQUEST
  • screen[0, 1]
  • layers work mode (__disp_layer_work_mode_t)
layer_handle NULL The application layer, the drive will only be allocated to a layer out, did not

make any of the layers set, it is recommended to set this parameter layers call DISP_CMD_LAYER_SET_PARA command immediately after the application layer.

DISP_CMD_LAYER_RELEASE
  • screen [0, 1]
  • layer_handle
0 errno The release layer, after the release of the layers, all the layers registers

are cleared to the default of value, so if you want to re-think using the layer must re-apply.

DISP_CMD_LAYER_OPEN
  • screen [0, 1]
  • layer_handle
0 errno Open the Layer, that can see the layers.
DISP_CMD_LAYER_CLOSE
  • screen [0, 1]
  • layer_handle
0 errno Close layer.
DISP_CMD_LAYER_SET_FB
  • screen [0, 1]
  • layer_handle
  • framebuffer information (__disp_fb_t *)
0 errno Set layer framebuffer, the original source window remains set.
DISP_CMD_LAYER_GET_FB
  • screen [0, 1]
  • layer_handle
  • framebuffer information (__disp_fb_t *)
0 errno Get the layer's framebuffer.
DISP_CMD_LAYER_SET_SRC_WINDOW
  • screen id (0/1)
  • layer_handle
  • source window (__disp_rect *)
0 errno Set the layer's source window
DISP_CMD_LAYER_GET_SRC_WINDOW
  • screen [0, 1]
  • layer_handle
  • source window(__disp_rect *)
0 errno Get the layer's source window.
DISP_CMD_LAYER_SET_SCN_WINDOW
  • screen [0, 1]
  • layer_handle
  • screen window (__disp_rect *)
0 errno Set the layer's screen window.
DISP_CMD_LAYER_GET_SCN_WINDOW
  • screen [0, 1]
  • layer_handle
  • screen window (__disp_rect *)
0 errno Get the layer's screen window.
DISP_CMD_LAYER_SET_PARA
  • screen [0, 1]
  • layer_handle
  • layers parameter (__disp_layer_info_t *)
0 errno Set layer parameters, all the parameters of the layer are set by the command,

in addition to the priority (priority adjustment can only be implemented through DISP_CMD_LAYER_TOP / DISP_CMD_LAYER_BOTTOM).

DISP_CMD_LAYER_GET_PARA
  • screen [0, 1]
  • layer_handle
  • layers parameter(__disp_layer_info_t *)
0 errno Get layer parameter.
DISP_CMD_LAYER_ALPHA_ON
  • screen [0, 1]
  • layer_handle
0 errno Open layers of global alpha function, that use surface alpha.
DISP_CMD_LAYER_ALPHA_OFF
  • screen [0, 1]
  • layer_handle
0 errno Close layers of global alpha function, that use surface alpha.
DISP_CMD_LAYER_GET_ALPHA_EN
  • screen [0, 1]
  • layer_handle
  • 0: disabled
  • 1: enabled
Query whether layer has global alpha enabled.
DISP_CMD_LAYER_SET_ALPHA_VALUE
  • screen [0, 1]
  • layer_handle
  • global alpha value (__u32)
0 errno Set a layer's global alpha value.
DISP_CMD_LAYER_GET_ALPHA_VALUE
  • screen [0, 1]
  • layer_handle
global alpha value Get a layer's global alpha value.
DISP_CMD_LAYER_CK_ON
  • screen [0, 1]
  • layer_handle
0 errno Enable color key on a layer.
DISP_CMD_LAYER_CK_OFF
  • screen [0, 1]
  • layer_handle
0 errno Disable a layer's color key.
DISP_CMD_LAYER_GET_CK_EN
  • screen [0, 1]
  • layer_handle
  • 0: colour key disabled.
  • 1: colour key enabled.
Query whether layer has color key enabled.
DISP_CMD_LAYER_SET_PIPE
  • screen [0, 1]
  • layer_handle
  • pipe (__u32)
0 errno Set the layer pipe, a pipe layer can only be high priority coverage low

priority, rather than do alpha blending.

DISP_CMD_LAYER_GET_PIPE
  • screen [0, 1]
  • layer_handle
pipe Get the pipe associated with the layer.
DISP_CMD_LAYER_TOP
  • screen [0, 1]
  • layer_handle
0 errno Set top layer, the relative relationship between the other layers priority remains unchanged.
DISP_CMD_LAYER_BOTTOM
  • screen [0, 1]
  • layer_handle
0 errno Set bottom layer, the relative relationship between the other layers priority remains unchanged.
DISP_CMD_LAYER_GET_PRIO
  • screen [0, 1]
  • layer_handle
priority Get priority layers (layers from the bottom to the top priority from low to high).
DISP_CMD_LAYER_SET_SMOOTH
  • screen [0, 1]
  • layer_handle
  • smooth (__disp_video_smooth_t)
0 errno Set the layer of smooth (the layer must scaler layers).
DISP_CMD_LAYER_GET_SMOOTH
  • screen [0, 1]
  • layer_handle
smooth (__disp_video_smooth_t) Get the layers smooth (the layer must scaler layer).
DISP_CMD_LAYER_SET_BRIGHT
  • screen [0, 1]
  • layer_handle
  • brightness value
    ([0-100], default: 50)
0 errno Set the brightness of the scaler layer.
DISP_CMD_LAYER_GET_BRIGHT
  • screen [0, 1]
  • layer_handle
brightness level Get scaler layers brightness.
DISP_CMD_LAYER_SET_CONTRAST
  • screen [0, 1]
  • layer_handle
  • contrast value
    ([0-100], default: 50)
0 errno Set scaler layer's contrast.
DISP_CMD_LAYER_GET_CONTRAST
  • screen [0, 1]
  • layer_handle
0 errno Get scaler layers contrast.
DISP_CMD_LAYER_SET_SATURATION
  • screen [0, 1]
  • layer_handle
  • saturation value
    ([0-100], default: 50)
0 errno Set scaler layers saturation
DISP_CMD_LAYER_GET_SATURATION
  • screen [0, 1]
  • layer_handle
0 errno Set the layer of smooth (the layer must scaler layers).
DISP_CMD_LAYER_SET_HUE
  • screen [0, 1]
  • layer_handle
  • tone/hue value
    ([0-100], default: 50)
0 errno Set scaler layers tone/hue.
DISP_CMD_LAYER_GET_HUE
  • screen [0, 1]
  • layer_handle
tone/hue value Get scaler layers tone/hue.
DISP_CMD_LAYER_ENHANCE_ON
  • screen [0, 1]
  • layer_handle
0 errno Enable scaler layers enhance function.
DISP_CMD_LAYER_ENHANCE_OFF
  • screen [0, 1]
  • layer_handle
0 errno Disable scaler layers enhance function.
DISP_CMD_LAYER_GET_ENHANCE_EN
  • screen [0, 1]
  • layer_handle
  • 0: disabled
  • 1: enabled
Query whether a scaler layers enhance function is enabled.
DISP_CMD_LAYER_VPP_ON
  • screen [0, 1]
  • layer_handle
0 errno Enable video post-processing functions (only for scaler layers).
DISP_CMD_LAYER_VPP_OFF
  • screen [0, 1]
  • layer_handle
0 errno Disable video post-processing functions.
DISP_CMD_LAYER_GET_VPP_EN
  • screen [0, 1]
  • layer_handle
  • 0: disabled
  • 1: enabled
Query whether a layers vpp function is enabled.
DISP_CMD_LAYER_SET_LUMA_SHARP_LEVEL
  • screen [0, 1]
  • layer_handle
  • Luminance sharpening level [0-4]
    (0: disabled;
    1-4: higher level, sharper)
0 errno Set luminance sharpening level.
DISP_CMD_LAYER_GET_LUMA_SHARP_LEVEL
  • screen [0, 1]
  • layer_handle
Luminance sharpening level Get luminance sharpening level.
DISP_CMD_LAYER_SET_CHROMA_SHARP_LEVEL
  • screen [0, 1]
  • layer_handle
  • hue sharpening level [0-4]
    (0: disabled;
    1-4: higher level, sharper)
0 errno Set hue sharpening level.
DISP_CMD_LAYER_GET_CHROMA_SHARP_LEVEL
  • screen [0, 1]
  • layer_handle
hue sharpening level Get hue sharpening level.
DISP_CMD_LAYER_SET_WHITE_EXTEN_LEVEL
  • screen [0, 1]
  • layer_handle
  • White level expansion value [0-4]
    (0: disabled;
    1-4: higher level, sharper)
0 errno Set white level expansion value.
DISP_CMD_LAYER_GET_WHITE_EXTEN_LEVEL
  • screen [0, 1]
  • layer_handle
white level expansion value Get white level expansion value.
DISP_CMD_LAYER_SET_BLACK_EXTEN_LEVEL
  • screen [0, 1]
  • layer_handle
  • Black level expansion value [0-4]
    (0: disabled;
    1-4: higher level, sharper)
0 errno Set black level expansion value.
DISP_CMD_LAYER_GET_BLACK_EXTEN_LEVEL
  • screen [0, 1]
  • layer_handle
black level expansion value Get black level expansion value.

Scaler IOCTLs

IOCTL Args Success Failed Description
DISP_CMD_SCALER_REQUEST
  • screen[0, 1]
scaler handle NULL Application scaler is used to write-back.
DISP_CMD_SCALER_RELEASE
  • screen [0, 1]
  • scaler_handle
0 errno Release scaler.
DISP_CMD_SCALER_EXECUTE
  • screen [0, 1]
  • scaler_handle
  • scaler parameter (__disp_scaler_para_t *)
0 errno Perform scaler.

HWC IOCTLs

DISP_CMD_HWC_OPEN
  • screen [0, 1]
0 errno Open hw cursor.
DISP_CMD_HWC_CLOSE
  • screen [0, 1]
0 errno Close hw cursor.
DISP_CMD_HWC_SET_POS
  • screen [0, 1]
  • Starting coordinate on screen (__disp_pos_t *)
0 errno Set starting coordinates of the hw cursor on the screen.
DISP_CMD_HWC_GET_POS
  • screen id [0, 1]
  • Starting coordinate on screen (__disp_pos_t *)
0 errno Get starting coordinates of the hw cursor on the screen.
DISP_CMD_HWC_SET_FB
  • screen [0, 1]
  • (__disp_hwc_pattern_t *)
0 errno Set hw cursor framebuffer information.
DISP_CMD_HWC_SET_PALETTE_TABLE
  • screen [0, 1]
  • Address (__u32 *)
  • N/A
  • size (4 bytes alignment, unit byte)
0 errno Set palette table for hw cursor.

Video IOCTLs

DISP_CMD_VIDEO_START
  • screen [0, 1]
  • layer_handle
0 errno Start video playback.
DISP_CMD_VIDEO_STOP
  • screen [0, 1]
  • layer_handle
0 errno Stop video playback.
DISP_CMD_VIDEO_SET_FB
  • screen [0, 1]
  • layer_handle
  • framebuffer information (__disp_video_fb_t *)
0 errno Set video framebuffer information.
DISP_CMD_VIDEO_GET_DIT_INFO
  • screen [0, 1]
  • layer_handle
  • deinterlace information (__disp_dit_info_t *)
deinterlace information The deinterlace information for video display.
DISP_CMD_VIDEO_GET_FRAME_ID
  • screen [0, 1]
  • layer_handle
framebuffer id errno Get currently being displayed framebuffer id.

LCD IOCTLs

DISP_CMD_LCD_ON
  • screen [0, 1]
0 errno Enable LCD.
DISP_CMD_LCD_OFF
  • screen [0, 1]
0 errno Disable LCD.
DISP_CMD_LCD_SET_BRIGHTNESS
  • screen [0, 1]
  • brightness (__disp_lcd_bright_t)
0 errno Set LCD brightness.
DISP_CMD_LCD_GET_BRIGHTNESS
  • screen [0, 1]
LCD brightness (__disp_lcd_bright_t) Get LCD brightness.
DISP_CMD_LCD_SET_SRC
  • screen [0, 1]
  • lcd source (__disp_lcdc_src_t)
0 errno Set source for LCD.

TV IOCTLs

DISP_CMD_TV_ON
  • screen [0, 1]
0 errno Enable TV display.
DISP_CMD_TV_OFF
  • screen [0, 1]
0 errno Disable TV display.
DISP_CMD_TV_SET_MODE
  • screen [0, 1]
  • mode (__disp_tv_mode_t)
0 errno Set the mode on the TV display.
DISP_CMD_TV_GET_MODE
  • screen [0, 1]
mode (__disp_tv_mode_t) Get current TV mode.
DISP_CMD_TV_GET_INTERFACE
  • screen [0, 1]
interface (disp_tv_output_t) errno Get TV interface.
DISP_CMD_TV_SET_SRC
  • screen [0, 1]
  • source (__disp_lcdc_src_t)
0 errno Set TV source.

HDMI IOCTLs

DISP_CMD_HDMI_ON
  • screen [0, 1]
0 errno Enable HDMI display.
DISP_CMD_HDMI_OFF
  • screen [0, 1]
0 errno Disable HDMI display.
DISP_CMD_HDMI_SET_MODE
  • screen [0, 1]
  • mode (__disp_tv_mode_t)
0 errno Set HDMI mode.
DISP_CMD_HDMI_GET_MODE
  • screen [0, 1]
mode (__disp_tv_mode_t) Get current HDMI mode.
DISP_CMD_HDMI_SUPPORT_MODE
  • screen [0, 1]
  • mode(__disp_tv_mode_t)
  • 0: invalid
  • 1: supported
Query whether a mode is supported on hdmi.
DISP_CMD_HDMI_GET_HPD_STATUS
  • screen [0, 1]
  • 0: nothing attached
  • 1: hpd attached.
Query the current hdmi hpd status.
DISP_CMD_HDMI_SET_SRC
  • screen [0, 1]
  • source (__disp_lcdc_src_t)
0 errno Set hdmi source.

VGA IOCTLs

DISP_CMD_VGA_ON
  • screen [0, 1]
0 errno Enable VGA display.
DISP_CMD_VGA_OFF
  • screen [0, 1]
0 errno Disable VGA display.
DISP_CMD_VGA_SET_MODE
  • screen [0, 1]
  • mode (__disp_vga_mode_t)
0 errno Set VGA mode.
DISP_CMD_VGA_GET_MODE
  • screen [0, 1]
mode (__disp_vga_mode_t) Get current VGA mode.
DISP_CMD_VGA_SET_SRC
  • screen [0, 1]
  • source (__disp_lcdc_src_t)
0 errno Set source of vga display.

Sprite IOCTLs

DISP_CMD_SPRITE_OPEN
  • screen [0, 1]
0 errno Global switch to open the sprite, sprite, each the sprite block of switch can be set.
DISP_CMD_SPRITE_CLOSE
  • screen [0, 1]
0 errno Close sprite.
DISP_CMD_SPRITE_SET_FORMAT
  • screen [0, 1]
  • format (__disp_pixel_fmt_t)
  • pixel sequence (__disp_pixel_seq_t)
0 errno Set the format of the sprite Note only sprite block format is the same, so the format is valid for all block, each block can no longer separate set its format.
DISP_CMD_SPRITE_GLOBAL_ALPHA_ENABLE
  • screen [0, 1]
0 errno Enable global alpha on sprite.
DISP_CMD_SPRITE_GLOBAL_ALPHA_DISABLE
  • screen [0, 1]
0 errno Disable global alpha on sprite.
DISP_CMD_SPRITE_GET_GLOBAL_ALPHA_ENABLE
  • screen [0, 1]
  • 0: disabled
  • 1: enabled
Query the current state of global alpha on the sprite.
DISP_CMD_SPRITE_SET_GLOBAL_ALPHA_VALUE
  • screen [0, 1]
  • global alpha value
0 errno Set the value of global alpha on the sprite.
DISP_CMD_SPRITE_GET_GLOBAL_ALPHA_VALUE
  • screen [0, 1]
global alpha value Get the value of global alpha on the sprite.
DISP_CMD_SPRITE_SET_ORDER
  • screen [0, 1]
  • block handle
  • target block handle
0 errno A block to the front of the target block.
DISP_CMD_SPRITE_GET_TOP_BLOCK
  • screen [0, 1]
block handle Get the handle of the top block.
DISP_CMD_SPRITE_GET_BOTTOM_BLOCK
  • screen [0, 1]
block handle Get the handle of the bottom block.
DISP_CMD_SPRITE_SET_PALETTE_TBL
  • screen [0, 1]
  • Address (__u32 *)
  • offset (__u32, 4 bytes alignment)
  • size (4 bytes alignment, unit byte)
0 errno Set sprite palette table.
DISP_CMD_SPRITE_GET_BLOCK_NUM
  • screen [0, 1]
Number of blocks used. Get the number of blocks in use.
DISP_CMD_SPRITE_BLOCK_REQUEST
  • screen [0, 1]
  • block parameter (__disp_sprite_block_para_t *)
0 errno Request a sprite block.
DISP_CMD_SPRITE_BLOCK_RELEASE
  • screen [0, 1]
  • block handle
0 errno Release a sprite block.
DISP_CMD_SPRITE_BLOCK_OPEN
  • screen [0, 1]
  • block handle
0 errno Open a sprite block.
DISP_CMD_SPRITE_BLOCK_CLOSE
  • screen [0, 1]
  • block handle
0 errno Close a sprite block.
DISP_CMD_SPRITE_BLOCK_SET_SOURCE_WINDOW
  • screen [0, 1]
  • block handle
  • block source window (__disp_rect_t *)
0 errno Set the sprite block the source window, because the sprite block without

scaling function, driven only concerned with x and y, while the width and height of the width and height of the screen window.

DISP_CMD_SPRITE_BLOCK_GET_SOURCE_WINDOW
  • screen [0, 1]
  • block handle
  • block source window (__disp_rect_t *)
0 errno Get the source window of a sprite block.
DISP_CMD_SPRITE_BLOCK_SET_SCREEN_WINDOW
  • screen [0, 1]
  • block handle
  • block screen window (__disp_rect_t *)
0 errno Set screen window of a sprite block.
DISP_CMD_SPRITE_BLOCK_GET_SCREEN_WINDOW
  • screen [0, 1]
  • block handle
  • block screen window (__disp_rect_t *)
0 errno Get screen window of a sprite block.
DISP_CMD_SPRITE_BLOCK_SET_FB
  • screen [0, 1]
  • block handle
  • block framebuffer (__disp_fb_t *)
0 errno Set the framebuffer information for the sprite block, only cares about the

address and line width.

DISP_CMD_SPRITE_BLOCK_GET_FB
  • screen [0, 1]
  • block handle
  • block framebuffer(__disp_fb_t *)
0 errno Get framebuffer information of a sprite block.
DISP_CMD_SPRITE_BLOCK_SET_PARA
  • screen [0, 1]
  • block handle
  • block parameters (__disp_sprite_block_para_t *)
0 errno Set sprite block parameters.
DISP_CMD_SPRITE_BLOCK_GET_PARA
  • screen [0, 1]
  • block handle
  • block parameters (__disp_sprite_block_para_t *)
0 errno Get sprite block parameters
DISP_CMD_SPRITE_BLOCK_SET_TOP
  • screen [0, 1]
  • block handle
0 errno Move the sprite block to the top.
DISP_CMD_SPRITE_BLOCK_SET_BOTTOM
  • screen [0, 1]
  • block handle
0 errno Move the sprite block to the bottom.
DISP_CMD_SPRITE_BLOCK_GET_PREV_BLOCK
  • screen [0, 1]
  • block handle
block handle Get the previous sprite block handle.
DISP_CMD_SPRITE_BLOCK_GET_NEXT_BLOCK
  • screen [0, 1]
  • block handle
block handle errno Get the next block handle.
DISP_CMD_SPRITE_BLOCK_GET_PRIO
  • screen [0, 1]
  • block handle
block priority Get the ordering of the sprite block (from bottom to top).