Lines Matching refs:dstFormat
84 enum AVPixelFormat srcFormat, enum AVPixelFormat dstFormat,
90 const AVPixFmtDescriptor *desc_dst = av_pix_fmt_desc_get(dstFormat);
144 res = av_image_fill_linesizes(dstStride, dstFormat, dstW);
168 dstContext = sws_getContext(srcW, srcH, srcFormat, dstW, dstH, dstFormat,
205 outContext = sws_getContext(dstW, dstH, dstFormat, w, h,
219 if (hasChroma(srcFormat) && hasChroma(dstFormat)) {
226 if (isALPHA(srcFormat) && isALPHA(dstFormat))
265 enum AVPixelFormat srcFormat, dstFormat;
276 for (dstFormat = dstFormat_in != AV_PIX_FMT_NONE ? dstFormat_in : 0;
277 dstFormat < AV_PIX_FMT_NB; dstFormat++) {
281 if (!sws_isSupportedInput(dstFormat) ||
282 !sws_isSupportedOutput(dstFormat))
285 desc_dst = av_pix_fmt_desc_get(dstFormat);
294 srcFormat, dstFormat,
317 enum AVPixelFormat dstFormat;
334 dstFormat = av_get_pix_fmt(dstStr);
336 if (srcFormat == AV_PIX_FMT_NONE || dstFormat == AV_PIX_FMT_NONE ||
342 (dstFormat_in != AV_PIX_FMT_NONE && dstFormat_in != dstFormat))
350 srcFormat, dstFormat,
364 enum AVPixelFormat dstFormat = AV_PIX_FMT_NONE;
405 dstFormat = av_get_pix_fmt(argv[i + 1]);
406 if (dstFormat == AV_PIX_FMT_NONE) {
434 res = fileTest(src, stride, W, H, fp, srcFormat, dstFormat);
437 selfTest(src, stride, W, H, srcFormat, dstFormat);