Searched refs:ret (Results 1 – 10 of 10) sorted by relevance
/lvgl-latest/src/misc/ |
D | lv_color.h | 336 lv_color8_t ret; in lv_color_to8() 337 LV_COLOR_SET_R8(ret, LV_COLOR_GET_R(color) >> 2); /*5 - 3 = 2*/ in lv_color_to8() 338 LV_COLOR_SET_G8(ret, LV_COLOR_GET_G(color) >> 3); /*6 - 3 = 3*/ in lv_color_to8() 339 LV_COLOR_SET_B8(ret, LV_COLOR_GET_B(color) >> 3); /*5 - 2 = 3*/ in lv_color_to8() 340 return ret.full; in lv_color_to8() 342 lv_color8_t ret; in lv_color_to8() 343 LV_COLOR_SET_R8(ret, LV_COLOR_GET_R(color) >> 5); /*8 - 3 = 5*/ in lv_color_to8() 344 LV_COLOR_SET_G8(ret, LV_COLOR_GET_G(color) >> 5); /*8 - 3 = 5*/ in lv_color_to8() 345 LV_COLOR_SET_B8(ret, LV_COLOR_GET_B(color) >> 6); /*8 - 2 = 6*/ in lv_color_to8() 346 return ret.full; in lv_color_to8() [all …]
|
D | lv_math.c | 50 int16_t ret = 0; in lv_trigo_sin() local 56 ret = sin0_90_table[angle]; in lv_trigo_sin() 60 ret = sin0_90_table[angle]; in lv_trigo_sin() 64 ret = -sin0_90_table[angle]; in lv_trigo_sin() 68 ret = -sin0_90_table[angle]; in lv_trigo_sin() 71 return ret; in lv_trigo_sin()
|
D | lv_txt.h | 168 bool ret = false; in _lv_txt_is_break_char() local 178 ret = true; /*If match then it is break char*/ in _lv_txt_is_break_char() 183 return ret; in _lv_txt_is_break_char()
|
D | lv_txt.c | 384 bool ret = false; in _lv_txt_is_cmd() local 389 ret = true; in _lv_txt_is_cmd() 398 ret = true; in _lv_txt_is_cmd() 407 ret = true; in _lv_txt_is_cmd() 410 return ret; in _lv_txt_is_cmd()
|
D | lv_printf.c | 869 const int ret = _vsnprintf(_out_buffer, buffer, count, format, va); in lv_snprintf() local 871 return ret; in lv_snprintf()
|
/lvgl-latest/src/extra/libs/ffmpeg/ |
D | lv_ffmpeg.c | 128 int ret = -1; in lv_ffmpeg_get_frame_num() local 132 ret = ffmpeg_ctx->video_stream->nb_frames; in lv_ffmpeg_get_frame_num() 136 return ret; in lv_ffmpeg_get_frame_num() 388 int ret = -1; in ffmpeg_output_video_frame() local 462 ret = sws_scale( in ffmpeg_output_video_frame() 472 return ret; in ffmpeg_output_video_frame() 478 int ret = 0; in ffmpeg_decode_packet() local 481 ret = avcodec_send_packet(dec, pkt); in ffmpeg_decode_packet() 482 if(ret < 0) { in ffmpeg_decode_packet() 484 av_err2str(ret)); in ffmpeg_decode_packet() [all …]
|
/lvgl-latest/src/font/ |
D | lv_font_fmt_txt.c | 523 uint8_t ret = 0; in rle_next() local 526 ret = get_bits(rle_in, rle_rdp, rle_bpp); in rle_next() 527 if(rle_rdp != 0 && rle_prev_v == ret) { in rle_next() 532 rle_prev_v = ret; in rle_next() 540 ret = rle_prev_v; in rle_next() 548 ret = get_bits(rle_in, rle_rdp, rle_bpp); in rle_next() 549 rle_prev_v = ret; in rle_next() 556 ret = get_bits(rle_in, rle_rdp, rle_bpp); in rle_next() 557 rle_prev_v = ret; in rle_next() 564 ret = rle_prev_v; in rle_next() [all …]
|
/lvgl-latest/src/extra/libs/gif/ |
D | gifdec.c | 397 int ret; in read_image_data() local 416 ret = 0; in read_image_data() 424 ret = add_entry(&table, str_len + 1, key, entry.suffix); in read_image_data() 425 if (ret == -1) { in read_image_data() 430 ret = 0; in read_image_data() 437 if (ret == 1) key_size++; in read_image_data()
|
/lvgl-latest/src/extra/libs/sjpg/ |
D | lv_sjpg.c | 156 lv_res_t ret = LV_RES_OK; in decoder_info() local 175 return ret; in decoder_info() 200 ret = LV_RES_INV; in decoder_info() 207 return ret; in decoder_info()
|
/lvgl-latest/src/extra/others/ime/ |
D | lv_ime_pinyin.c | 1056 uint16_t ret = 1; in pinyin_k9_is_valid_py() local
|