Lines Matching refs:icost
264 int cost, icost = me.COST_MAX; in lowresIntraEstimate() local
270 COPY2_IF_LT(icost, cost, ilowmode, DC_IDX); in lowresIntraEstimate()
274 COPY2_IF_LT(icost, cost, ilowmode, PLANAR_IDX); in lowresIntraEstimate()
303 COPY2_IF_LT(icost, acost, ilowmode, alowmode); in lowresIntraEstimate()
305 icost += intraPenalty + lowresPenalty; /* estimate intra signal cost */ in lowresIntraEstimate()
307 …fenc.lowresCosts[0][0][cuXY] = (uint16_t)(X265_MIN(icost, LOWRES_COST_MASK) | (0 << LOWRES_COST_SH… in lowresIntraEstimate()
308 fenc.intraCost[cuXY] = icost; in lowresIntraEstimate()
315 …Aq = (bFrameScoreCU && fenc.invQscaleFactor) ? ((icost * fenc.invQscaleFactor[cuXY] + 128) >> 8) :… in lowresIntraEstimate()
319 costEst += icost; in lowresIntraEstimate()
1497 int64_t icost = frame->costEst[0][0]; in scenecutInternal() local
1521 bool res = pcost >= (1.0 - bias) * icost; in scenecutInternal()
1527 … frame->frameNum, icost, pcost, 1. - (double)pcost / icost, bias, gopSize, imb, pmb); in scenecutInternal()