Lines Matching defs:dest

144 yuv2plane1_16_c_template(const int32_t *src, uint16_t *dest, int dstW,
153 output_pixel(&dest[i], val, 0, uint);
159 const int32_t **src, uint16_t *dest, int dstW,
179 output_pixel(&dest[i], val, 0x8000, int);
189 uint16_t *dest = (uint16_t*)dest8;
208 output_pixel(&dest[2*i] , u, 0x8000, int);
209 output_pixel(&dest[2*i+1], v, 0x8000, int);
214 yuv2plane1_float_c_template(const int32_t *src, float *dest, int dstW)
225 dest[i] = float_mult * (float)val_uint;
230 yuv2plane1_float_bswap_c_template(const int32_t *src, uint32_t *dest, int dstW)
241 dest[i] = av_bswap32(av_float2int(float_mult * (float)val_uint));
247 float *dest, int dstW)
261 dest[i] = float_mult * (float)val_uint;
267 uint32_t *dest, int dstW)
281 dest[i] = av_bswap32(av_float2int(float_mult * (float)val_uint));
286 static void yuv2plane1_float ## BE_LE ## _c(const int16_t *src, uint8_t *dest, int dstW, \
289 template((const int32_t *)src, (dest_type *)dest, dstW); \
294 const int16_t **src, uint8_t *dest, int dstW, \
297 template(filter, filterSize, (const int32_t **)src, (dest_type *)dest, dstW); \
322 yuv2plane1_10_c_template(const int16_t *src, uint16_t *dest, int dstW,
330 output_pixel(&dest[i], val);
336 const int16_t **src, uint16_t *dest, int dstW,
349 output_pixel(&dest[i], val);
357 uint8_t *dest, int dstW, \
361 (uint16_t *) dest, dstW, is_be, bits); \
364 const int16_t **src, uint8_t *dest, int dstW, \
369 (uint16_t *) dest, dstW, is_be, bits); \
401 const int16_t **src, uint8_t *dest, int dstW,
411 dest[i]= av_clip_uint8(val>>19);
415 static void yuv2plane1_8_c(const int16_t *src, uint8_t *dest, int dstW,
421 dest[i]= av_clip_uint8(val);
428 uint8_t *dest, int chrDstW)
442 dest[2*i]= av_clip_uint8(u>>19);
443 dest[2*i+1]= av_clip_uint8(v>>19);
455 dest[2*i]= av_clip_uint8(v>>19);
456 dest[2*i+1]= av_clip_uint8(u>>19);
469 uint16_t *dest, int dstW,
477 output_pixel(&dest[i], val);
482 const int16_t **src, uint16_t *dest, int dstW,
494 output_pixel(&dest[i], val);
503 uint16_t *dest = (uint16_t*)dest8;
516 output_pixel(&dest[2*i] , u);
517 output_pixel(&dest[2*i+1], v);
522 uint8_t *dest, int dstW,
525 yuv2p010l1_c(src, (uint16_t*)dest, dstW, 0);
529 uint8_t *dest, int dstW,
532 yuv2p010l1_c(src, (uint16_t*)dest, dstW, 1);
536 const int16_t **src, uint8_t *dest, int dstW,
539 yuv2p010lX_c(filter, filterSize, src, (uint16_t*)dest, dstW, 0);
543 const int16_t **src, uint8_t *dest, int dstW,
546 yuv2p010lX_c(filter, filterSize, src, (uint16_t*)dest, dstW, 1);
583 const int16_t **alpSrc, uint8_t *dest, int dstW,
621 output_pixel(*dest++, acc);
627 output_pixel(*dest, acc);
634 const int16_t *abuf[2], uint8_t *dest, int dstW,
663 output_pixel(*dest++, acc);
687 output_pixel(*dest++, acc);
695 const int16_t *abuf0, uint8_t *dest, int dstW,
720 output_pixel(*dest++, acc);
735 output_pixel(*dest++, acc);
748 const int16_t **alpSrc, uint8_t *dest, int dstW, \
753 alpSrc, dest, dstW, y, fmt); \
758 const int16_t *abuf[2], uint8_t *dest, int dstW, \
762 dest, dstW, yalpha, uvalpha, y, fmt); \
767 const int16_t *abuf0, uint8_t *dest, int dstW, \
771 abuf0, dest, dstW, uvalpha, \
780 dest[pos + 0] = Y1; \
781 dest[pos + 1] = U; \
782 dest[pos + 2] = Y2; \
783 dest[pos + 3] = V; \
785 dest[pos + 0] = Y1; \
786 dest[pos + 1] = V; \
787 dest[pos + 2] = Y2; \
788 dest[pos + 3] = U; \
790 dest[pos + 0] = U; \
791 dest[pos + 1] = Y1; \
792 dest[pos + 2] = V; \
793 dest[pos + 3] = Y2; \
801 const int16_t **alpSrc, uint8_t *dest, int dstW,
838 const int16_t *abuf[2], uint8_t *dest, int dstW,
871 const int16_t *abuf0, uint8_t *dest, int dstW,
933 const int32_t **alpSrc, uint16_t *dest, int dstW,
961 output_pixel(&dest[2 * i ], Y);
962 output_pixel(&dest[2 * i + 1], A);
969 const int32_t *abuf[2], uint16_t *dest, int dstW,
993 output_pixel(&dest[2 * i ], Y);
994 output_pixel(&dest[2 * i + 1], hasAlpha ? A : 65535);
1001 const int32_t *abuf0, uint16_t *dest, int dstW,
1019 output_pixel(&dest[2 * i ], Y);
1020 output_pixel(&dest[2 * i + 1], hasAlpha ? A : 65535);
1029 const int32_t **alpSrc, uint16_t *dest, int dstW,
1087 output_pixel(&dest[0], av_clip_uintp2(((R_B + Y1) >> 14) + (1<<15), 16));
1088 output_pixel(&dest[1], av_clip_uintp2((( G + Y1) >> 14) + (1<<15), 16));
1089 output_pixel(&dest[2], av_clip_uintp2(((B_R + Y1) >> 14) + (1<<15), 16));
1091 output_pixel(&dest[3], av_clip_uintp2(A1 , 30) >> 14);
1092 output_pixel(&dest[4], av_clip_uintp2(((R_B + Y2) >> 14) + (1<<15), 16));
1093 output_pixel(&dest[5], av_clip_uintp2((( G + Y2) >> 14) + (1<<15), 16));
1094 output_pixel(&dest[6], av_clip_uintp2(((B_R + Y2) >> 14) + (1<<15), 16));
1095 output_pixel(&dest[7], av_clip_uintp2(A2 , 30) >> 14);
1096 dest += 8;
1098 output_pixel(&dest[3], av_clip_uintp2(((R_B + Y2) >> 14) + (1<<15), 16));
1099 output_pixel(&dest[4], av_clip_uintp2((( G + Y2) >> 14) + (1<<15), 16));
1100 output_pixel(&dest[5], av_clip_uintp2(((B_R + Y2) >> 14) + (1<<15), 16));
1101 dest += 6;
1109 const int32_t *abuf[2], uint16_t *dest, int dstW,
1152 output_pixel(&dest[0], av_clip_uintp2(((int)(R_B + Y1) >> 14) + (1<<15), 16));
1153 output_pixel(&dest[1], av_clip_uintp2(((int)( G + Y1) >> 14) + (1<<15), 16));
1154 output_pixel(&dest[2], av_clip_uintp2(((int)(B_R + Y1) >> 14) + (1<<15), 16));
1156 output_pixel(&dest[3], av_clip_uintp2(A1 , 30) >> 14);
1157 output_pixel(&dest[4], av_clip_uintp2(((int)(R_B + Y2) >> 14) + (1<<15), 16));
1158 output_pixel(&dest[5], av_clip_uintp2(((int)( G + Y2) >> 14) + (1<<15), 16));
1159 output_pixel(&dest[6], av_clip_uintp2(((int)(B_R + Y2) >> 14) + (1<<15), 16));
1160 output_pixel(&dest[7], av_clip_uintp2(A2 , 30) >> 14);
1161 dest += 8;
1163 output_pixel(&dest[3], av_clip_uintp2(((int)(R_B + Y2) >> 14) + (1<<15), 16));
1164 output_pixel(&dest[4], av_clip_uintp2(((int)( G + Y2) >> 14) + (1<<15), 16));
1165 output_pixel(&dest[5], av_clip_uintp2(((int)(B_R + Y2) >> 14) + (1<<15), 16));
1166 dest += 6;
1174 const int32_t *abuf0, uint16_t *dest, int dstW,
1208 output_pixel(&dest[0], av_clip_uintp2(((int)(R_B + Y1) >> 14) + (1<<15), 16));
1209 output_pixel(&dest[1], av_clip_uintp2(((int)( G + Y1) >> 14) + (1<<15), 16));
1210 output_pixel(&dest[2], av_clip_uintp2(((int)(B_R + Y1) >> 14) + (1<<15), 16));
1212 output_pixel(&dest[3], av_clip_uintp2(A1 , 30) >> 14);
1213 output_pixel(&dest[4], av_clip_uintp2(((int)(R_B + Y2) >> 14) + (1<<15), 16));
1214 output_pixel(&dest[5], av_clip_uintp2(((int)( G + Y2) >> 14) + (1<<15), 16));
1215 output_pixel(&dest[6], av_clip_uintp2(((int)(B_R + Y2) >> 14) + (1<<15), 16));
1216 output_pixel(&dest[7], av_clip_uintp2(A2 , 30) >> 14);
1217 dest += 8;
1219 output_pixel(&dest[3], av_clip_uintp2(((int)(R_B + Y2) >> 14) + (1<<15), 16));
1220 output_pixel(&dest[4], av_clip_uintp2(((int)( G + Y2) >> 14) + (1<<15), 16));
1221 output_pixel(&dest[5], av_clip_uintp2(((int)(B_R + Y2) >> 14) + (1<<15), 16));
1222 dest += 6;
1254 output_pixel(&dest[0], av_clip_uintp2(((int)(R_B + Y1) >> 14) + (1<<15), 16));
1255 output_pixel(&dest[1], av_clip_uintp2(((int)( G + Y1) >> 14) + (1<<15), 16));
1256 output_pixel(&dest[2], av_clip_uintp2(((int)(B_R + Y1) >> 14) + (1<<15), 16));
1258 output_pixel(&dest[3], av_clip_uintp2(A1 , 30) >> 14);
1259 output_pixel(&dest[4], av_clip_uintp2(((int)(R_B + Y2) >> 14) + (1<<15), 16));
1260 output_pixel(&dest[5], av_clip_uintp2(((int)( G + Y2) >> 14) + (1<<15), 16));
1261 output_pixel(&dest[6], av_clip_uintp2(((int)(B_R + Y2) >> 14) + (1<<15), 16));
1262 output_pixel(&dest[7], av_clip_uintp2(A2 , 30) >> 14);
1263 dest += 8;
1265 output_pixel(&dest[3], av_clip_uintp2(((int)(R_B + Y2) >> 14) + (1<<15), 16));
1266 output_pixel(&dest[4], av_clip_uintp2(((int)( G + Y2) >> 14) + (1<<15), 16));
1267 output_pixel(&dest[5], av_clip_uintp2(((int)(B_R + Y2) >> 14) + (1<<15), 16));
1268 dest += 6;
1279 const int32_t **alpSrc, uint16_t *dest, int dstW,
1326 output_pixel(&dest[0], av_clip_uintp2(((R_B + Y)>>14) + (1<<15), 16));
1327 output_pixel(&dest[1], av_clip_uintp2((( G + Y)>>14) + (1<<15), 16));
1328 output_pixel(&dest[2], av_clip_uintp2(((B_R + Y)>>14) + (1<<15), 16));
1330 output_pixel(&dest[3], av_clip_uintp2(A, 30) >> 14);
1331 dest += 4;
1333 dest += 3;
1341 const int32_t *abuf[2], uint16_t *dest, int dstW,
1378 output_pixel(&dest[0], av_clip_uintp2(((R_B + Y) >> 14) + (1<<15), 16));
1379 output_pixel(&dest[1], av_clip_uintp2((( G + Y) >> 14) + (1<<15), 16));
1380 output_pixel(&dest[2], av_clip_uintp2(((B_R + Y) >> 14) + (1<<15), 16));
1382 output_pixel(&dest[3], av_clip_uintp2(A, 30) >> 14);
1383 dest += 4;
1385 dest += 3;
1393 const int32_t *abuf0, uint16_t *dest, int dstW,
1421 output_pixel(&dest[0], av_clip_uintp2(((R_B + Y) >> 14) + (1<<15), 16));
1422 output_pixel(&dest[1], av_clip_uintp2((( G + Y) >> 14) + (1<<15), 16));
1423 output_pixel(&dest[2], av_clip_uintp2(((B_R + Y) >> 14) + (1<<15), 16));
1425 output_pixel(&dest[3], av_clip_uintp2(A, 30) >> 14);
1426 dest += 4;
1428 dest += 3;
1454 output_pixel(&dest[0], av_clip_uintp2(((R_B + Y) >> 14) + (1<<15), 16));
1455 output_pixel(&dest[1], av_clip_uintp2((( G + Y) >> 14) + (1<<15), 16));
1456 output_pixel(&dest[2], av_clip_uintp2(((B_R + Y) >> 14) + (1<<15), 16));
1458 output_pixel(&dest[3], av_clip_uintp2(A, 30) >> 14);
1459 dest += 4;
1461 dest += 3;
1483 uint16_t *dest = (uint16_t *) _dest; \
1486 alpSrc, dest, dstW, y, fmt, hasAlpha, eightbytes); \
1498 uint16_t *dest = (uint16_t *) _dest; \
1500 dest, dstW, yalpha, uvalpha, y, fmt, hasAlpha, eightbytes); \
1512 uint16_t *dest = (uint16_t *) _dest; \
1513 name ## base ## _1_c_template(c, buf0, ubuf, vbuf, abuf0, dest, \
1561 uint32_t *dest = (uint32_t *) _dest;
1569 dest[i * 2 + 0] = r[Y1] + g[Y1] + b[Y1] + (hasAlpha ? A1 << sh : 0);
1570 dest[i * 2 + 1] = r[Y2] + g[Y2] + b[Y2] + (hasAlpha ? A2 << sh : 0);
1576 dest[i * 2 + 0] = r[Y1] + g[Y1] + b[Y1] + (A1 << sh);
1577 dest[i * 2 + 1] = r[Y2] + g[Y2] + b[Y2] + (A2 << sh);
1584 dest[i * 2 + 0] = r[Y1] + g[Y1] + b[Y1];
1585 dest[i * 2 + 1] = r[Y2] + g[Y2] + b[Y2];
1589 uint8_t *dest = (uint8_t *) _dest;
1597 dest[i * 6 + 0] = r_b[Y1];
1598 dest[i * 6 + 1] = g[Y1];
1599 dest[i * 6 + 2] = b_r[Y1];
1600 dest[i * 6 + 3] = r_b[Y2];
1601 dest[i * 6 + 4] = g[Y2];
1602 dest[i * 6 + 5] = b_r[Y2];
1608 uint16_t *dest = (uint16_t *) _dest;
1637 dest[i * 2 + 0] = r[Y1 + dr1] + g[Y1 + dg1] + b[Y1 + db1];
1638 dest[i * 2 + 1] = r[Y2 + dr2] + g[Y2 + dg2] + b[Y2 + db2];
1640 uint32_t *dest = (uint32_t *) _dest;
1644 dest[i * 2 + 0] = r[Y1] + g[Y1] + b[Y1];
1645 dest[i * 2 + 1] = r[Y2] + g[Y2] + b[Y2];
1647 uint8_t *dest = (uint8_t *) _dest;
1670 dest[i] = r[Y1 + dr1] + g[Y1 + dg1] + b[Y1 + db1] +
1673 dest[i * 2 + 0] = r[Y1 + dr1] + g[Y1 + dg1] + b[Y1 + db1];
1674 dest[i * 2 + 1] = r[Y2 + dr2] + g[Y2 + dg2] + b[Y2 + db2];
1684 const int16_t **alpSrc, uint8_t *dest, int dstW,
1728 yuv2rgb_write(dest, i, Y1, Y2, hasAlpha ? A1 : 0, hasAlpha ? A2 : 0,
1736 const int16_t *abuf[2], uint8_t *dest, int dstW,
1768 yuv2rgb_write(dest, i, Y1, Y2, hasAlpha ? A1 : 0, hasAlpha ? A2 : 0,
1776 const int16_t *abuf0, uint8_t *dest, int dstW,
1801 yuv2rgb_write(dest, i, Y1, Y2, hasAlpha ? A1 : 0, hasAlpha ? A2 : 0,
1823 yuv2rgb_write(dest, i, Y1, Y2, hasAlpha ? A1 : 0, hasAlpha ? A2 : 0,
1834 const int16_t **alpSrc, uint8_t *dest, int dstW, \
1839 alpSrc, dest, dstW, y, fmt, hasAlpha); \
1846 const int16_t *abuf[2], uint8_t *dest, int dstW, \
1850 dest, dstW, yalpha, uvalpha, y, fmt, hasAlpha); \
1857 const int16_t *abuf0, uint8_t *dest, int dstW, \
1860 name ## base ## _1_c_template(c, buf0, ubuf, vbuf, abuf0, dest, \
1887 uint8_t *dest, int i, int Y, int A, int U, int V,
1907 dest[0] = hasAlpha ? A : 255;
1908 dest[1] = R >> 22;
1909 dest[2] = G >> 22;
1910 dest[3] = B >> 22;
1913 dest[0] = R >> 22;
1914 dest[1] = G >> 22;
1915 dest[2] = B >> 22;
1918 dest[0] = R >> 22;
1919 dest[1] = G >> 22;
1920 dest[2] = B >> 22;
1921 dest[3] = hasAlpha ? A : 255;
1924 dest[0] = hasAlpha ? A : 255;
1925 dest[1] = B >> 22;
1926 dest[2] = G >> 22;
1927 dest[3] = R >> 22;
1930 dest[0] = B >> 22;
1931 dest[1] = G >> 22;
1932 dest[2] = R >> 22;
1935 dest[0] = B >> 22;
1936 dest[1] = G >> 22;
1937 dest[2] = R >> 22;
1938 dest[3] = hasAlpha ? A : 255;
2023 dest[0] = r + 2*g + 8*b;
2025 dest[0] = b + 2*g + 8*r;
2027 dest[0] = r + 8*g + 64*b;
2029 dest[0] = b + 4*g + 32*r;
2041 const int16_t **alpSrc, uint8_t *dest,
2078 yuv2rgb_write_full(c, dest, i, Y, A, U, V, y, target, hasAlpha, err);
2079 dest += step;
2089 const int16_t *abuf[2], uint8_t *dest, int dstW,
2123 yuv2rgb_write_full(c, dest, i, Y, A, U, V, y, target, hasAlpha, err);
2124 dest += step;
2134 const int16_t *abuf0, uint8_t *dest, int dstW,
2160 yuv2rgb_write_full(c, dest, i, Y, A, U, V, y, target, hasAlpha, err);
2161 dest += step;
2177 yuv2rgb_write_full(c, dest, i, Y, A, U, V, y, target, hasAlpha, err);
2178 dest += step;
2217 const int16_t **alpSrc, uint8_t **dest,
2223 uint16_t **dest16 = (uint16_t**)dest;
2276 dest[0][i] = G >> 22;
2277 dest[1][i] = B >> 22;
2278 dest[2][i] = R >> 22;
2280 dest[3][i] = A >> 19;
2299 const int16_t **alpSrcx, uint8_t **dest,
2305 uint16_t **dest16 = (uint16_t**)dest;
2371 const int16_t **alpSrcx, uint8_t **dest,
2377 uint32_t **dest32 = (uint32_t**)dest;
2445 const int16_t *abuf0, uint8_t *dest, int dstW,
2463 dest[i * 2 ] = Y;
2464 dest[i * 2 + 1] = hasAlpha ? A : 255;
2471 const int16_t *abuf[2], uint8_t *dest, int dstW,
2494 dest[i * 2 ] = Y;
2495 dest[i * 2 + 1] = hasAlpha ? A : 255;
2504 const int16_t **alpSrc, uint8_t *dest, int dstW, int y)
2530 dest[2 * i ] = Y;
2531 dest[2 * i + 1] = hasAlpha ? A : 255;
2540 const int16_t **_alpSrc, uint8_t *dest, int dstW, int y)
2577 AV_WL16(dest + 8 * i, hasAlpha ? A : 65535);
2578 AV_WL16(dest + 8 * i + 2, Y);
2579 AV_WL16(dest + 8 * i + 4, U);
2580 AV_WL16(dest + 8 * i + 6, V);