• Home
  • Raw
  • Download

Lines Matching refs:dstFormat

153     if (c->dstFormat == AV_PIX_FMT_NV12)  in planarToNv12Wrapper()
194 if (c->dstFormat == AV_PIX_FMT_NV24) in planarToNv24Wrapper()
231 const AVPixFmtDescriptor *dst_format = av_pix_fmt_desc_get(c->dstFormat); in planarToP01xWrapper()
528 const enum AVPixelFormat dstFormat = c->dstFormat; in palToRgbWrapper() local
536 switch (dstFormat) { in palToRgbWrapper()
545 switch (dstFormat) { in palToRgbWrapper()
557 av_get_pix_fmt_name(srcFormat), av_get_pix_fmt_name(dstFormat)); in palToRgbWrapper()
712 const AVPixFmtDescriptor *dst_format = av_pix_fmt_desc_get(c->dstFormat); in Rgb16ToPlanarRgb16Wrapper()
891 const AVPixFmtDescriptor *dst_format = av_pix_fmt_desc_get(c->dstFormat); in planarRgb16ToRgb16Wrapper()
908 switch (c->dstFormat) { in planarRgb16ToRgb16Wrapper()
1031 av_get_pix_fmt_name(c->dstFormat)); in planarRgbaToRgbWrapper()
1035 switch (c->dstFormat) { in planarRgbaToRgbWrapper()
1068 av_get_pix_fmt_name(c->dstFormat)); in planarRgbaToRgbWrapper()
1087 av_get_pix_fmt_name(c->dstFormat)); in planarRgbToRgbWrapper()
1091 switch (c->dstFormat) { in planarRgbToRgbWrapper()
1124 av_get_pix_fmt_name(c->dstFormat)); in planarRgbToRgbWrapper()
1215 av_get_pix_fmt_name(c->dstFormat)); in rgbToPlanarRgbWrapper()
1460 const enum AVPixelFormat dstFormat = c->dstFormat; in findRgbConvFn() local
1469 #define CONV_IS(src, dst) (srcFormat == AV_PIX_FMT_##src && dstFormat == AV_PIX_FMT_##dst) in findRgbConvFn()
1471 if (isRGBA32(srcFormat) && isRGBA32(dstFormat)) { in findRgbConvFn()
1484 } else if (isRGB48(srcFormat) && isRGB48(dstFormat)) { in findRgbConvFn()
1493 } else if (isRGB48(srcFormat) && isRGBA64(dstFormat)) { in findRgbConvFn()
1510 } else if (isRGBA64(srcFormat) && isRGB48(dstFormat)) { in findRgbConvFn()
1529 if ((isBGRinInt(srcFormat) && isBGRinInt(dstFormat)) || in findRgbConvFn()
1530 (isRGBinInt(srcFormat) && isRGBinInt(dstFormat))) { in findRgbConvFn()
1546 } else if ((isBGRinInt(srcFormat) && isRGBinInt(dstFormat)) || in findRgbConvFn()
1547 (isRGBinInt(srcFormat) && isBGRinInt(dstFormat))) { in findRgbConvFn()
1568 …if ((dstFormat == AV_PIX_FMT_RGB32_1 || dstFormat == AV_PIX_FMT_BGR32_1) && !isRGBA32(srcFormat) &… in findRgbConvFn()
1573 …if ((dstFormat == AV_PIX_FMT_RGB32 || dstFormat == AV_PIX_FMT_BGR32 ) && !isRGBA32(srcFormat) &… in findRgbConvFn()
1586 const enum AVPixelFormat dstFormat = c->dstFormat; in rgbToRgbWrapper() local
1588 const AVPixFmtDescriptor *desc_dst = av_pix_fmt_desc_get(c->dstFormat); in rgbToRgbWrapper()
1595 av_get_pix_fmt_name(srcFormat), av_get_pix_fmt_name(dstFormat)); in rgbToRgbWrapper()
1603 !isRGBA32(dstFormat)) in rgbToRgbWrapper()
1606 if ((dstFormat == AV_PIX_FMT_RGB32_1 || dstFormat == AV_PIX_FMT_BGR32_1) && in rgbToRgbWrapper()
1807 const AVPixFmtDescriptor *desc_dst = av_pix_fmt_desc_get(c->dstFormat); in planarCopyWrapper()
1820 if (is16BPS(c->dstFormat) || isNBPS(c->dstFormat)) { in planarCopyWrapper()
1823 isBE(c->dstFormat)); in planarCopyWrapper()
1829 if(isNBPS(c->srcFormat) || isNBPS(c->dstFormat) in planarCopyWrapper()
1830 || (is16BPS(c->srcFormat) != is16BPS(c->dstFormat)) in planarCopyWrapper()
1854 if(isBE(c->dstFormat)){ in planarCopyWrapper()
1866 isBE(c->dstFormat) == HAVE_BIGENDIAN && in planarCopyWrapper()
1902 if(isBE(c->dstFormat)){ in planarCopyWrapper()
1908 if(isBE(c->dstFormat)){ in planarCopyWrapper()
1919 if(isBE(c->dstFormat) == HAVE_BIGENDIAN){ in planarCopyWrapper()
1925 if(isBE(c->dstFormat) == HAVE_BIGENDIAN){ in planarCopyWrapper()
1932 } else if (is16BPS(c->srcFormat) && is16BPS(c->dstFormat) && in planarCopyWrapper()
1933 isBE(c->srcFormat) != isBE(c->dstFormat)) { in planarCopyWrapper()
1941 } else if (isFloat(c->srcFormat) && isFloat(c->dstFormat) && in planarCopyWrapper()
1942 isBE(c->srcFormat) != isBE(c->dstFormat)) { /* swap float plane */ in planarCopyWrapper()
1954 if (is16BPS(c->srcFormat) && is16BPS(c->dstFormat)) in planarCopyWrapper()
1978 const enum AVPixelFormat dstFormat = c->dstFormat; in ff_get_unscaled_swscale() local
1983 needsDither = isAnyRGB(dstFormat) && in ff_get_unscaled_swscale()
1989 (dstFormat == AV_PIX_FMT_NV12 || dstFormat == AV_PIX_FMT_NV21)) { in ff_get_unscaled_swscale()
1994 (dstFormat == AV_PIX_FMT_NV24 || dstFormat == AV_PIX_FMT_NV42)) { in ff_get_unscaled_swscale()
1998 if (dstFormat == AV_PIX_FMT_YUV420P && in ff_get_unscaled_swscale()
2003 if (dstFormat == AV_PIX_FMT_YUV444P && in ff_get_unscaled_swscale()
2009 srcFormat == AV_PIX_FMT_YUVA420P) && isAnyRGB(dstFormat) && in ff_get_unscaled_swscale()
2018 (dstFormat == AV_PIX_FMT_P010 || dstFormat == AV_PIX_FMT_P016)) { in ff_get_unscaled_swscale()
2023 (dstFormat == AV_PIX_FMT_P010LE || dstFormat == AV_PIX_FMT_P016LE)) { in ff_get_unscaled_swscale()
2028 (dstFormat == AV_PIX_FMT_YUV420P || dstFormat == AV_PIX_FMT_YUVA420P) && in ff_get_unscaled_swscale()
2035 (dstFormat == AV_PIX_FMT_YUV420P || dstFormat == AV_PIX_FMT_YUVA420P) && in ff_get_unscaled_swscale()
2040 if (isAnyRGB(srcFormat) && isAnyRGB(dstFormat) && findRgbConvFn(c) in ff_get_unscaled_swscale()
2045 if ((srcFormat == AV_PIX_FMT_GBRP && dstFormat == AV_PIX_FMT_GBRAP) || in ff_get_unscaled_swscale()
2046 (srcFormat == AV_PIX_FMT_GBRAP && dstFormat == AV_PIX_FMT_GBRP)) in ff_get_unscaled_swscale()
2057 if (srcFormat == AV_PIX_FMT_GBRP && isPlanar(srcFormat) && isByteRGB(dstFormat)) in ff_get_unscaled_swscale()
2060 if (srcFormat == AV_PIX_FMT_GBRAP && isByteRGB(dstFormat)) in ff_get_unscaled_swscale()
2067 (dstFormat == AV_PIX_FMT_GBRP9LE || dstFormat == AV_PIX_FMT_GBRP9BE || in ff_get_unscaled_swscale()
2068 dstFormat == AV_PIX_FMT_GBRP10LE || dstFormat == AV_PIX_FMT_GBRP10BE || in ff_get_unscaled_swscale()
2069 dstFormat == AV_PIX_FMT_GBRP12LE || dstFormat == AV_PIX_FMT_GBRP12BE || in ff_get_unscaled_swscale()
2070 dstFormat == AV_PIX_FMT_GBRP14LE || dstFormat == AV_PIX_FMT_GBRP14BE || in ff_get_unscaled_swscale()
2071 dstFormat == AV_PIX_FMT_GBRP16LE || dstFormat == AV_PIX_FMT_GBRP16BE || in ff_get_unscaled_swscale()
2072 dstFormat == AV_PIX_FMT_GBRAP10LE || dstFormat == AV_PIX_FMT_GBRAP10BE || in ff_get_unscaled_swscale()
2073 dstFormat == AV_PIX_FMT_GBRAP12LE || dstFormat == AV_PIX_FMT_GBRAP12BE || in ff_get_unscaled_swscale()
2074 dstFormat == AV_PIX_FMT_GBRAP16LE || dstFormat == AV_PIX_FMT_GBRAP16BE )) in ff_get_unscaled_swscale()
2085 (dstFormat == AV_PIX_FMT_RGB48LE || dstFormat == AV_PIX_FMT_RGB48BE || in ff_get_unscaled_swscale()
2086 dstFormat == AV_PIX_FMT_BGR48LE || dstFormat == AV_PIX_FMT_BGR48BE || in ff_get_unscaled_swscale()
2087 dstFormat == AV_PIX_FMT_RGBA64LE || dstFormat == AV_PIX_FMT_RGBA64BE || in ff_get_unscaled_swscale()
2088 dstFormat == AV_PIX_FMT_BGRA64LE || dstFormat == AV_PIX_FMT_BGRA64BE)) in ff_get_unscaled_swscale()
2092 isPackedRGB(srcFormat) && dstFormat == AV_PIX_FMT_GBRP) in ff_get_unscaled_swscale()
2096 if (dstFormat == AV_PIX_FMT_RGB24) in ff_get_unscaled_swscale()
2098 else if (dstFormat == AV_PIX_FMT_RGB48) in ff_get_unscaled_swscale()
2100 else if (dstFormat == AV_PIX_FMT_YUV420P) in ff_get_unscaled_swscale()
2102 else if (!isBayer(dstFormat)) { in ff_get_unscaled_swscale()
2109 if (IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_BAYER_BGGR16) || in ff_get_unscaled_swscale()
2110 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_BAYER_RGGB16) || in ff_get_unscaled_swscale()
2111 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_BAYER_GBRG16) || in ff_get_unscaled_swscale()
2112 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_BAYER_GRBG16) || in ff_get_unscaled_swscale()
2113 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_BGR444) || in ff_get_unscaled_swscale()
2114 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_BGR48) || in ff_get_unscaled_swscale()
2115 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_BGR555) || in ff_get_unscaled_swscale()
2116 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_BGR565) || in ff_get_unscaled_swscale()
2117 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_BGRA64) || in ff_get_unscaled_swscale()
2118 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_GRAY9) || in ff_get_unscaled_swscale()
2119 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_GRAY10) || in ff_get_unscaled_swscale()
2120 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_GRAY12) || in ff_get_unscaled_swscale()
2121 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_GRAY14) || in ff_get_unscaled_swscale()
2122 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_GRAY16) || in ff_get_unscaled_swscale()
2123 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_YA16) || in ff_get_unscaled_swscale()
2124 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_AYUV64) || in ff_get_unscaled_swscale()
2125 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_GBRP9) || in ff_get_unscaled_swscale()
2126 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_GBRP10) || in ff_get_unscaled_swscale()
2127 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_GBRP12) || in ff_get_unscaled_swscale()
2128 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_GBRP14) || in ff_get_unscaled_swscale()
2129 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_GBRP16) || in ff_get_unscaled_swscale()
2130 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_GBRAP10) || in ff_get_unscaled_swscale()
2131 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_GBRAP12) || in ff_get_unscaled_swscale()
2132 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_GBRAP16) || in ff_get_unscaled_swscale()
2133 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_RGB444) || in ff_get_unscaled_swscale()
2134 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_RGB48) || in ff_get_unscaled_swscale()
2135 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_RGB555) || in ff_get_unscaled_swscale()
2136 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_RGB565) || in ff_get_unscaled_swscale()
2137 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_RGBA64) || in ff_get_unscaled_swscale()
2138 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_XYZ12) || in ff_get_unscaled_swscale()
2139 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_YUV420P9) || in ff_get_unscaled_swscale()
2140 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_YUV420P10) || in ff_get_unscaled_swscale()
2141 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_YUV420P12) || in ff_get_unscaled_swscale()
2142 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_YUV420P14) || in ff_get_unscaled_swscale()
2143 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_YUV420P16) || in ff_get_unscaled_swscale()
2144 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_YUV422P9) || in ff_get_unscaled_swscale()
2145 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_YUV422P10) || in ff_get_unscaled_swscale()
2146 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_YUV422P12) || in ff_get_unscaled_swscale()
2147 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_YUV422P14) || in ff_get_unscaled_swscale()
2148 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_YUV422P16) || in ff_get_unscaled_swscale()
2149 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_YUV440P10) || in ff_get_unscaled_swscale()
2150 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_YUV440P12) || in ff_get_unscaled_swscale()
2151 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_YUV444P9) || in ff_get_unscaled_swscale()
2152 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_YUV444P10) || in ff_get_unscaled_swscale()
2153 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_YUV444P12) || in ff_get_unscaled_swscale()
2154 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_YUV444P14) || in ff_get_unscaled_swscale()
2155 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_YUV444P16)) in ff_get_unscaled_swscale()
2159 if (IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_GBRPF32) || in ff_get_unscaled_swscale()
2160 IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_GBRAPF32)) in ff_get_unscaled_swscale()
2163 if (usePal(srcFormat) && isByteRGB(dstFormat)) in ff_get_unscaled_swscale()
2167 if (dstFormat == AV_PIX_FMT_YUYV422) in ff_get_unscaled_swscale()
2169 else if (dstFormat == AV_PIX_FMT_UYVY422) in ff_get_unscaled_swscale()
2174 if (srcFormat == AV_PIX_FMT_GRAY8 && dstFormat == AV_PIX_FMT_GRAYF32){ in ff_get_unscaled_swscale()
2179 if (srcFormat == AV_PIX_FMT_GRAYF32 && dstFormat == AV_PIX_FMT_GRAY8){ in ff_get_unscaled_swscale()
2187 if (dstFormat == AV_PIX_FMT_YUYV422) in ff_get_unscaled_swscale()
2189 else if (dstFormat == AV_PIX_FMT_UYVY422) in ff_get_unscaled_swscale()
2194 (dstFormat == AV_PIX_FMT_YUV420P || dstFormat == AV_PIX_FMT_YUVA420P)) in ff_get_unscaled_swscale()
2197 (dstFormat == AV_PIX_FMT_YUV420P || dstFormat == AV_PIX_FMT_YUVA420P)) in ff_get_unscaled_swscale()
2199 if (srcFormat == AV_PIX_FMT_YUYV422 && dstFormat == AV_PIX_FMT_YUV422P) in ff_get_unscaled_swscale()
2201 if (srcFormat == AV_PIX_FMT_UYVY422 && dstFormat == AV_PIX_FMT_YUV422P) in ff_get_unscaled_swscale()
2206 if ( srcFormat == dstFormat || in ff_get_unscaled_swscale()
2207 (srcFormat == AV_PIX_FMT_YUVA420P && dstFormat == AV_PIX_FMT_YUV420P) || in ff_get_unscaled_swscale()
2208 (srcFormat == AV_PIX_FMT_YUV420P && dstFormat == AV_PIX_FMT_YUVA420P) || in ff_get_unscaled_swscale()
2209 …(isFloat(srcFormat) == isFloat(dstFormat)) && ((isPlanarYUV(srcFormat) && isPlanarGray(dstFormat))… in ff_get_unscaled_swscale()
2210 (isPlanarYUV(dstFormat) && isPlanarGray(srcFormat)) || in ff_get_unscaled_swscale()
2211 (isPlanarGray(dstFormat) && isPlanarGray(srcFormat)) || in ff_get_unscaled_swscale()
2212 (isPlanarYUV(srcFormat) && isPlanarYUV(dstFormat) && in ff_get_unscaled_swscale()
2215 !isSemiPlanarYUV(srcFormat) && !isSemiPlanarYUV(dstFormat)))) in ff_get_unscaled_swscale()