Lines Matching refs:Uint8

95 …            const Uint8 **y, const Uint8 **u, const Uint8 **v, Uint32 *y_stride, Uint32 *uv_stride)  in GetYUVPlanes()
97 const Uint8 *planes[3] = { NULL, NULL, NULL }; in GetYUVPlanes()
106 planes[0] = (const Uint8 *)yuv; in GetYUVPlanes()
114 planes[0] = (const Uint8 *)yuv; in GetYUVPlanes()
120 planes[0] = (const Uint8 *)yuv; in GetYUVPlanes()
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()
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()
401 const Uint8 *y = NULL; in SDL_ConvertPixels_YUV_to_RGB()
402 const Uint8 *u = NULL; in SDL_ConvertPixels_YUV_to_RGB()
403 const Uint8 *v = NULL; in SDL_ConvertPixels_YUV_to_RGB()
416 …if (yuv_rgb_sse(src_format, dst_format, width, height, y, u, v, y_stride, uv_stride, (Uint8*)dst, … in SDL_ConvertPixels_YUV_to_RGB()
420 …if (yuv_rgb_std(src_format, dst_format, width, height, y, u, v, y_stride, uv_stride, (Uint8*)dst, … in SDL_ConvertPixels_YUV_to_RGB()
495 #define MAKE_Y(r, g, b) (Uint8)((int)(cvt->y[0] * (r) + cvt->y[1] * (g) + cvt->y[2] * (b) + 0.5f) +… in SDL_ConvertPixels_ARGB8888_to_YUV()
496 #define MAKE_U(r, g, b) (Uint8)((int)(cvt->u[0] * (r) + cvt->u[1] * (g) + cvt->u[2] * (b) + 0.5f) +… in SDL_ConvertPixels_ARGB8888_to_YUV()
497 #define MAKE_V(r, g, b) (Uint8)((int)(cvt->v[0] * (r) + cvt->v[1] * (g) + cvt->v[2] * (b) + 0.5f) +… in SDL_ConvertPixels_ARGB8888_to_YUV()
550 const Uint8 *curr_row, *next_row; in SDL_ConvertPixels_ARGB8888_to_YUV()
552 Uint8 *plane_y; in SDL_ConvertPixels_ARGB8888_to_YUV()
553 Uint8 *plane_u; in SDL_ConvertPixels_ARGB8888_to_YUV()
554 Uint8 *plane_v; in SDL_ConvertPixels_ARGB8888_to_YUV()
555 Uint8 *plane_interleaved_uv; in SDL_ConvertPixels_ARGB8888_to_YUV()
559 … (const Uint8 **)&plane_y, (const Uint8 **)&plane_u, (const Uint8 **)&plane_v, in SDL_ConvertPixels_ARGB8888_to_YUV()
564 curr_row = (const Uint8*)src; in SDL_ConvertPixels_ARGB8888_to_YUV()
579 curr_row = (const Uint8*)src; in SDL_ConvertPixels_ARGB8888_to_YUV()
580 next_row = (const Uint8*)src; in SDL_ConvertPixels_ARGB8888_to_YUV()
687 const Uint8 *curr_row = (const Uint8*) src; in SDL_ConvertPixels_ARGB8888_to_YUV()
688 Uint8 *plane = (Uint8*) dst; in SDL_ConvertPixels_ARGB8888_to_YUV()
793 Uint8 *y; in SDL_ConvertPixels_RGB_to_YUV()
794 Uint8 *u; in SDL_ConvertPixels_RGB_to_YUV()
795 Uint8 *v; in SDL_ConvertPixels_RGB_to_YUV()
800 …nes(width, height, dst_format, dst, dst_pitch, (const Uint8 **)&y, (const Uint8 **)&u, (const Uint… in SDL_ConvertPixels_RGB_to_YUV()
853 src = (const Uint8*)src + src_pitch; in SDL_ConvertPixels_YUV_to_YUV_Copy()
854 dst = (Uint8*)dst + dst_pitch; in SDL_ConvertPixels_YUV_to_YUV_Copy()
865 src = (const Uint8*)src + src_pitch; in SDL_ConvertPixels_YUV_to_YUV_Copy()
866 dst = (Uint8*)dst + dst_pitch; in SDL_ConvertPixels_YUV_to_YUV_Copy()
876 src = (const Uint8*)src + src_pitch; in SDL_ConvertPixels_YUV_to_YUV_Copy()
877 dst = (Uint8*)dst + dst_pitch; in SDL_ConvertPixels_YUV_to_YUV_Copy()
888 src = (const Uint8*)src + src_pitch; in SDL_ConvertPixels_YUV_to_YUV_Copy()
889 dst = (Uint8*)dst + dst_pitch; in SDL_ConvertPixels_YUV_to_YUV_Copy()
905 src = (const Uint8 *)src + height * src_pitch; in SDL_ConvertPixels_SwapUVPlanes()
906 dst = (Uint8 *)dst + height * dst_pitch; in SDL_ConvertPixels_SwapUVPlanes()
910 Uint8 *tmp; in SDL_ConvertPixels_SwapUVPlanes()
911 Uint8 *row1 = dst; in SDL_ConvertPixels_SwapUVPlanes()
912 Uint8 *row2 = (Uint8 *)dst + UVheight * UVpitch; in SDL_ConvertPixels_SwapUVPlanes()
915 tmp = (Uint8 *)SDL_malloc(UVwidth); in SDL_ConvertPixels_SwapUVPlanes()
928 const Uint8 *srcUV; in SDL_ConvertPixels_SwapUVPlanes()
929 Uint8 *dstUV; in SDL_ConvertPixels_SwapUVPlanes()
934 srcUV = (const Uint8 *)src; in SDL_ConvertPixels_SwapUVPlanes()
935 dstUV = (Uint8 *)dst + UVheight * dstUVPitch; in SDL_ConvertPixels_SwapUVPlanes()
943 dstUV = (Uint8 *)dst; in SDL_ConvertPixels_SwapUVPlanes()
963 const Uint8 *src1, *src2; in SDL_ConvertPixels_PackUVPlanes_to_NV()
964 Uint8 *dstUV; in SDL_ConvertPixels_PackUVPlanes_to_NV()
965 Uint8 *tmp = NULL; in SDL_ConvertPixels_PackUVPlanes_to_NV()
971 src = (const Uint8 *)src + height * src_pitch; in SDL_ConvertPixels_PackUVPlanes_to_NV()
972 dst = (Uint8 *)dst + height * dst_pitch; in SDL_ConvertPixels_PackUVPlanes_to_NV()
976 tmp = (Uint8 *)SDL_malloc(2*UVheight*srcUVPitch); in SDL_ConvertPixels_PackUVPlanes_to_NV()
985 src2 = (const Uint8 *)src; in SDL_ConvertPixels_PackUVPlanes_to_NV()
988 src1 = (const Uint8 *)src; in SDL_ConvertPixels_PackUVPlanes_to_NV()
991 dstUV = (Uint8 *)dst; in SDL_ConvertPixels_PackUVPlanes_to_NV()
1037 const Uint8 *srcUV; in SDL_ConvertPixels_SplitNV_to_UVPlanes()
1038 Uint8 *dst1, *dst2; in SDL_ConvertPixels_SplitNV_to_UVPlanes()
1039 Uint8 *tmp = NULL; in SDL_ConvertPixels_SplitNV_to_UVPlanes()
1045 src = (const Uint8 *)src + height * src_pitch; in SDL_ConvertPixels_SplitNV_to_UVPlanes()
1046 dst = (Uint8 *)dst + height * dst_pitch; in SDL_ConvertPixels_SplitNV_to_UVPlanes()
1050 tmp = (Uint8 *)SDL_malloc(UVheight*srcUVPitch); in SDL_ConvertPixels_SplitNV_to_UVPlanes()
1059 dst2 = (Uint8 *)dst; in SDL_ConvertPixels_SplitNV_to_UVPlanes()
1062 dst1 = (Uint8 *)dst; in SDL_ConvertPixels_SplitNV_to_UVPlanes()
1065 srcUV = (const Uint8 *)src; in SDL_ConvertPixels_SplitNV_to_UVPlanes()
1123 src = (const Uint8 *)src + height * src_pitch; in SDL_ConvertPixels_SwapNV()
1124 dst = (Uint8 *)dst + height * dst_pitch; in SDL_ConvertPixels_SwapNV()
1162 const Uint8 *srcY = (const Uint8 *)src; in SDL_ConvertPixels_Planar2x2_to_Planar2x2()
1163 Uint8 *dstY = (Uint8 *)dst; in SDL_ConvertPixels_Planar2x2_to_Planar2x2()
1252 const Uint8 *srcYUV = (const Uint8 *)src; in SDL_ConvertPixels_YUY2_to_UYVY()
1253 Uint8 *dstYUV = (Uint8 *)dst; in SDL_ConvertPixels_YUY2_to_UYVY()
1267 Uint8 Y1, U, Y2, V; in SDL_ConvertPixels_YUY2_to_UYVY()
1294 const Uint8 *srcYUV = (const Uint8 *)src; in SDL_ConvertPixels_YUY2_to_YVYU()
1295 Uint8 *dstYUV = (Uint8 *)dst; in SDL_ConvertPixels_YUY2_to_YVYU()
1309 Uint8 Y1, U, Y2, V; in SDL_ConvertPixels_YUY2_to_YVYU()
1336 const Uint8 *srcYUV = (const Uint8 *)src; in SDL_ConvertPixels_UYVY_to_YUY2()
1337 Uint8 *dstYUV = (Uint8 *)dst; in SDL_ConvertPixels_UYVY_to_YUY2()
1351 Uint8 Y1, U, Y2, V; in SDL_ConvertPixels_UYVY_to_YUY2()
1378 const Uint8 *srcYUV = (const Uint8 *)src; in SDL_ConvertPixels_UYVY_to_YVYU()
1379 Uint8 *dstYUV = (Uint8 *)dst; in SDL_ConvertPixels_UYVY_to_YVYU()
1393 Uint8 Y1, U, Y2, V; in SDL_ConvertPixels_UYVY_to_YVYU()
1420 const Uint8 *srcYUV = (const Uint8 *)src; in SDL_ConvertPixels_YVYU_to_YUY2()
1421 Uint8 *dstYUV = (Uint8 *)dst; in SDL_ConvertPixels_YVYU_to_YUY2()
1435 Uint8 Y1, U, Y2, V; in SDL_ConvertPixels_YVYU_to_YUY2()
1462 const Uint8 *srcYUV = (const Uint8 *)src; in SDL_ConvertPixels_YVYU_to_UYVY()
1463 Uint8 *dstYUV = (Uint8 *)dst; in SDL_ConvertPixels_YVYU_to_UYVY()
1477 Uint8 Y1, U, Y2, V; in SDL_ConvertPixels_YVYU_to_UYVY()
1545 const Uint8 *srcY1, *srcY2, *srcU, *srcV; in SDL_ConvertPixels_Planar2x2_to_Packed4()
1548 Uint8 *dstY1, *dstY2, *dstU1, *dstU2, *dstV1, *dstV2; in SDL_ConvertPixels_Planar2x2_to_Packed4()
1572 (const Uint8 **)&dstY1, (const Uint8 **)&dstU1, (const Uint8 **)&dstV1, in SDL_ConvertPixels_Planar2x2_to_Packed4()
1688 const Uint8 *srcY1, *srcY2, *srcU1, *srcU2, *srcV1, *srcV2; in SDL_ConvertPixels_Packed4_to_Planar2x2()
1691 Uint8 *dstY1, *dstY2, *dstU, *dstV; in SDL_ConvertPixels_Packed4_to_Planar2x2()
1709 (const Uint8 **)&dstY1, (const Uint8 **)&dstU, (const Uint8 **)&dstV, 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()