90 const uint8_t *mm_end = end - 3;
93 register unsigned x = *((
const uint32_t *)s);
94 *((uint32_t *)d) = (x & 0x7FFF7FFF) + (x & 0x7FE07FE0);
99 register unsigned short x = *((
const uint16_t *)s);
100 *((uint16_t *)d) = (x & 0x7FFF) + (x & 0x7FE0);
109 const uint8_t *mm_end = end - 3;
112 register uint32_t x = *((
const uint32_t *)s);
113 *((uint32_t *)d) = ((x >> 1) & 0x7FE07FE0) | (x & 0x001F001F);
118 register uint16_t x = *((
const uint16_t *)s);
119 *((uint16_t *)d) = ((x >> 1) & 0x7FE0) | (x & 0x001F);
125 uint16_t *d = (uint16_t *)dst;
130 register int rgb = *(
const uint32_t *)s;
132 *d++ = ((rgb & 0xFF) >> 3) +
133 ((rgb & 0xFC00) >> 5) +
134 ((rgb & 0xF80000) >> 8);
141 uint16_t *d = (uint16_t *)dst;
146 register int rgb = *(
const uint32_t *)s;
148 *d++ = ((rgb & 0xF8) << 8) +
149 ((rgb & 0xFC00) >> 5) +
150 ((rgb & 0xF80000) >> 19);
156 uint16_t *d = (uint16_t *)dst;
161 register int rgb = *(
const uint32_t *)s;
163 *d++ = ((rgb & 0xFF) >> 3) +
164 ((rgb & 0xF800) >> 6) +
165 ((rgb & 0xF80000) >> 9);
172 uint16_t *d = (uint16_t *)dst;
177 register int rgb = *(
const uint32_t *)s;
179 *d++ = ((rgb & 0xF8) << 7) +
180 ((rgb & 0xF800) >> 6) +
181 ((rgb & 0xF80000) >> 19);
188 uint16_t *d = (uint16_t *)dst;
196 *d++ = (b >> 3) | ((g & 0xFC) << 3) | ((r & 0xF8) << 8);
202 uint16_t *d = (uint16_t *)dst;
210 *d++ = (b >> 3) | ((g & 0xFC) << 3) | ((r & 0xF8) << 8);
217 uint16_t *d = (uint16_t *)dst;
225 *d++ = (b >> 3) | ((g & 0xF8) << 2) | ((r & 0xF8) << 7);
231 uint16_t *d = (uint16_t *)dst;
239 *d++ = (b >> 3) | ((g & 0xF8) << 2) | ((r & 0xF8) << 7);
247 const uint16_t *
s = (
const uint16_t *)src;
248 const uint16_t *
end = s + src_size / 2;
251 register uint16_t bgr = *s++;
252 *d++ = ((bgr&0x001F)<<3) | ((bgr&0x001F)>> 2);
253 *d++ = ((bgr&0x03E0)>>2) | ((bgr&0x03E0)>> 7);
254 *d++ = ((bgr&0x7C00)>>7) | ((bgr&0x7C00)>>12);
262 const uint16_t *
s = (
const uint16_t *)src;
263 const uint16_t *
end = s + src_size / 2;
266 register uint16_t bgr = *s++;
267 *d++ = ((bgr&0x001F)<<3) | ((bgr&0x001F)>> 2);
268 *d++ = ((bgr&0x07E0)>>3) | ((bgr&0x07E0)>> 9);
269 *d++ = ((bgr&0xF800)>>8) | ((bgr&0xF800)>>13);
276 const uint16_t *
s = (
const uint16_t *)src;
277 const uint16_t *
end = s + src_size / 2;
280 register uint16_t bgr = *s++;
283 *d++ = ((bgr&0x7C00)>>7) | ((bgr&0x7C00)>>12);
284 *d++ = ((bgr&0x03E0)>>2) | ((bgr&0x03E0)>> 7);
285 *d++ = ((bgr&0x001F)<<3) | ((bgr&0x001F)>> 2);
287 *d++ = ((bgr&0x001F)<<3) | ((bgr&0x001F)>> 2);
288 *d++ = ((bgr&0x03E0)>>2) | ((bgr&0x03E0)>> 7);
289 *d++ = ((bgr&0x7C00)>>7) | ((bgr&0x7C00)>>12);
298 const uint16_t *
s = (
const uint16_t *)src;
299 const uint16_t *
end = s + src_size / 2;
302 register uint16_t bgr = *s++;
305 *d++ = ((bgr&0xF800)>>8) | ((bgr&0xF800)>>13);
306 *d++ = ((bgr&0x07E0)>>3) | ((bgr&0x07E0)>> 9);
307 *d++ = ((bgr&0x001F)<<3) | ((bgr&0x001F)>> 2);
309 *d++ = ((bgr&0x001F)<<3) | ((bgr&0x001F)>> 2);
310 *d++ = ((bgr&0x07E0)>>3) | ((bgr&0x07E0)>> 9);
311 *d++ = ((bgr&0xF800)>>8) | ((bgr&0xF800)>>13);
320 int idx = 15 - src_size;
324 for (; idx < 15; idx += 4) {
325 register unsigned v = *(
const uint32_t *)&s[idx],
g = v & 0xff00ff00;
327 *(uint32_t *)&d[idx] = (v >> 16) +
g + (v << 16);
334 int idx = 15 - src_size;
338 for (; idx < 15; idx += 4) {
339 register unsigned v = *(
const uint32_t *)&s[idx],
g = v & 0x00ff00ff;
341 *(uint32_t *)&d[idx] = (v >> 16) +
g + (v << 16);
349 for (i = 0; i < src_size; i += 3) {
350 register uint8_t x = src[i + 2];
351 dst[i + 1] = src[i + 1];
352 dst[i + 2] = src[i + 0];
360 int lumStride,
int chromStride,
361 int dstStride,
int vertLumPerChroma)
364 const int chromWidth = width >> 1;
366 for (y = 0; y <
height; y++) {
368 uint64_t *ldst = (uint64_t *)dst;
369 const uint8_t *yc = ysrc, *uc = usrc, *vc = vsrc;
370 for (i = 0; i < chromWidth; i += 2) {
371 uint64_t k = yc[0] + (uc[0] << 8) +
372 (yc[1] << 16) + ((unsigned) vc[0] << 24);
373 uint64_t l = yc[2] + (uc[1] << 8) +
374 (yc[3] << 16) + ((unsigned) vc[1] << 24);
375 *ldst++ = k + (l << 32);
383 const uint8_t *yc = ysrc, *uc = usrc, *vc = vsrc;
385 for (i = 0; i < chromWidth; i++) {
387 *idst++ = (yc[0] << 24) + (uc[0] << 16) +
388 (yc[1] << 8) + (vc[0] << 0);
390 *idst++ = yc[0] + (uc[0] << 8) +
391 (yc[1] << 16) + (vc[0] << 24);
398 if ((y & (vertLumPerChroma - 1)) == vertLumPerChroma - 1) {
414 int chromStride,
int dstStride)
418 chromStride, dstStride, 2);
424 int lumStride,
int chromStride,
425 int dstStride,
int vertLumPerChroma)
428 const int chromWidth = width >> 1;
430 for (y = 0; y <
height; y++) {
432 uint64_t *ldst = (uint64_t *)dst;
433 const uint8_t *yc = ysrc, *uc = usrc, *vc = vsrc;
434 for (i = 0; i < chromWidth; i += 2) {
435 uint64_t k = uc[0] + (yc[0] << 8) +
436 (vc[0] << 16) + ((unsigned) yc[1] << 24);
437 uint64_t l = uc[1] + (yc[2] << 8) +
438 (vc[1] << 16) + ((unsigned) yc[3] << 24);
439 *ldst++ = k + (l << 32);
447 const uint8_t *yc = ysrc, *uc = usrc, *vc = vsrc;
449 for (i = 0; i < chromWidth; i++) {
451 *idst++ = (uc[0] << 24) + (yc[0] << 16) +
452 (vc[0] << 8) + (yc[1] << 0);
454 *idst++ = uc[0] + (yc[0] << 8) +
455 (vc[0] << 16) + (yc[1] << 24);
462 if ((y & (vertLumPerChroma - 1)) == vertLumPerChroma - 1) {
478 int chromStride,
int dstStride)
482 chromStride, dstStride, 2);
491 int chromStride,
int dstStride)
494 chromStride, dstStride, 1);
503 int chromStride,
int dstStride)
506 chromStride, dstStride, 1);
516 int chromStride,
int srcStride)
519 const int chromWidth = width >> 1;
521 for (y = 0; y <
height; y += 2) {
523 for (i = 0; i < chromWidth; i++) {
524 ydst[2 * i + 0] = src[4 * i + 0];
525 udst[i] = src[4 * i + 1];
526 ydst[2 * i + 1] = src[4 * i + 2];
527 vdst[i] = src[4 * i + 3];
532 for (i = 0; i < chromWidth; i++) {
533 ydst[2 * i + 0] = src[4 * i + 0];
534 ydst[2 * i + 1] = src[4 * i + 2];
544 int srcHeight,
int srcStride,
int dstStride)
551 for (x = 0; x < srcWidth - 1; x++) {
552 dst[2 * x + 1] = (3 * src[x] + src[x + 1]) >> 2;
553 dst[2 * x + 2] = (src[x] + 3 * src[x + 1]) >> 2;
555 dst[2 * srcWidth - 1] = src[srcWidth - 1];
559 for (y = 1; y < srcHeight; y++) {
560 const int mmxSize = 1;
562 dst[0] = (src[0] * 3 + src[srcStride]) >> 2;
563 dst[dstStride] = (src[0] + 3 * src[srcStride]) >> 2;
565 for (x = mmxSize - 1; x < srcWidth - 1; x++) {
566 dst[2 * x + 1] = (src[x + 0] * 3 + src[x + srcStride + 1]) >> 2;
567 dst[2 * x + dstStride + 2] = (src[x + 0] + 3 * src[x + srcStride + 1]) >> 2;
568 dst[2 * x + dstStride + 1] = (src[x + 1] + 3 * src[x + srcStride]) >> 2;
569 dst[2 * x + 2] = (src[x + 1] * 3 + src[x + srcStride]) >> 2;
571 dst[srcWidth * 2 - 1] = (src[srcWidth - 1] * 3 + src[srcWidth - 1 + srcStride]) >> 2;
572 dst[srcWidth * 2 - 1 + dstStride] = (src[srcWidth - 1] + 3 * src[srcWidth - 1 + srcStride]) >> 2;
574 dst += dstStride * 2;
581 for (x = 0; x < srcWidth - 1; x++) {
582 dst[2 * x + 1] = (src[x] * 3 + src[x + 1]) >> 2;
583 dst[2 * x + 2] = (src[x] + 3 * src[x + 1]) >> 2;
585 dst[2 * srcWidth - 1] = src[srcWidth - 1];
597 int chromStride,
int srcStride)
600 const int chromWidth = width >> 1;
602 for (y = 0; y <
height; y += 2) {
604 for (i = 0; i < chromWidth; i++) {
605 udst[i] = src[4 * i + 0];
606 ydst[2 * i + 0] = src[4 * i + 1];
607 vdst[i] = src[4 * i + 2];
608 ydst[2 * i + 1] = src[4 * i + 3];
613 for (i = 0; i < chromWidth; i++) {
614 ydst[2 * i + 0] = src[4 * i + 1];
615 ydst[2 * i + 1] = src[4 * i + 3];
639 const int chromWidth = width >> 1;
641 for (y = 0; y <
height; y += 2) {
643 for (i = 0; i < chromWidth; i++) {
644 unsigned int b = src[6 * i + 0];
645 unsigned int g = src[6 * i + 1];
646 unsigned int r = src[6 * i + 2];
669 for (i = 0; i < chromWidth; i++) {
670 unsigned int b = src[6 * i + 0];
671 unsigned int g = src[6 * i + 1];
672 unsigned int r = src[6 * i + 2];
694 int src1Stride,
int src2Stride,
int dstStride)
698 for (h = 0; h <
height; h++) {
700 for (w = 0; w <
width; w++) {
701 dest[2 * w + 0] = src1[w];
702 dest[2 * w + 1] = src2[w];
712 int dst1Stride,
int dst2Stride)
716 for (h = 0; h <
height; h++) {
718 for (w = 0; w <
width; w++) {
719 dst1[w] = src[2 * w + 0];
720 dst2[w] = src[2 * w + 1];
731 int srcStride1,
int srcStride2,
732 int dstStride1,
int dstStride2)
738 for (y = 0; y <
h; y++) {
739 const uint8_t *
s1 = src1 + srcStride1 * (y >> 1);
741 for (x = 0; x < w; x++)
742 d[2 * x] = d[2 * x + 1] = s1[x];
744 for (y = 0; y <
h; y++) {
745 const uint8_t *
s2 = src2 + srcStride2 * (y >> 1);
747 for (x = 0; x < w; x++)
748 d[2 * x] = d[2 * x + 1] = s2[x];
755 int srcStride1,
int srcStride2,
756 int srcStride3,
int dstStride)
762 for (y = 0; y <
h; y++) {
763 const uint8_t *yp = src1 + srcStride1 *
y;
764 const uint8_t *up = src2 + srcStride2 * (y >> 2);
765 const uint8_t *vp = src3 + srcStride3 * (y >> 2);
767 for (x = 0; x < w; x++) {
768 const int x2 = x << 2;
769 d[8 * x + 0] = yp[x2];
770 d[8 * x + 1] = up[x];
771 d[8 * x + 2] = yp[x2 + 1];
772 d[8 * x + 3] = vp[x];
773 d[8 * x + 4] = yp[x2 + 2];
774 d[8 * x + 5] = up[x];
775 d[8 * x + 6] = yp[x2 + 3];
776 d[8 * x + 7] = vp[x];
800 dst0[
count] = src[4 * count + 0];
801 dst1[
count] = src[4 * count + 2];
815 dst0[
count] = (src0[4 * count + 0] + src1[4 * count + 0]) >> 1;
816 dst1[
count] = (src0[4 * count + 2] + src1[4 * count + 2]) >> 1;
830 dst0[
count] = src[4 * count + 0];
831 dst1[
count] = src[4 * count + 2];
847 dst0[
count] = (src0[4 * count + 0] + src1[4 * count + 0]) >> 1;
848 dst1[
count] = (src0[4 * count + 2] + src1[4 * count + 2]) >> 1;
855 int lumStride,
int chromStride,
int srcStride)
860 for (y = 0; y <
height; y++) {
875 int lumStride,
int chromStride,
int srcStride)
880 for (y = 0; y <
height; y++) {
893 int lumStride,
int chromStride,
int srcStride)
898 for (y = 0; y <
height; y++) {
913 int lumStride,
int chromStride,
int srcStride)
918 for (y = 0; y <
height; y++) {
static void uyvytoyuv420_c(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src, int width, int height, int lumStride, int chromStride, int srcStride)
static void uyvytoyv12_c(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.
static void yuv422ptoyuy2_c(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.
static void extract_odd2avg_c(const uint8_t *src0, const uint8_t *src1, uint8_t *dst0, uint8_t *dst1, int count)
static void yuyvtoyuv420_c(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src, int width, int height, int lumStride, int chromStride, int srcStride)
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, int32_t *rgb2yuv)
Height should be a multiple of 2 and width should be a multiple of 2.
void(* planar2x)(const uint8_t *src, uint8_t *dst, int width, int height, int srcStride, int dstStride)
static void planar2x_c(const uint8_t *src, uint8_t *dst, int srcWidth, int srcHeight, int srcStride, int dstStride)
static void rgb16to32_c(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)
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.
static void rgb24tobgr32_c(const uint8_t *src, uint8_t *dst, int src_size)
void(* rgb32to16)(const uint8_t *src, uint8_t *dst, int src_size)
static void rgb15tobgr24_c(const uint8_t *src, uint8_t *dst, int src_size)
static void vu9_to_vu12_c(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)
static void yuy2toyv12_c(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.
Macro definitions for various function/variable attributes.
void(* rgb16to15)(const uint8_t *src, uint8_t *dst, int src_size)
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(* uyvytoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src, int width, int height, int lumStride, int chromStride, int srcStride)
static void rgb16tobgr24_c(const uint8_t *src, uint8_t *dst, int src_size)
static void rgb24tobgr16_c(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.
static av_cold int end(AVCodecContext *avctx)
static void extract_even_c(const uint8_t *src, uint8_t *dst, int count)
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, int32_t *rgb2yuv)
Height should be a multiple of 2 and width should be a multiple of 2.
void(* rgb15tobgr24)(const uint8_t *src, uint8_t *dst, int src_size)
static void rgb16to15_c(const uint8_t *src, uint8_t *dst, int src_size)
static void yuvPlanartouyvy_c(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, int vertLumPerChroma)
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(* interleaveBytes)(const uint8_t *src1, const uint8_t *src2, uint8_t *dst, int width, int height, int src1Stride, int src2Stride, int dstStride)
static av_cold void rgb2rgb_init_c(void)
void(* rgb16to32)(const uint8_t *src, uint8_t *dst, int src_size)
void(* rgb24tobgr32)(const uint8_t *src, uint8_t *dst, int src_size)
static void yv12toyuy2_c(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(* rgb24to15)(const uint8_t *src, uint8_t *dst, int src_size)
static void interleaveBytes_c(const uint8_t *src1, const uint8_t *src2, uint8_t *dest, int width, int height, int src1Stride, int src2Stride, int dstStride)
static void rgb24to16_c(const uint8_t *src, uint8_t *dst, int src_size)
static void extract_even2_c(const uint8_t *src, uint8_t *dst0, uint8_t *dst1, int count)
static void yv12touyvy_c(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 (If this is a problem for anyon...
static void shuffle_bytes_0321_c(const uint8_t *src, uint8_t *dst, int src_size)
void(* rgb32tobgr15)(const uint8_t *src, uint8_t *dst, int src_size)
static void rgb24tobgr24_c(const uint8_t *src, uint8_t *dst, int src_size)
#define FF_CEIL_RSHIFT(a, b)
static void rgb32tobgr24_c(const uint8_t *src, uint8_t *dst, int src_size)
static void uyvytoyuv422_c(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src, int width, int height, int lumStride, int chromStride, int srcStride)
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.
static void yuyvtoyuv422_c(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)
static void yuv422ptouyvy_c(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.
static void deinterleaveBytes_c(const uint8_t *src, uint8_t *dst1, uint8_t *dst2, int width, int height, int srcStride, int dst1Stride, int dst2Stride)
void(* rgb15to16)(const uint8_t *src, uint8_t *dst, int src_size)
static void yvu9_to_yuy2_c(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(* 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)
static void rgb15to32_c(const uint8_t *src, uint8_t *dst, int src_size)
static void rgb15to16_c(const uint8_t *src, uint8_t *dst, int src_size)
void(* rgb32to15)(const uint8_t *src, uint8_t *dst, int src_size)
BYTE int const BYTE int int int height
void(* shuffle_bytes_2103)(const uint8_t *src, uint8_t *dst, int src_size)
static void rgb32to16_c(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(* rgb24tobgr15)(const uint8_t *src, uint8_t *dst, int src_size)
static void extract_even2avg_c(const uint8_t *src0, const uint8_t *src1, uint8_t *dst0, uint8_t *dst1, int count)
static void extract_odd2_c(const uint8_t *src, uint8_t *dst0, uint8_t *dst1, int count)
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.
static void rgb32to15_c(const uint8_t *src, uint8_t *dst, int src_size)
static void yuvPlanartoyuy2_c(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, int vertLumPerChroma)
static void rgb24tobgr15_c(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(* rgb24tobgr16)(const uint8_t *src, uint8_t *dst, int src_size)
static void rgb32tobgr15_c(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(* rgb32tobgr24)(const uint8_t *src, uint8_t *dst, int src_size)
void(* rgb24to16)(const uint8_t *src, uint8_t *dst, int src_size)
void(* rgb16tobgr24)(const uint8_t *src, uint8_t *dst, int src_size)
void(* rgb32tobgr16)(const uint8_t *src, uint8_t *dst, int src_size)
static void shuffle_bytes_2103_c(const uint8_t *src, uint8_t *dst, int src_size)
static void rgb24to15_c(const uint8_t *src, uint8_t *dst, int src_size)
void(* deinterleaveBytes)(const uint8_t *src, uint8_t *dst1, uint8_t *dst2, int width, int height, int srcStride, int dst1Stride, int dst2Stride)
static void rgb32tobgr16_c(const uint8_t *src, uint8_t *dst, int src_size)
static av_always_inline uint32_t rgb2yuv(const uint32_t *r2y, uint32_t c)
void(* rgb24tobgr24)(const uint8_t *src, uint8_t *dst, int src_size)