Go to the documentation of this file.
26 #ifndef SWSCALE_RGB2RGB_H
27 #define SWSCALE_RGB2RGB_H
36 extern void (*
rgb32to16)(
const uint8_t *
src, uint8_t *
dst,
int src_size);
37 extern void (*
rgb32to15)(
const uint8_t *
src, uint8_t *
dst,
int src_size);
38 extern void (*
rgb15to16)(
const uint8_t *
src, uint8_t *
dst,
int src_size);
40 extern void (*
rgb15to32)(
const uint8_t *
src, uint8_t *
dst,
int src_size);
41 extern void (*
rgb16to15)(
const uint8_t *
src, uint8_t *
dst,
int src_size);
43 extern void (*
rgb16to32)(
const uint8_t *
src, uint8_t *
dst,
int src_size);
45 extern void (*
rgb24to16)(
const uint8_t *
src, uint8_t *
dst,
int src_size);
46 extern void (*
rgb24to15)(
const uint8_t *
src, uint8_t *
dst,
int src_size);
93 uint8_t *vdst,
int width,
int height,
int lumStride,
100 extern void (*
yv12toyuy2)(
const uint8_t *ysrc,
const uint8_t *usrc,
const uint8_t *vsrc, uint8_t *
dst,
102 int lumStride,
int chromStride,
int dstStride);
107 extern void (*
yuv422ptoyuy2)(
const uint8_t *ysrc,
const uint8_t *usrc,
const uint8_t *vsrc, uint8_t *
dst,
109 int lumStride,
int chromStride,
int dstStride);
115 extern void (*
yuy2toyv12)(
const uint8_t *
src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst,
117 int lumStride,
int chromStride,
int srcStride);
123 extern void (*
yv12touyvy)(
const uint8_t *ysrc,
const uint8_t *usrc,
const uint8_t *vsrc, uint8_t *
dst,
125 int lumStride,
int chromStride,
int dstStride);
130 extern void (*
yuv422ptouyvy)(
const uint8_t *ysrc,
const uint8_t *usrc,
const uint8_t *vsrc, uint8_t *
dst,
132 int lumStride,
int chromStride,
int dstStride);
138 extern void (*
ff_rgb24toyv12)(
const uint8_t *
src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst,
140 int lumStride,
int chromStride,
int srcStride,
143 int srcStride,
int dstStride);
147 int src2Stride,
int dstStride);
151 int dst1Stride,
int dst2Stride);
154 uint8_t *dst1, uint8_t *dst2,
156 int srcStride1,
int srcStride2,
157 int dstStride1,
int dstStride2);
162 int srcStride1,
int srcStride2,
163 int srcStride3,
int dstStride);
165 extern void (*
uyvytoyuv420)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst,
const uint8_t *
src,
167 int lumStride,
int chromStride,
int srcStride);
168 extern void (*
uyvytoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst,
const uint8_t *
src,
170 int lumStride,
int chromStride,
int srcStride);
171 extern void (*
yuyvtoyuv420)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst,
const uint8_t *
src,
173 int lumStride,
int chromStride,
int srcStride);
174 extern void (*
yuyvtoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst,
const uint8_t *
src,
176 int lumStride,
int chromStride,
int srcStride);
void(* rgb32tobgr16)(const uint8_t *src, uint8_t *dst, int src_size)
void(* rgb24tobgr16)(const uint8_t *src, uint8_t *dst, int src_size)
void rgb16tobgr16(const uint8_t *src, uint8_t *dst, int src_size)
void rgb12tobgr12(const uint8_t *src, uint8_t *dst, int src_size)
void(* rgb32to16)(const uint8_t *src, uint8_t *dst, int src_size)
void(* vu9_to_vu12)(const uint8_t *src1, const uint8_t *src2, uint8_t *dst1, uint8_t *dst2, int width, int height, int srcStride1, int srcStride2, int dstStride1, int dstStride2)
void(* uyvytoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src, int width, int height, int lumStride, int chromStride, int srcStride)
void rgb16tobgr32(const uint8_t *src, uint8_t *dst, int src_size)
void(* yuyvtoyuv420)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src, int width, int height, int lumStride, int chromStride, int srcStride)
void rgb15to24(const uint8_t *src, uint8_t *dst, int src_size)
void(* rgb32to15)(const uint8_t *src, uint8_t *dst, int src_size)
void(* rgb24tobgr32)(const uint8_t *src, uint8_t *dst, int src_size)
void x2rgb10tobgr64_bswap(const uint8_t *src, uint8_t *dst, int src_size)
static const char rgb2yuv[]
void rgb48tobgr48_nobswap(const uint8_t *src, uint8_t *dst, int src_size)
void(* rgb32tobgr24)(const uint8_t *src, uint8_t *dst, int src_size)
void(* shuffle_bytes_2103)(const uint8_t *src, uint8_t *dst, int src_size)
void(* interleaveBytes)(const uint8_t *src1, const uint8_t *src2, uint8_t *dst, int width, int height, int src1Stride, int src2Stride, int dstStride)
void(* yv12toyuy2)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, int width, int height, int lumStride, int chromStride, int dstStride)
Height should be a multiple of 2 and width should be a multiple of 16.
void(* uyvytoyuv420)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src, int width, int height, int lumStride, int chromStride, int srcStride)
void(* rgb15to32)(const uint8_t *src, uint8_t *dst, int src_size)
void x2rgb10tobgr48_nobswap(const uint8_t *src, uint8_t *dst, int src_size)
void rgb24to32(const uint8_t *src, uint8_t *dst, int src_size)
void(* rgb15tobgr24)(const uint8_t *src, uint8_t *dst, int src_size)
void x2rgb10tobgr48_bswap(const uint8_t *src, uint8_t *dst, int src_size)
void(* shuffle_bytes_3210)(const uint8_t *src, uint8_t *dst, int src_size)
void rgb48tobgr64_bswap(const uint8_t *src, uint8_t *dst, int src_size)
void(* shuffle_bytes_3102)(const uint8_t *src, uint8_t *dst, int src_size)
void(* rgb16to15)(const uint8_t *src, uint8_t *dst, int src_size)
void(* yv12touyvy)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, int width, int height, int lumStride, int chromStride, int dstStride)
Height should be a multiple of 2 and width should be a multiple of 16.
void(* yuy2toyv12)(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, int width, int height, int lumStride, int chromStride, int srcStride)
Height should be a multiple of 2 and width should be a multiple of 16.
void(* deinterleaveBytes)(const uint8_t *src, uint8_t *dst1, uint8_t *dst2, int width, int height, int srcStride, int dst1Stride, int dst2Stride)
void(* rgb16tobgr24)(const uint8_t *src, uint8_t *dst, int src_size)
void rgb2rgb_init_x86(void)
void rgb48to64_bswap(const uint8_t *src, uint8_t *dst, int src_size)
void rgb2rgb_init_loongarch(void)
void(* shuffle_bytes_3012)(const uint8_t *src, uint8_t *dst, int src_size)
void(* rgb32tobgr15)(const uint8_t *src, uint8_t *dst, int src_size)
void(* shuffle_bytes_2130)(const uint8_t *src, uint8_t *dst, int src_size)
void rgb15tobgr15(const uint8_t *src, uint8_t *dst, int src_size)
void x2rgb10to64_nobswap(const uint8_t *src, uint8_t *dst, int src_size)
void rgb64tobgr48_bswap(const uint8_t *src, uint8_t *dst, int src_size)
void rgb64to48_nobswap(const uint8_t *src, uint8_t *dst, int src_size)
void rgb16to24(const uint8_t *src, uint8_t *dst, int src_size)
void rgb12to15(const uint8_t *src, uint8_t *dst, int src_size)
void rgb15tobgr16(const uint8_t *src, uint8_t *dst, int src_size)
void(* yuyvtoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src, int width, int height, int lumStride, int chromStride, int srcStride)
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
void x2rgb10tobgr64_nobswap(const uint8_t *src, uint8_t *dst, int src_size)
void(* shuffle_bytes_1230)(const uint8_t *src, uint8_t *dst, int src_size)
void rgb64tobgr48_nobswap(const uint8_t *src, uint8_t *dst, int src_size)
void(* yuv422ptoyuy2)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, int width, int height, int lumStride, int chromStride, int dstStride)
Width should be a multiple of 16.
void(* ff_rgb24toyv12)(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, int width, int height, int lumStride, int chromStride, int srcStride, const int32_t *rgb2yuv)
Height should be a multiple of 2 and width should be a multiple of 2.
void ff_sws_rgb2rgb_init(void)
void(* rgb24to16)(const uint8_t *src, uint8_t *dst, int src_size)
void(* planar2x)(const uint8_t *src, uint8_t *dst, int width, int height, int srcStride, int dstStride)
void(* yuv422ptouyvy)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, int width, int height, int lumStride, int chromStride, int dstStride)
Width should be a multiple of 16.
void rgb48tobgr64_nobswap(const uint8_t *src, uint8_t *dst, int src_size)
void rgb32to24(const uint8_t *src, uint8_t *dst, int src_size)
void(* rgb16to32)(const uint8_t *src, uint8_t *dst, int src_size)
void rgb2rgb_init_aarch64(void)
void rgb15tobgr32(const uint8_t *src, uint8_t *dst, int src_size)
void x2rgb10to48_bswap(const uint8_t *src, uint8_t *dst, int src_size)
void(* rgb15to16)(const uint8_t *src, uint8_t *dst, int src_size)
void rgb48to64_nobswap(const uint8_t *src, uint8_t *dst, int src_size)
void rgb48tobgr48_bswap(const uint8_t *src, uint8_t *dst, int src_size)
void(* rgb24to15)(const uint8_t *src, uint8_t *dst, int src_size)
void(* shuffle_bytes_0321)(const uint8_t *src, uint8_t *dst, int src_size)
void(* yvu9_to_yuy2)(const uint8_t *src1, const uint8_t *src2, const uint8_t *src3, uint8_t *dst, int width, int height, int srcStride1, int srcStride2, int srcStride3, int dstStride)
void x2rgb10to48_nobswap(const uint8_t *src, uint8_t *dst, int src_size)
void rgb64to48_bswap(const uint8_t *src, uint8_t *dst, int src_size)
void rgb16tobgr15(const uint8_t *src, uint8_t *dst, int src_size)
void rgb2rgb_init_riscv(void)
void(* rgb24tobgr15)(const uint8_t *src, uint8_t *dst, int src_size)
void(* shuffle_bytes_2013)(const uint8_t *src, uint8_t *dst, int src_size)
void(* shuffle_bytes_1203)(const uint8_t *src, uint8_t *dst, int src_size)
void x2rgb10to64_bswap(const uint8_t *src, uint8_t *dst, int src_size)
void ff_rgb24toyv12_c(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, int width, int height, int lumStride, int chromStride, int srcStride, const int32_t *rgb2yuv)
width should be a multiple of 2.
void(* rgb24tobgr24)(const uint8_t *src, uint8_t *dst, int src_size)