Lines Matching refs:vgbuf
59 static inline void lv_vglite_set_buf_ptr(vg_lite_buffer_t * vgbuf, const lv_color_t * buf);
107 void lv_vglite_set_buf(vg_lite_buffer_t * vgbuf, const lv_color_t * buf, in lv_vglite_set_buf() argument
110 vgbuf->format = VG_LITE_PX_FMT; in lv_vglite_set_buf()
111 vgbuf->tiled = VG_LITE_LINEAR; in lv_vglite_set_buf()
112 vgbuf->image_mode = VG_LITE_NORMAL_IMAGE_MODE; in lv_vglite_set_buf()
113 vgbuf->transparency_mode = VG_LITE_IMAGE_OPAQUE; in lv_vglite_set_buf()
115 vgbuf->width = (int32_t)lv_area_get_width(area); in lv_vglite_set_buf()
116 vgbuf->height = (int32_t)lv_area_get_height(area); in lv_vglite_set_buf()
117 vgbuf->stride = (int32_t)(stride) * sizeof(lv_color_t); in lv_vglite_set_buf()
119 lv_memset_00(&vgbuf->yuv, sizeof(vgbuf->yuv)); in lv_vglite_set_buf()
121 vgbuf->memory = (void *)buf; in lv_vglite_set_buf()
122 vgbuf->address = (uint32_t)vgbuf->memory; in lv_vglite_set_buf()
123 vgbuf->handle = NULL; in lv_vglite_set_buf()
135 static inline void lv_vglite_set_buf_ptr(vg_lite_buffer_t * vgbuf, const lv_color_t * buf) in lv_vglite_set_buf_ptr() argument
137 vgbuf->memory = (void *)buf; in lv_vglite_set_buf_ptr()
138 vgbuf->address = (uint32_t)vgbuf->memory; in lv_vglite_set_buf_ptr()