Searched refs:fs_buf (Results 1 – 1 of 1) sorted by relevance
375 uint8_t * fs_buf = lv_mem_alloc(len); in lv_img_decoder_built_in_open() local376 if(fs_buf == NULL) return LV_RES_INV; in lv_img_decoder_built_in_open()380 lv_fs_res_t res = lv_fs_read(&user_data->f, fs_buf, len, NULL); in lv_img_decoder_built_in_open()382 lv_mem_free(fs_buf); in lv_img_decoder_built_in_open()385 dsc->img_data = fs_buf; in lv_img_decoder_built_in_open()622 uint8_t * fs_buf = lv_mem_buf_get(w); in lv_img_decoder_built_in_line_alpha() local623 if(fs_buf == NULL) return LV_RES_INV; in lv_img_decoder_built_in_line_alpha()633 lv_fs_read(&user_data->f, fs_buf, w, NULL); in lv_img_decoder_built_in_line_alpha()634 data_tmp = fs_buf; in lv_img_decoder_built_in_line_alpha()649 lv_mem_buf_release(fs_buf); in lv_img_decoder_built_in_line_alpha()[all …]