Lines Matching refs:target
572 if (target == AV_PIX_FMT_MONOBLACK) { \
584 int y, enum AVPixelFormat target)
636 enum AVPixelFormat target)
696 int uvalpha, int y, enum AVPixelFormat target)
779 if (target == AV_PIX_FMT_YUYV422) { \
784 } else if (target == AV_PIX_FMT_YVYU422) { \
802 int y, enum AVPixelFormat target)
840 enum AVPixelFormat target)
872 int uvalpha, int y, enum AVPixelFormat target)
919 #define R_B ((target == AV_PIX_FMT_RGB48LE || target == AV_PIX_FMT_RGB48BE || target == AV_PIX_FMT_RGBA64LE || target == AV_PIX_FMT_RGBA64BE) ? R : B)
920 #define B_R ((target == AV_PIX_FMT_RGB48LE || target == AV_PIX_FMT_RGB48BE || target == AV_PIX_FMT_RGBA64LE || target == AV_PIX_FMT_RGBA64BE) ? B : R)
922 if (isBE(target)) { \
934 int y, enum AVPixelFormat target, int unused_hasAlpha, int unused_eightbytes)
971 enum AVPixelFormat target, int unused_hasAlpha, int unused_eightbytes)
1002 int unused_uvalpha, int y, enum AVPixelFormat target, int unused_hasAlpha, int unused_eightbytes)
1030 int y, enum AVPixelFormat target, int hasAlpha, int eightbytes)
1111 enum AVPixelFormat target, int hasAlpha, int eightbytes)
1175 int uvalpha, int y, enum AVPixelFormat target, int hasAlpha, int eightbytes)
1280 int y, enum AVPixelFormat target, int hasAlpha, int eightbytes)
1343 enum AVPixelFormat target, int hasAlpha, int eightbytes)
1394 int uvalpha, int y, enum AVPixelFormat target, int hasAlpha, int eightbytes)
1546 * Write out 2 RGB pixels in the target pixel format. This function takes a
1557 enum AVPixelFormat target, int hasAlpha)
1559 if (target == AV_PIX_FMT_ARGB || target == AV_PIX_FMT_RGBA ||
1560 target == AV_PIX_FMT_ABGR || target == AV_PIX_FMT_BGRA) {
1567 int sh = hasAlpha ? ((target == AV_PIX_FMT_RGB32_1 || target == AV_PIX_FMT_BGR32_1) ? 0 : 24) : 0;
1573 int sh = (target == AV_PIX_FMT_RGB32_1 || target == AV_PIX_FMT_BGR32_1) ? 0 : 24;
1580 int sh = (target == AV_PIX_FMT_RGB32_1 || target == AV_PIX_FMT_BGR32_1) ? 0 : 24;
1588 } else if (target == AV_PIX_FMT_RGB24 || target == AV_PIX_FMT_BGR24) {
1594 #define r_b ((target == AV_PIX_FMT_RGB24) ? r : b)
1595 #define b_r ((target == AV_PIX_FMT_RGB24) ? b : r)
1605 } else if (target == AV_PIX_FMT_RGB565 || target == AV_PIX_FMT_BGR565 ||
1606 target == AV_PIX_FMT_RGB555 || target == AV_PIX_FMT_BGR555 ||
1607 target == AV_PIX_FMT_RGB444 || target == AV_PIX_FMT_BGR444) {
1614 if (target == AV_PIX_FMT_RGB565 || target == AV_PIX_FMT_BGR565) {
1621 } else if (target == AV_PIX_FMT_RGB555 || target == AV_PIX_FMT_BGR555) {
1639 } else if (target == AV_PIX_FMT_X2RGB10 || target == AV_PIX_FMT_X2BGR10) {
1653 if (target == AV_PIX_FMT_RGB8 || target == AV_PIX_FMT_BGR8) {
1669 if (target == AV_PIX_FMT_RGB4 || target == AV_PIX_FMT_BGR4) {
1685 int y, enum AVPixelFormat target, int hasAlpha)
1729 r, g, b, y, target, hasAlpha);
1738 enum AVPixelFormat target, int hasAlpha)
1769 r, g, b, y, target, hasAlpha);
1777 int uvalpha, int y, enum AVPixelFormat target,
1802 r, g, b, y, target, hasAlpha);
1824 r, g, b, y, target, hasAlpha);
1888 int y, enum AVPixelFormat target, int hasAlpha, int err[4])
1891 int isrgb8 = target == AV_PIX_FMT_BGR8 || target == AV_PIX_FMT_RGB8;
1905 switch(target) {
2022 if(target == AV_PIX_FMT_BGR4_BYTE) {
2024 } else if(target == AV_PIX_FMT_RGB4_BYTE) {
2026 } else if(target == AV_PIX_FMT_BGR8) {
2028 } else if(target == AV_PIX_FMT_RGB8) {
2042 int dstW, int y, enum AVPixelFormat target, int hasAlpha)
2045 int step = (target == AV_PIX_FMT_RGB24 || target == AV_PIX_FMT_BGR24) ? 3 : 4;
2049 if( target == AV_PIX_FMT_BGR4_BYTE || target == AV_PIX_FMT_RGB4_BYTE
2050 || target == AV_PIX_FMT_BGR8 || target == AV_PIX_FMT_RGB8)
2078 yuv2rgb_write_full(c, dest, i, Y, A, U, V, y, target, hasAlpha, err);
2091 enum AVPixelFormat target, int hasAlpha)
2101 int step = (target == AV_PIX_FMT_RGB24 || target == AV_PIX_FMT_BGR24) ? 3 : 4;
2108 if( target == AV_PIX_FMT_BGR4_BYTE || target == AV_PIX_FMT_RGB4_BYTE
2109 || target == AV_PIX_FMT_BGR8 || target == AV_PIX_FMT_RGB8)
2123 yuv2rgb_write_full(c, dest, i, Y, A, U, V, y, target, hasAlpha, err);
2135 int uvalpha, int y, enum AVPixelFormat target,
2140 int step = (target == AV_PIX_FMT_RGB24 || target == AV_PIX_FMT_BGR24) ? 3 : 4;
2143 if( target == AV_PIX_FMT_BGR4_BYTE || target == AV_PIX_FMT_RGB4_BYTE
2144 || target == AV_PIX_FMT_BGR8 || target == AV_PIX_FMT_RGB8)
2160 yuv2rgb_write_full(c, dest, i, Y, A, U, V, y, target, hasAlpha, err);
2177 yuv2rgb_write_full(c, dest, i, Y, A, U, V, y, target, hasAlpha, err);