Lines Matching refs:src

76 static void rotate90_argb8888(const uint32_t * src, uint32_t * dst, int32_t src_width, int32_t src_…
79 static void rotate180_argb8888(const uint32_t * src, uint32_t * dst, int32_t width, int32_t height,…
81 static void rotate270_argb8888(const uint32_t * src, uint32_t * dst, int32_t src_width, int32_t src…
86 static void rotate90_rgb888(const uint8_t * src, uint8_t * dst, int32_t src_width, int32_t src_heig…
89 static void rotate180_rgb888(const uint8_t * src, uint8_t * dst, int32_t width, int32_t height, int…
91 static void rotate270_rgb888(const uint8_t * src, uint8_t * dst, int32_t width, int32_t height, int…
95 static void rotate90_rgb565(const uint16_t * src, uint16_t * dst, int32_t src_width, int32_t src_he…
98 static void rotate180_rgb565(const uint16_t * src, uint16_t * dst, int32_t width, int32_t height, i…
100 static void rotate270_rgb565(const uint16_t * src, uint16_t * dst, int32_t src_width, int32_t src_h…
107 static void rotate90_l8(const uint8_t * src, uint8_t * dst, int32_t src_width, int32_t src_height,
110 static void rotate180_l8(const uint8_t * src, uint8_t * dst, int32_t width, int32_t height, int32_t…
112 static void rotate270_l8(const uint8_t * src, uint8_t * dst, int32_t src_width, int32_t src_height,
133 const uint8_t * src = buf_i1; in lv_draw_sw_i1_to_argb8888() local
141 *dst_p++ = ((src[i] >> bit) & 1) ? index1_color : index0_color; in lv_draw_sw_i1_to_argb8888()
144 src += buf_i1_stride; in lv_draw_sw_i1_to_argb8888()
243 void lv_draw_sw_rotate(const void * src, void * dest, int32_t src_width, int32_t src_height, int32_… in lv_draw_sw_rotate() argument
250 rotate90_l8(src, dest, src_width, src_height, src_stride, dest_stride); in lv_draw_sw_rotate()
255 rotate90_rgb565(src, dest, src_width, src_height, src_stride, dest_stride); in lv_draw_sw_rotate()
260 rotate90_rgb888(src, dest, src_width, src_height, src_stride, dest_stride); in lv_draw_sw_rotate()
266 rotate90_argb8888(src, dest, src_width, src_height, src_stride, dest_stride); in lv_draw_sw_rotate()
280 rotate180_l8(src, dest, src_width, src_height, src_stride, dest_stride); in lv_draw_sw_rotate()
285 rotate180_rgb565(src, dest, src_width, src_height, src_stride, dest_stride); in lv_draw_sw_rotate()
290 rotate180_rgb888(src, dest, src_width, src_height, src_stride, dest_stride); in lv_draw_sw_rotate()
296 rotate180_argb8888(src, dest, src_width, src_height, src_stride, dest_stride); in lv_draw_sw_rotate()
310 rotate270_l8(src, dest, src_width, src_height, src_stride, dest_stride); in lv_draw_sw_rotate()
315 rotate270_rgb565(src, dest, src_width, src_height, src_stride, dest_stride); in lv_draw_sw_rotate()
320 rotate270_rgb888(src, dest, src_width, src_height, src_stride, dest_stride); in lv_draw_sw_rotate()
326 rotate270_argb8888(src, dest, src_width, src_height, src_stride, dest_stride); in lv_draw_sw_rotate()
343 static void rotate270_argb8888(const uint32_t * src, uint32_t * dst, int32_t src_width, int32_t src… in rotate270_argb8888() argument
347 …if(LV_RESULT_OK == LV_DRAW_SW_ROTATE90_ARGB8888(src, dst, src_width, src_height, src_stride, dst_s… in rotate270_argb8888()
358 dst[dstIndex + (src_height - y - 1)] = src[srcIndex]; in rotate270_argb8888()
364 static void rotate180_argb8888(const uint32_t * src, uint32_t * dst, int32_t width, int32_t height,… in rotate180_argb8888() argument
368 …if(LV_RESULT_OK == LV_DRAW_SW_ROTATE180_ARGB8888(src, dst, src_width, src_height, src_stride, dst_… in rotate180_argb8888()
379 dst[dstIndex + width - x - 1] = src[srcIndex + x]; in rotate180_argb8888()
384 static void rotate90_argb8888(const uint32_t * src, uint32_t * dst, int32_t src_width, int32_t src_… in rotate90_argb8888() argument
387 …if(LV_RESULT_OK == LV_DRAW_SW_ROTATE270_ARGB8888(src, dst, src_width, src_height, src_stride, dst_… in rotate90_argb8888()
398 dst[dstIndex * dst_stride + y] = src[srcIndex]; in rotate90_argb8888()
408 static void rotate90_rgb888(const uint8_t * src, uint8_t * dst, int32_t src_width, int32_t src_heig… in rotate90_rgb888() argument
412 …if(LV_RESULT_OK == LV_DRAW_SW_ROTATE90_RGB888(src, dst, src_width, src_height, src_stride, dst_str… in rotate90_rgb888()
420 dst[dstIndex] = src[srcIndex]; /*Red*/ in rotate90_rgb888()
421 dst[dstIndex + 1] = src[srcIndex + 1]; /*Green*/ in rotate90_rgb888()
422 dst[dstIndex + 2] = src[srcIndex + 2]; /*Blue*/ in rotate90_rgb888()
427 static void rotate180_rgb888(const uint8_t * src, uint8_t * dst, int32_t width, int32_t height, int… in rotate180_rgb888() argument
430 …if(LV_RESULT_OK == LV_DRAW_SW_ROTATE180_RGB888(src, dst, src_width, src_height, src_stride, dst_st… in rotate180_rgb888()
438 dst[dstIndex] = src[srcIndex]; in rotate180_rgb888()
439 dst[dstIndex + 1] = src[srcIndex + 1]; in rotate180_rgb888()
440 dst[dstIndex + 2] = src[srcIndex + 2]; in rotate180_rgb888()
445 static void rotate270_rgb888(const uint8_t * src, uint8_t * dst, int32_t width, int32_t height, int… in rotate270_rgb888() argument
448 …if(LV_RESULT_OK == LV_DRAW_SW_ROTATE270_RGB888(src, dst, src_width, src_height, src_stride, dst_st… in rotate270_rgb888()
456 dst[dstIndex] = src[srcIndex]; /*Red*/ in rotate270_rgb888()
457 dst[dstIndex + 1] = src[srcIndex + 1]; /*Green*/ in rotate270_rgb888()
458 dst[dstIndex + 2] = src[srcIndex + 2]; /*Blue*/ in rotate270_rgb888()
467 static void rotate270_rgb565(const uint16_t * src, uint16_t * dst, int32_t src_width, int32_t src_h… in rotate270_rgb565() argument
471 …if(LV_RESULT_OK == LV_DRAW_SW_ROTATE90_RGB565(src, dst, src_width, src_height, src_stride, dst_str… in rotate270_rgb565()
482 dst[dstIndex + (src_height - y - 1)] = src[srcIndex]; in rotate270_rgb565()
488 static void rotate180_rgb565(const uint16_t * src, uint16_t * dst, int32_t width, int32_t height, i… in rotate180_rgb565() argument
491 if(LV_RESULT_OK == LV_DRAW_SW_ROTATE180_RGB565(src, dst, width, height, src_stride)) { in rotate180_rgb565()
502 dst[dstIndex + width - x - 1] = src[srcIndex + x]; in rotate180_rgb565()
507 static void rotate90_rgb565(const uint16_t * src, uint16_t * dst, int32_t src_width, int32_t src_he… in rotate90_rgb565() argument
511 …if(LV_RESULT_OK == LV_DRAW_SW_ROTATE270_RGB565(src, dst, src_width, src_height, src_stride, dst_st… in rotate90_rgb565()
522 dst[dstIndex * dst_stride + y] = src[srcIndex]; in rotate90_rgb565()
533 static void rotate90_l8(const uint8_t * src, uint8_t * dst, int32_t src_width, int32_t src_height, in rotate90_l8() argument
537 …if(LV_RESULT_OK == LV_DRAW_SW_ROTATE270_L8(src, dst, src_width, src_height, src_stride, dst_stride… in rotate90_l8()
545 dst[dstIndex * dst_stride + y] = src[srcIndex]; in rotate90_l8()
551 static void rotate180_l8(const uint8_t * src, uint8_t * dst, int32_t width, int32_t height, int32_t… in rotate180_l8() argument
554 if(LV_RESULT_OK == LV_DRAW_SW_ROTATE180_L8(src, dst, width, height, src_stride)) { in rotate180_l8()
562 dst[dstIndex + width - x - 1] = src[srcIndex + x]; in rotate180_l8()
567 static void rotate270_l8(const uint8_t * src, uint8_t * dst, int32_t src_width, int32_t src_height, in rotate270_l8() argument
571 …if(LV_RESULT_OK == LV_DRAW_SW_ROTATE90_L8(src, dst, src_width, src_height, src_stride, dst_stride)… in rotate270_l8()
579 dst[dstIndex + (src_height - y - 1)] = src[srcIndex]; in rotate270_l8()