• Home
  • Raw
  • Download

Lines Matching refs:dstFormat

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