/AliOS-Things-master/components/littlevgl/src/lv_draw/ |
A D | lv_img_decoder.c | 120 dsc->style = style; in lv_img_decoder_open() 121 dsc->src = src; in lv_img_decoder_open() 123 dsc->user_data = NULL; in lv_img_decoder_open() 136 dsc->error_msg = NULL; in lv_img_decoder_open() 137 dsc->img_data = NULL; in lv_img_decoder_open() 138 dsc->decoder = d; in lv_img_decoder_open() 165 …if(dsc->decoder->read_line_cb) res = dsc->decoder->read_line_cb(dsc->decoder, dsc, x, y, len, buf); in lv_img_decoder_read_line() 176 if(dsc->decoder) { in lv_img_decoder_close() 177 if(dsc->decoder->close_cb) dsc->decoder->close_cb(dsc->decoder, dsc); in lv_img_decoder_close() 350 dsc->img_data = ((lv_img_dsc_t *)dsc->src)->data; in lv_img_decoder_built_in_open() [all …]
|
A D | lv_draw_img.c | 81 if(x >= dsc->header.w) { in lv_img_buf_get_px_color() 82 x = dsc->header.w - 1; in lv_img_buf_get_px_color() 89 if(y >= dsc->header.h) { in lv_img_buf_get_px_color() 90 y = dsc->header.h - 1; in lv_img_buf_get_px_color() 99 …if(dsc->header.cf == LV_IMG_CF_TRUE_COLOR || dsc->header.cf == LV_IMG_CF_TRUE_COLOR_CHROMA_KEYED || in lv_img_buf_get_px_color() 141 } else if(dsc->header.cf == LV_IMG_CF_ALPHA_1BIT || dsc->header.cf == LV_IMG_CF_ALPHA_2BIT || in lv_img_buf_get_px_color() 142 dsc->header.cf == LV_IMG_CF_ALPHA_4BIT || dsc->header.cf == LV_IMG_CF_ALPHA_8BIT) { in lv_img_buf_get_px_color() 160 if(x >= dsc->header.w) { in lv_img_buf_get_px_alpha() 161 x = dsc->header.w - 1; in lv_img_buf_get_px_alpha() 168 if(y >= dsc->header.h) { in lv_img_buf_get_px_alpha() [all …]
|
A D | lv_img_decoder.h | 147 …s_t (*lv_img_decoder_open_f_t)(struct _lv_img_decoder * decoder, struct _lv_img_decoder_dsc * dsc); 160 …(*lv_img_decoder_read_line_f_t)(struct _lv_img_decoder * decoder, struct _lv_img_decoder_dsc * dsc, 168 …id (*lv_img_decoder_close_f_t)(struct _lv_img_decoder * decoder, struct _lv_img_decoder_dsc * dsc); 249 lv_res_t lv_img_decoder_open(lv_img_decoder_dsc_t * dsc, const void * src, const lv_style_t * style… 260 lv_res_t lv_img_decoder_read_line(lv_img_decoder_dsc_t * dsc, lv_coord_t x, lv_coord_t y, lv_coord_… 267 void lv_img_decoder_close(lv_img_decoder_dsc_t * dsc); 326 lv_res_t lv_img_decoder_built_in_open(lv_img_decoder_t * decoder, lv_img_decoder_dsc_t * dsc); 339 lv_res_t lv_img_decoder_built_in_read_line(lv_img_decoder_t * decoder, lv_img_decoder_dsc_t * dsc, … 347 void lv_img_decoder_built_in_close(lv_img_decoder_t * decoder, lv_img_decoder_dsc_t * dsc);
|
A D | lv_draw_img.h | 62 lv_color_t lv_img_buf_get_px_color(lv_img_dsc_t * dsc, lv_coord_t x, lv_coord_t y, const lv_style_t… 70 lv_opa_t lv_img_buf_get_px_alpha(lv_img_dsc_t * dsc, lv_coord_t x, lv_coord_t y); 79 void lv_img_buf_set_px_color(lv_img_dsc_t * dsc, lv_coord_t x, lv_coord_t y, lv_color_t c); 88 void lv_img_buf_set_px_alpha(lv_img_dsc_t * dsc, lv_coord_t x, lv_coord_t y, lv_opa_t opa); 100 void lv_img_buf_set_palette(lv_img_dsc_t * dsc, uint8_t id, lv_color_t c);
|
/AliOS-Things-master/components/littlevgl/src/lv_misc/ |
A D | lv_log.h | 67 void lv_log_add(lv_log_level_t level, const char * file, int line, const char * dsc); 74 #define LV_LOG_TRACE(dsc) lv_log_add(LV_LOG_LEVEL_TRACE, __FILE__, __LINE__, dsc); argument 76 #define LV_LOG_TRACE(dsc) … argument 83 #define LV_LOG_INFO(dsc) lv_log_add(LV_LOG_LEVEL_INFO, __FILE__, __LINE__, dsc); argument 85 #define LV_LOG_INFO(dsc) … argument 92 #define LV_LOG_WARN(dsc) lv_log_add(LV_LOG_LEVEL_WARN, __FILE__, __LINE__, dsc); argument 94 #define LV_LOG_WARN(dsc) … argument 101 #define LV_LOG_ERROR(dsc) lv_log_add(LV_LOG_LEVEL_ERROR, __FILE__, __LINE__, dsc); argument 103 #define LV_LOG_ERROR(dsc) … argument 112 #define lv_log_add(level, file, line, dsc) … argument [all …]
|
A D | lv_log.c | 58 void lv_log_add(lv_log_level_t level, const char * file, int line, const char * dsc) in lv_log_add() argument 66 printf("%s: %s \t(%s #%d)\n", lvl_prefix[level], dsc, file, line); in lv_log_add() 68 if(custom_print_cb) custom_print_cb(level, file, line, dsc); in lv_log_add()
|
/AliOS-Things-master/components/littlevgl/src/lv_objx/ |
A D | lv_canvas.c | 117 ext->dsc.header.w = w; in lv_canvas_set_buffer() 118 ext->dsc.header.h = h; in lv_canvas_set_buffer() 199 return &ext->dsc; in lv_canvas_get_img() 237 if(x + w >= ext->dsc.header.w || y + h >= ext->dsc.header.h) { in lv_canvas_copy_buf() 435 uint32_t x = dsc->header.w * dsc->header.h; in lv_canvas_fill_bg() 476 lv_disp_buf_init(&disp_buf, (void *)dsc->data, NULL, dsc->header.w * dsc->header.h); in lv_canvas_draw_rect() 535 lv_disp_buf_init(&disp_buf, (void *)dsc->data, NULL, dsc->header.w * dsc->header.h); in lv_canvas_draw_text() 596 lv_disp_buf_init(&disp_buf, (void *)dsc->data, NULL, dsc->header.w * dsc->header.h); in lv_canvas_draw_img() 636 lv_disp_buf_init(&disp_buf, (void *)dsc->data, NULL, dsc->header.w * dsc->header.h); in lv_canvas_draw_line() 688 lv_disp_buf_init(&disp_buf, (void *)dsc->data, NULL, dsc->header.w * dsc->header.h); in lv_canvas_draw_polygon() [all …]
|
A D | lv_canvas.h | 39 lv_img_dsc_t dsc; member
|
/AliOS-Things-master/components/littlevgl/src/lv_core/ |
A D | lv_style.c | 288 lv_style_anim_dsc_t * dsc; in lv_style_anim_init() local 290 lv_mem_assert(dsc); in lv_style_anim_init() 291 if(dsc == NULL) return; in lv_style_anim_init() 292 dsc->ready_cb = NULL; in lv_style_anim_init() 293 dsc->style_anim = NULL; in lv_style_anim_init() 297 a->var = (void *)dsc; in lv_style_anim_init() 303 lv_style_anim_dsc_t * dsc = a->var; in lv_style_anim_set_styles() local 304 dsc->style_anim = to_anim; in lv_style_anim_set_styles() 327 lv_obj_report_style_mod(dsc->style_anim); in style_animator() 341 if(dsc->ready_cb) dsc->ready_cb(a); in style_animation_common_end_cb() [all …]
|
A D | lv_style.h | 201 lv_style_anim_dsc_t * dsc = (lv_style_anim_dsc_t *)a->var; in lv_style_anim_set_ready_cb() local 202 dsc->ready_cb = ready_cb; in lv_style_anim_set_ready_cb()
|
/AliOS-Things-master/components/SDL2/src/video/directfb/ |
A D | SDL_DirectFB_mouse.c | 85 DFBSurfaceDescription dsc; in DirectFB_CreateDefaultCursor() local 93 dsc.flags = in DirectFB_CreateDefaultCursor() 95 dsc.caps = DSCAPS_VIDEOONLY; in DirectFB_CreateDefaultCursor() 96 dsc.width = 32; in DirectFB_CreateDefaultCursor() 97 dsc.height = 32; in DirectFB_CreateDefaultCursor() 98 dsc.pixelformat = DSPF_ARGB; in DirectFB_CreateDefaultCursor() 138 DFBSurfaceDescription dsc; in DirectFB_CreateCursor() local 150 dsc.flags = in DirectFB_CreateCursor() 152 dsc.caps = DSCAPS_VIDEOONLY; in DirectFB_CreateCursor() 153 dsc.width = surface->w; in DirectFB_CreateCursor() [all …]
|
A D | SDL_DirectFB_shape.c | 85 DFBSurfaceDescription dsc; in DirectFB_SetWindowShape() local 91 dsc.flags = DSDESC_WIDTH | DSDESC_HEIGHT | DSDESC_PIXELFORMAT | DSDESC_CAPS; in DirectFB_SetWindowShape() 92 dsc.width = shape->w; in DirectFB_SetWindowShape() 93 dsc.height = shape->h; in DirectFB_SetWindowShape() 94 dsc.caps = DSCAPS_PREMULTIPLIED; in DirectFB_SetWindowShape() 95 dsc.pixelformat = DSPF_ARGB; in DirectFB_SetWindowShape() 97 SDL_DFB_CHECKERR(devdata->dfb->CreateSurface(devdata->dfb, &dsc, &data->surface)); in DirectFB_SetWindowShape()
|
A D | SDL_DirectFB_render.c | 334 DFBSurfaceDescription dsc; in DirectFB_CreateTexture() local 354 dsc.flags = in DirectFB_CreateTexture() 356 dsc.width = texture->w; in DirectFB_CreateTexture() 357 dsc.height = texture->h; in DirectFB_CreateTexture() 361 dsc.width += (dsc.width % 2); in DirectFB_CreateTexture() 362 dsc.height += (dsc.height % 2); in DirectFB_CreateTexture() 369 dsc.caps = DSCAPS_PREMULTIPLIED; in DirectFB_CreateTexture() 372 dsc.caps |= DSCAPS_SYSTEMONLY; in DirectFB_CreateTexture() 374 dsc.caps |= DSCAPS_VIDEOONLY; in DirectFB_CreateTexture() 377 dsc.pixelformat = pixelformat; in DirectFB_CreateTexture() [all …]
|
A D | SDL_DirectFB_window.c | 204 DFBSurfaceDescription dsc; in DirectFB_SetWindowIcon() local 215 dsc.flags = in DirectFB_SetWindowIcon() 217 dsc.caps = DSCAPS_VIDEOONLY; in DirectFB_SetWindowIcon() 218 dsc.width = surface->w; in DirectFB_SetWindowIcon() 219 dsc.height = surface->h; in DirectFB_SetWindowIcon() 220 dsc.pixelformat = DSPF_ARGB; in DirectFB_SetWindowIcon() 222 SDL_DFB_CHECKERR(devdata->dfb->CreateSurface(devdata->dfb, &dsc, in DirectFB_SetWindowIcon()
|
/AliOS-Things-master/components/littlevgl/src/lv_font/ |
A D | lv_font_fmt_txt.c | 56 lv_font_fmt_txt_dsc_t * fdsc = (lv_font_fmt_txt_dsc_t *) font->dsc; in lv_font_get_bitmap_fmt_txt() 78 lv_font_fmt_txt_dsc_t * fdsc = (lv_font_fmt_txt_dsc_t *) font->dsc; in lv_font_get_glyph_dsc_fmt_txt() 114 lv_font_fmt_txt_dsc_t * fdsc = (lv_font_fmt_txt_dsc_t *) font->dsc; in get_glyph_dsc_id() 167 lv_font_fmt_txt_dsc_t * fdsc = (lv_font_fmt_txt_dsc_t *) font->dsc; in get_kern_value()
|
A D | lv_font.h | 68 void * dsc; /**< Store implementation specific data here*/ member
|
A D | lv_font_unscii_8.c | 455 .dsc = &font_dsc, /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
|
A D | lv_font_roboto_12.c | 1796 .dsc = &font_dsc, /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
|
A D | lv_font_roboto_16.c | 2258 .dsc = &font_dsc, /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
|
A D | lv_font_roboto_22.c | 3174 .dsc = &font_dsc, /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
|
A D | lv_font_roboto_28.c | 4288 .dsc = &font_dsc, /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
|
/AliOS-Things-master/components/py_engine/engine/extmod/nimble/ |
A D | modbluetooth_nimble.c | 385 …G_printf("gatts_register_cb: dsc uuid=%p handle=%d\n", &ctxt->dsc.dsc_def->uuid, ctxt->dsc.handle); in gatts_register_cb() 388 …reate_entry(MP_STATE_PORT(bluetooth_nimble_root_pointers)->gatts_db, ctxt->dsc.handle, MP_BLUETOOT… in gatts_register_cb() 391 *((uint16_t *)ctxt->dsc.dsc_def->arg) = ctxt->dsc.handle; in gatts_register_cb()
|
/AliOS-Things-master/components/py_engine/engine/lib/oofatfs/ |
A D | ff.c | 4119 DWORD cl, pcl, ncl, tcl, dsc, tlen, ulen, *tbl; local 4163 dsc = clst2sect(fs, fp->clust); 4164 if (dsc == 0) ABORT(fs, FR_INT_ERR); 4165 dsc += (DWORD)((ofs - 1) / SS(fs)) & (fs->csize - 1); 4166 if (fp->fptr % SS(fs) && dsc != fp->sect) { /* Refill sector cache if needed */ 4174 …if (disk_read(fs->drv, fp->buf, dsc, 1) != RES_OK) ABORT(fs, FR_DISK_ERR); /* Load current sector … 4176 fp->sect = dsc;
|
/AliOS-Things-master/components/fatfs/src/ |
A D | ff.c | 4055 DWORD cl, pcl, ncl, tcl, dsc, tlen, ulen, *tbl; local 4099 dsc = clst2sect(fs, fp->clust); 4100 if (dsc == 0) ABORT(fs, FR_INT_ERR); 4101 dsc += (DWORD)((ofs - 1) / SS(fs)) & (fs->csize - 1); 4102 if (fp->fptr % SS(fs) && dsc != fp->sect) { /* Refill sector cache if needed */ 4110 …if (disk_read(fs->pdrv, fp->buf, dsc, 1) != RES_OK) ABORT(fs, FR_DISK_ERR); /* Load current sector… 4112 fp->sect = dsc;
|