Lines Matching refs:Uint32

79 static SDL_bool IsPlanar2x2Format(Uint32 format)  in IsPlanar2x2Format()
87 static SDL_bool IsPacked4Format(Uint32 format) in IsPacked4Format()
94 static int GetYUVPlanes(int width, int height, Uint32 format, const void *yuv, int yuv_pitch, in GetYUVPlanes()
95 … const Uint8 **y, const Uint8 **u, const Uint8 **v, Uint32 *y_stride, Uint32 *uv_stride) in GetYUVPlanes()
185 Uint32 src_format, Uint32 dst_format, in yuv_rgb_sse()
186 Uint32 width, Uint32 height, in yuv_rgb_sse()
187 const Uint8 *y, const Uint8 *u, const Uint8 *v, Uint32 y_stride, Uint32 uv_stride, in yuv_rgb_sse()
188 Uint8 *rgb, Uint32 rgb_stride, in yuv_rgb_sse()
294 Uint32 src_format, Uint32 dst_format, in yuv_rgb_std()
295 Uint32 width, Uint32 height, in yuv_rgb_std()
296 const Uint8 *y, const Uint8 *u, const Uint8 *v, Uint32 y_stride, Uint32 uv_stride, in yuv_rgb_std()
297 Uint8 *rgb, Uint32 rgb_stride, in yuv_rgb_std()
398 Uint32 src_format, const void *src, int src_pitch, in SDL_ConvertPixels_YUV_to_RGB()
399 Uint32 dst_format, void *dst, int dst_pitch) in SDL_ConvertPixels_YUV_to_RGB()
404 Uint32 y_stride = 0; in SDL_ConvertPixels_YUV_to_RGB()
405 Uint32 uv_stride = 0; in SDL_ConvertPixels_YUV_to_RGB()
428 int tmp_pitch = (width * sizeof(Uint32)); in SDL_ConvertPixels_YUV_to_RGB()
460 SDL_ConvertPixels_ARGB8888_to_YUV(int width, int height, const void *src, int src_pitch, Uint32 dst… in SDL_ConvertPixels_ARGB8888_to_YUV()
500 …const Uint32 p1 = ((const Uint32 *)curr_row)[2 * i]; … in SDL_ConvertPixels_ARGB8888_to_YUV()
501 …const Uint32 p2 = ((const Uint32 *)curr_row)[2 * i + 1]; … in SDL_ConvertPixels_ARGB8888_to_YUV()
502 …const Uint32 p3 = ((const Uint32 *)next_row)[2 * i]; … in SDL_ConvertPixels_ARGB8888_to_YUV()
503 …const Uint32 p4 = ((const Uint32 *)next_row)[2 * i + 1]; … in SDL_ConvertPixels_ARGB8888_to_YUV()
504 …const Uint32 r = ((p1 & 0x00ff0000) + (p2 & 0x00ff0000) + (p3 & 0x00ff0000) + (p4 & 0x00ff0000)) >… in SDL_ConvertPixels_ARGB8888_to_YUV()
505 …const Uint32 g = ((p1 & 0x0000ff00) + (p2 & 0x0000ff00) + (p3 & 0x0000ff00) + (p4 & 0x0000ff00)) >… in SDL_ConvertPixels_ARGB8888_to_YUV()
506 …const Uint32 b = ((p1 & 0x000000ff) + (p2 & 0x000000ff) + (p3 & 0x000000ff) + (p4 & 0x000000ff)) >… in SDL_ConvertPixels_ARGB8888_to_YUV()
509 …const Uint32 p1 = ((const Uint32 *)curr_row)[2 * i]; … in SDL_ConvertPixels_ARGB8888_to_YUV()
510 …const Uint32 p2 = ((const Uint32 *)next_row)[2 * i]; … in SDL_ConvertPixels_ARGB8888_to_YUV()
511 …const Uint32 r = ((p1 & 0x00ff0000) + (p2 & 0x00ff0000)) >> 17; … in SDL_ConvertPixels_ARGB8888_to_YUV()
512 …const Uint32 g = ((p1 & 0x0000ff00) + (p2 & 0x0000ff00)) >> 9; … in SDL_ConvertPixels_ARGB8888_to_YUV()
513 …const Uint32 b = ((p1 & 0x000000ff) + (p2 & 0x000000ff)) >> 1; … in SDL_ConvertPixels_ARGB8888_to_YUV()
516 …const Uint32 p1 = ((const Uint32 *)curr_row)[2 * i]; … in SDL_ConvertPixels_ARGB8888_to_YUV()
517 …const Uint32 p2 = ((const Uint32 *)curr_row)[2 * i + 1]; … in SDL_ConvertPixels_ARGB8888_to_YUV()
518 …const Uint32 r = ((p1 & 0x00ff0000) + (p2 & 0x00ff0000)) >> 17; … in SDL_ConvertPixels_ARGB8888_to_YUV()
519 …const Uint32 g = ((p1 & 0x0000ff00) + (p2 & 0x0000ff00)) >> 9; … in SDL_ConvertPixels_ARGB8888_to_YUV()
520 …const Uint32 b = ((p1 & 0x000000ff) + (p2 & 0x000000ff)) >> 1; … in SDL_ConvertPixels_ARGB8888_to_YUV()
523 …const Uint32 p = ((const Uint32 *)curr_row)[2 * i]; … in SDL_ConvertPixels_ARGB8888_to_YUV()
524 …const Uint32 r = (p & 0x00ff0000) >> 16; … in SDL_ConvertPixels_ARGB8888_to_YUV()
525 …const Uint32 g = (p & 0x0000ff00) >> 8; … in SDL_ConvertPixels_ARGB8888_to_YUV()
526 …const Uint32 b = (p & 0x000000ff); … in SDL_ConvertPixels_ARGB8888_to_YUV()
529 …const Uint32 p = ((const Uint32 *)curr_row)[2 * i]; … in SDL_ConvertPixels_ARGB8888_to_YUV()
530 …const Uint32 r = (p & 0x00ff0000) >> 16; … in SDL_ConvertPixels_ARGB8888_to_YUV()
531 …const Uint32 g = (p & 0x0000ff00) >> 8; … in SDL_ConvertPixels_ARGB8888_to_YUV()
532 …const Uint32 b = (p & 0x000000ff); … in SDL_ConvertPixels_ARGB8888_to_YUV()
533 …const Uint32 p1 = ((const Uint32 *)curr_row)[2 * i + 1]; … in SDL_ConvertPixels_ARGB8888_to_YUV()
534 …const Uint32 r1 = (p1 & 0x00ff0000) >> 16; … in SDL_ConvertPixels_ARGB8888_to_YUV()
535 …const Uint32 g1 = (p1 & 0x0000ff00) >> 8; … in SDL_ConvertPixels_ARGB8888_to_YUV()
536 …const Uint32 b1 = (p1 & 0x000000ff); … in SDL_ConvertPixels_ARGB8888_to_YUV()
537 …const Uint32 R = (r + r1)/2; … in SDL_ConvertPixels_ARGB8888_to_YUV()
538 …const Uint32 G = (g + g1)/2; … in SDL_ConvertPixels_ARGB8888_to_YUV()
539 …const Uint32 B = (b + b1)/2; … in SDL_ConvertPixels_ARGB8888_to_YUV()
556 Uint32 y_stride, uv_stride, y_skip, uv_skip; in SDL_ConvertPixels_ARGB8888_to_YUV()
569 const Uint32 p1 = ((const Uint32 *)curr_row)[i]; in SDL_ConvertPixels_ARGB8888_to_YUV()
570 const Uint32 r = (p1 & 0x00ff0000) >> 16; in SDL_ConvertPixels_ARGB8888_to_YUV()
571 const Uint32 g = (p1 & 0x0000ff00) >> 8; in SDL_ConvertPixels_ARGB8888_to_YUV()
572 const Uint32 b = (p1 & 0x000000ff); in SDL_ConvertPixels_ARGB8888_to_YUV()
787 Uint32 src_format, const void *src, int src_pitch, in SDL_ConvertPixels_RGB_to_YUV()
788 Uint32 dst_format, void *dst, int dst_pitch) in SDL_ConvertPixels_RGB_to_YUV()
796 Uint32 y_stride; in SDL_ConvertPixels_RGB_to_YUV()
797 Uint32 uv_stride; in SDL_ConvertPixels_RGB_to_YUV()
822 int tmp_pitch = (width * sizeof(Uint32)); in SDL_ConvertPixels_RGB_to_YUV()
844 SDL_ConvertPixels_YUV_to_YUV_Copy(int width, int height, Uint32 format, in SDL_ConvertPixels_YUV_to_YUV_Copy()
1156 Uint32 src_format, const void *src, int src_pitch, in SDL_ConvertPixels_Planar2x2_to_Planar2x2()
1157 Uint32 dst_format, void *dst, int dst_pitch) in SDL_ConvertPixels_Planar2x2_to_Planar2x2()
1499 Uint32 src_format, const void *src, int src_pitch, in SDL_ConvertPixels_Packed4_to_Packed4()
1500 Uint32 dst_format, void *dst, int dst_pitch) in SDL_ConvertPixels_Packed4_to_Packed4()
1541 Uint32 src_format, const void *src, int src_pitch, in SDL_ConvertPixels_Planar2x2_to_Packed4()
1542 Uint32 dst_format, void *dst, int dst_pitch) in SDL_ConvertPixels_Planar2x2_to_Packed4()
1546 Uint32 srcY_pitch, srcUV_pitch; in SDL_ConvertPixels_Planar2x2_to_Packed4()
1547 Uint32 srcY_pitch_left, srcUV_pitch_left, srcUV_pixel_stride; in SDL_ConvertPixels_Planar2x2_to_Packed4()
1549 Uint32 dstY_pitch, dstUV_pitch; in SDL_ConvertPixels_Planar2x2_to_Packed4()
1550 Uint32 dst_pitch_left; in SDL_ConvertPixels_Planar2x2_to_Packed4()
1684 Uint32 src_format, const void *src, int src_pitch, in SDL_ConvertPixels_Packed4_to_Planar2x2()
1685 Uint32 dst_format, void *dst, int dst_pitch) in SDL_ConvertPixels_Packed4_to_Planar2x2()
1689 Uint32 srcY_pitch, srcUV_pitch; in SDL_ConvertPixels_Packed4_to_Planar2x2()
1690 Uint32 src_pitch_left; in SDL_ConvertPixels_Packed4_to_Planar2x2()
1692 Uint32 dstY_pitch, dstUV_pitch; in SDL_ConvertPixels_Packed4_to_Planar2x2()
1693 Uint32 dstY_pitch_left, dstUV_pitch_left, dstUV_pixel_stride; in SDL_ConvertPixels_Packed4_to_Planar2x2()
1739 *dstU = (Uint8)(((Uint32)*srcU1 + *srcU2)/2); in SDL_ConvertPixels_Packed4_to_Planar2x2()
1740 *dstV = (Uint8)(((Uint32)*srcV1 + *srcV2)/2); in SDL_ConvertPixels_Packed4_to_Planar2x2()
1764 *dstU = (Uint8)(((Uint32)*srcU1 + *srcU2)/2); in SDL_ConvertPixels_Packed4_to_Planar2x2()
1765 *dstV = (Uint8)(((Uint32)*srcV1 + *srcV2)/2); in SDL_ConvertPixels_Packed4_to_Planar2x2()
1818 Uint32 src_format, const void *src, int src_pitch, in SDL_ConvertPixels_YUV_to_YUV()
1819 Uint32 dst_format, void *dst, int dst_pitch) in SDL_ConvertPixels_YUV_to_YUV()