Lines Matching refs:dst_format

185     Uint32 src_format, Uint32 dst_format,  in yuv_rgb_sse()  argument
199 switch (dst_format) { in yuv_rgb_sse()
231 switch (dst_format) { in yuv_rgb_sse()
262 switch (dst_format) { in yuv_rgb_sse()
294 Uint32 src_format, Uint32 dst_format, in yuv_rgb_std() argument
303 switch (dst_format) { in yuv_rgb_std()
335 switch (dst_format) { in yuv_rgb_std()
366 switch (dst_format) { in yuv_rgb_std()
399 Uint32 dst_format, void *dst, int dst_pitch) in SDL_ConvertPixels_YUV_to_RGB() argument
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()
425 if (dst_format != SDL_PIXELFORMAT_ARGB8888) { in SDL_ConvertPixels_YUV_to_RGB()
443 …ret = SDL_ConvertPixels(width, height, SDL_PIXELFORMAT_ARGB8888, tmp, tmp_pitch, dst_format, dst, … in SDL_ConvertPixels_YUV_to_RGB()
460 …8_to_YUV(int width, int height, const void *src, int src_pitch, Uint32 dst_format, void *dst, int … in SDL_ConvertPixels_ARGB8888_to_YUV() argument
543 switch (dst_format) in SDL_ConvertPixels_ARGB8888_to_YUV()
558 GetYUVPlanes(width, height, dst_format, dst, dst_pitch, in SDL_ConvertPixels_ARGB8888_to_YUV()
583 if (dst_format == SDL_PIXELFORMAT_YV12 || dst_format == SDL_PIXELFORMAT_IYUV) in SDL_ConvertPixels_ARGB8888_to_YUV()
618 else if (dst_format == SDL_PIXELFORMAT_NV12) in SDL_ConvertPixels_ARGB8888_to_YUV()
698 if (dst_format == SDL_PIXELFORMAT_YUY2) in SDL_ConvertPixels_ARGB8888_to_YUV()
721 else if (dst_format == SDL_PIXELFORMAT_UYVY) in SDL_ConvertPixels_ARGB8888_to_YUV()
744 else if (dst_format == SDL_PIXELFORMAT_YVYU) in SDL_ConvertPixels_ARGB8888_to_YUV()
771 … return SDL_SetError("Unsupported YUV destination format: %s", SDL_GetPixelFormatName(dst_format)); in SDL_ConvertPixels_ARGB8888_to_YUV()
788 Uint32 dst_format, void *dst, int dst_pitch) in SDL_ConvertPixels_RGB_to_YUV() argument
800 …if (GetYUVPlanes(width, height, dst_format, dst, dst_pitch, (const Uint8 **)&y, (const Uint8 **)&u… in SDL_ConvertPixels_RGB_to_YUV()
815 …return SDL_ConvertPixels_ARGB8888_to_YUV(width, height, src, src_pitch, dst_format, dst, dst_pitch… in SDL_ConvertPixels_RGB_to_YUV()
837 …ret = SDL_ConvertPixels_ARGB8888_to_YUV(width, height, tmp, tmp_pitch, dst_format, dst, dst_pitch); in SDL_ConvertPixels_RGB_to_YUV()
1157 Uint32 dst_format, void *dst, int dst_pitch) in SDL_ConvertPixels_Planar2x2_to_Planar2x2() argument
1173 switch (dst_format) { in SDL_ConvertPixels_Planar2x2_to_Planar2x2()
1185 switch (dst_format) { in SDL_ConvertPixels_Planar2x2_to_Planar2x2()
1197 switch (dst_format) { in SDL_ConvertPixels_Planar2x2_to_Planar2x2()
1209 switch (dst_format) { in SDL_ConvertPixels_Planar2x2_to_Planar2x2()
1223 …YUV conversion: %s -> %s", SDL_GetPixelFormatName(src_format), SDL_GetPixelFormatName(dst_format)); in SDL_ConvertPixels_Planar2x2_to_Planar2x2()
1500 Uint32 dst_format, void *dst, int dst_pitch) in SDL_ConvertPixels_Packed4_to_Packed4() argument
1504 switch (dst_format) { in SDL_ConvertPixels_Packed4_to_Packed4()
1514 switch (dst_format) { in SDL_ConvertPixels_Packed4_to_Packed4()
1524 switch (dst_format) { in SDL_ConvertPixels_Packed4_to_Packed4()
1536 …YUV conversion: %s -> %s", SDL_GetPixelFormatName(src_format), SDL_GetPixelFormatName(dst_format)); in SDL_ConvertPixels_Packed4_to_Packed4()
1542 Uint32 dst_format, void *dst, int dst_pitch) in SDL_ConvertPixels_Planar2x2_to_Packed4() argument
1571 if (GetYUVPlanes(width, height, dst_format, dst, dst_pitch, in SDL_ConvertPixels_Planar2x2_to_Packed4()
1685 Uint32 dst_format, void *dst, int dst_pitch) in SDL_ConvertPixels_Packed4_to_Planar2x2() argument
1708 if (GetYUVPlanes(width, height, dst_format, dst, dst_pitch, in SDL_ConvertPixels_Packed4_to_Planar2x2()
1716 if (dst_format == SDL_PIXELFORMAT_NV12 || dst_format == SDL_PIXELFORMAT_NV21) { in SDL_ConvertPixels_Packed4_to_Planar2x2()
1819 Uint32 dst_format, void *dst, int dst_pitch) in SDL_ConvertPixels_YUV_to_YUV() argument
1822 if (src_format == dst_format) { in SDL_ConvertPixels_YUV_to_YUV()
1830 if (IsPlanar2x2Format(src_format) && IsPlanar2x2Format(dst_format)) { in SDL_ConvertPixels_YUV_to_YUV()
1831 …xels_Planar2x2_to_Planar2x2(width, height, src_format, src, src_pitch, dst_format, dst, dst_pitch); in SDL_ConvertPixels_YUV_to_YUV()
1832 } else if (IsPacked4Format(src_format) && IsPacked4Format(dst_format)) { in SDL_ConvertPixels_YUV_to_YUV()
1833 …rtPixels_Packed4_to_Packed4(width, height, src_format, src, src_pitch, dst_format, dst, dst_pitch); in SDL_ConvertPixels_YUV_to_YUV()
1834 } else if (IsPlanar2x2Format(src_format) && IsPacked4Format(dst_format)) { in SDL_ConvertPixels_YUV_to_YUV()
1835 …Pixels_Planar2x2_to_Packed4(width, height, src_format, src, src_pitch, dst_format, dst, dst_pitch); in SDL_ConvertPixels_YUV_to_YUV()
1836 } else if (IsPacked4Format(src_format) && IsPlanar2x2Format(dst_format)) { in SDL_ConvertPixels_YUV_to_YUV()
1837 …Pixels_Packed4_to_Planar2x2(width, height, src_format, src, src_pitch, dst_format, dst, dst_pitch); in SDL_ConvertPixels_YUV_to_YUV()
1839 …YUV conversion: %s -> %s", SDL_GetPixelFormatName(src_format), SDL_GetPixelFormatName(dst_format)); in SDL_ConvertPixels_YUV_to_YUV()