lv_vglite_buf.h
Functions
-
vg_lite_buffer_t *vglite_get_dest_buf(void)
Copyright 2023 NXP
SPDX-License-Identifier: MIT Get vglite destination buffer pointer.
- Return values:
The – vglite destination buffer
-
vg_lite_buffer_t *vglite_get_src_buf(void)
Get vglite source buffer pointer.
- Return values:
The – vglite source buffer
-
void vglite_set_dest_buf_ptr(void *buf)
Set vglite destination buffer address only.
- Parameters:
buf – [in] Destination buffer address (does not require alignment for VG_LITE_LINEAR mode)
-
void vglite_set_src_buf_ptr(const void *buf)
Set vglite source buffer address only.
- Parameters:
buf – [in] Source buffer address
-
void vglite_set_dest_buf(const void *buf, uint32_t width, uint32_t height, uint32_t stride, lv_color_format_t cf)
Set vglite destination buffer.
- Parameters:
buf – [in] Destination buffer address
width – [in] Destination buffer width
height – [in] Destination buffer height
stride – [in] Destination buffer stride in bytes
cf – [in] Destination buffer color format
-
void vglite_set_src_buf(const void *buf, uint32_t width, uint32_t height, uint32_t stride, lv_color_format_t cf)
Set vglite source buffer.
- Parameters:
buf – [in] Source buffer address
width – [in] Source buffer width
height – [in] Source buffer height
stride – [in] Source buffer stride in bytes
cf – [in] Source buffer color format
-
void vglite_set_buf(vg_lite_buffer_t *vgbuf, void *buf, uint32_t width, uint32_t height, uint32_t stride, lv_color_format_t cf)
Set vglite buffer.
- Parameters:
vgbuf – [in] Address of the VGLite buffer object
buf – [in] Address of the memory for the VGLite buffer
width – [in] Buffer width
height – [in] Buffer height
stride – [in] Buffer stride in bytes
cf – [in] Buffer color format