• Home
  • Raw
  • Download

Lines Matching refs:srcW

337                               int *outFilterSize, int xInc, int srcW,  in initFilter()  argument
349 const int64_t fone = 1LL << (54 - FFMIN(av_log2(srcW/dstW), 8)); in initFilter()
423 filterSize = 1 + (sizeFactor * srcW + dstW - 1) / dstW; in initFilter()
425 filterSize = FFMIN(filterSize, srcW - 2); in initFilter()
442 d = d * dstW / srcW; in initFilter()
655 if ((*filterPos)[i] + filterSize > srcW) { in initFilter()
656 int shift = (*filterPos)[i] + FFMIN(filterSize - srcW, 0); in initFilter()
660 if ((*filterPos)[i] + j >= srcW) { in initFilter()
674 filter[i * filterSize + srcW - 1 - (*filterPos)[i]] += acc; in initFilter()
677 av_assert0((*filterPos)[i] < srcW); in initFilter()
678 if ((*filterPos)[i] + filterSize > srcW) { in initFilter()
680 av_assert0((*filterPos)[i] + j < srcW || !filter[i * filterSize + j]); in initFilter()
918 c->srcW && c->srcH && c->dstW && c->dstH) { in sws_setColorspaceDetails()
921 int srcW = c->srcW; in sws_setColorspaceDetails() local
942 if (srcW*srcH > dstW*dstH) { in sws_setColorspaceDetails()
946 tmp_width = srcW; in sws_setColorspaceDetails()
955 c->cascaded_context[0] = sws_alloc_set_opts(srcW, srcH, c->srcFormat, in sws_setColorspaceDetails()
1177 int srcW = c->srcW; in sws_init_context() local
1197 unscaled = (srcW == dstW && srcH == dstH); in sws_init_context()
1249 if (dstW < srcW && dstH < srcH) in sws_init_context()
1251 else if (dstW > srcW && dstH > srcH) in sws_init_context()
1262 if (srcW < 1 || srcH < 1 || dstW < 1 || dstH < 1) { in sws_init_context()
1266 srcW, srcH, dstW, dstH); in sws_init_context()
1270 if (srcW < 8 || dstW < 8) { in sws_init_context()
1281 c->lumXInc = (((int64_t)srcW << 16) + (dstW >> 1)) / dstW; in sws_init_context()
1410 ((dstW >> c->chrDstHSubSample) <= (srcW >> 1) || in sws_init_context()
1415 c->chrSrcW = AV_CEIL_RSHIFT(srcW, c->chrSrcHSubSample); in sws_init_context()
1420 FF_ALLOCZ_OR_GOTO(c, c->formatConvBuffer, FFALIGN(srcW*2+78, 16) * 2, fail); in sws_init_context()
1434 c->canMMXEXTBeUsed = dstW >= srcW && (dstW & 31) == 0 && in sws_init_context()
1436 (srcW & 15) == 0; in sws_init_context()
1437 if (!c->canMMXEXTBeUsed && dstW >= srcW && c->chrDstW >= c->chrSrcW && (srcW & 15) == 0 in sws_init_context()
1466 c->lumXInc = ((int64_t)(srcW - 2) << 16) / (dstW - 2) - 20; in sws_init_context()
1481 srcW, srcH, tmpFmt, 64); in sws_init_context()
1485 c->cascaded_context[0] = sws_getContext(srcW, srcH, srcFormat, in sws_init_context()
1486 srcW, srcH, tmpFmt, in sws_init_context()
1492 c->cascaded_context[1] = sws_getContext(srcW, srcH, tmpFmt, in sws_init_context()
1538 srcW, srcH, tmpFormat, 64); in sws_init_context()
1542 c->cascaded_context[0] = sws_getContext(srcW, srcH, srcFormat, in sws_init_context()
1543 srcW, srcH, tmpFormat, in sws_init_context()
1548 c->cascaded_context[1] = sws_getContext(srcW, srcH, tmpFormat, in sws_init_context()
1581 srcW, srcH, tmpFormat, 64); in sws_init_context()
1585 c->cascaded_context[0] = sws_alloc_set_opts(srcW, srcH, srcFormat, in sws_init_context()
1586 srcW, srcH, tmpFormat, in sws_init_context()
1595 c->cascaded_context[1] = sws_alloc_set_opts(srcW, srcH, tmpFormat, in sws_init_context()
1686 srcW, dstW, filterAlign, 1 << 14, in sws_init_context()
1798 av_log(c, AV_LOG_VERBOSE, "%dx%d -> %dx%d\n", srcW, srcH, dstW, dstH); in sws_init_context()
1801 c->srcW, c->srcH, c->dstW, c->dstH, c->lumXInc, c->lumYInc); in sws_init_context()
1843 int tmpW = sqrt(srcW * (int64_t)dstW); in sws_init_context()
1850 if (srcW*(int64_t)srcH <= 4LL*dstW*dstH) in sws_init_context()
1858 c->cascaded_context[0] = sws_getContext(srcW, srcH, srcFormat, in sws_init_context()
1874 SwsContext *sws_alloc_set_opts(int srcW, int srcH, enum AVPixelFormat srcFormat, in sws_alloc_set_opts() argument
1884 c->srcW = srcW; in sws_alloc_set_opts()
1899 SwsContext *sws_getContext(int srcW, int srcH, enum AVPixelFormat srcFormat, in sws_getContext() argument
1906 c = sws_alloc_set_opts(srcW, srcH, srcFormat, in sws_getContext()
2379 struct SwsContext *sws_getCachedContext(struct SwsContext *context, int srcW, in sws_getCachedContext() argument
2396 (context->srcW != srcW || in sws_getCachedContext()
2417 context->srcW = srcW; in sws_getCachedContext()