• Home
  • Raw
  • Download

Lines Matching refs:srcFormat

70     const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(c->srcFormat);  in hScale16To19_c()
77 if ((isAnyRGB(c->srcFormat) || c->srcFormat==AV_PIX_FMT_PAL8) && desc->comp[0].depth<16) { in hScale16To19_c()
100 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(c->srcFormat); in hScale16To15_c()
106 … sh = isAnyRGB(c->srcFormat) || c->srcFormat==AV_PIX_FMT_PAL8 ? 13 : (desc->comp[0].depth - 1); in hScale16To15_c()
263 int should_dither = isNBPS(c->srcFormat) || in swscale()
264 is16BPS(c->srcFormat); in swscale()
288 if (isPacked(c->srcFormat)) { in swscale()
553 enum AVPixelFormat srcFormat = c->srcFormat; in sws_init_swscale() local
578 if (!(isGray(srcFormat) || isGray(c->dstFormat) || in sws_init_swscale()
579 srcFormat == AV_PIX_FMT_MONOBLACK || srcFormat == AV_PIX_FMT_MONOWHITE)) in sws_init_swscale()
632 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(c->srcFormat); in xyz12Torgb48()
754 int macro_height = isBayer(c->srcFormat) ? 2 : (1 << c->chrSrcVSubSample); in sws_scale()
820 if (!check_image_pointers(srcSlice, c->srcFormat, srcStride)) { in sws_scale()
837 if (usePal(c->srcFormat)) { in sws_scale()
840 if (c->srcFormat == AV_PIX_FMT_PAL8) { in sws_scale()
846 } else if (c->srcFormat == AV_PIX_FMT_RGB8) { in sws_scale()
850 } else if (c->srcFormat == AV_PIX_FMT_BGR8) { in sws_scale()
854 } else if (c->srcFormat == AV_PIX_FMT_RGB4_BYTE) { in sws_scale()
858 } else if (c->srcFormat == AV_PIX_FMT_GRAY8 || c->srcFormat == AV_PIX_FMT_GRAY8A) { in sws_scale()
861 av_assert1(c->srcFormat == AV_PIX_FMT_BGR4_BYTE); in sws_scale()
952 if (!usePal(c->srcFormat)) in sws_scale()
963 reset_ptr(src2, c->srcFormat); in sws_scale()