X265_CHECK 47 source/common/bitstream.cpp X265_CHECK(numBits <= 32, "numBits out of range\n"); X265_CHECK 48 source/common/bitstream.cpp X265_CHECK(numBits == 32 || ((val & (~0u << numBits)) == 0), "numBits & val out of range\n"); X265_CHECK 86 source/common/bitstream.cpp X265_CHECK(!m_partialByteBits, "expecting m_partialByteBits = 0\n"); X265_CHECK 118 source/common/bitstream.cpp X265_CHECK(code, "writing -1 code, will cause infinite loop\n"); X265_CHECK 253 source/common/cpu.cpp X265_CHECK(!(cpu & (X265_CPU_SSSE3 | X265_CPU_SSE4)), "unexpected CPU ID %d\n", cpu); X265_CHECK 154 source/common/cudata.cpp X265_CHECK(0, "unexpected CTU size\n"); X265_CHECK 186 source/common/cudata.cpp X265_CHECK(0, "unexpected CU partition count\n"); X265_CHECK 213 source/common/cudata.cpp X265_CHECK(charBuf == dataPool.charMemBlock + (m_numPartitions * (BytesPerPartition - 4)) * (instance + 1), "CU data layout is broken\n"); //BytesPerPartition X265_CHECK 255 source/common/cudata.cpp X265_CHECK(charBuf == dataPool.charMemBlock + (m_numPartitions * BytesPerPartition) * (instance + 1), "CU data layout is broken\n"); X265_CHECK 300 source/common/cudata.cpp X265_CHECK(!(frame.m_encData->m_param->bLossless && !m_slice->m_pps->bTransquantBypassEnabled), "lossless enabled without TQbypass in PPS\n"); X265_CHECK 340 source/common/cudata.cpp X265_CHECK(m_numPartitions == cuGeom.numPartitions, "initSubCU() size mismatch\n"); X265_CHECK 360 source/common/cudata.cpp X265_CHECK(subPartIdx < 4, "part unit should be less than 4\n"); X265_CHECK 1022 source/common/cudata.cpp X265_CHECK(puIdx < 2, "unexpected part unit index\n"); X265_CHECK 1096 source/common/cudata.cpp X265_CHECK(0, "unexpected part type\n"); X265_CHECK 1262 source/common/cudata.cpp X265_CHECK(0, "unknown partition type\n"); X265_CHECK 1340 source/common/cudata.cpp X265_CHECK(0, "unexpected part index\n"); X265_CHECK 1377 source/common/cudata.cpp X265_CHECK(0, "unexpected part index\n"); X265_CHECK 1418 source/common/cudata.cpp X265_CHECK(0, "unexpected part index\n"); X265_CHECK 2127 source/common/cudata.cpp X265_CHECK(cuIdx < CUGeom::MAX_GEOMS, "CU geom index bug\n"); X265_CHECK 615 source/common/dct.cpp X265_CHECK(scale < 32768 || ((scale & 3) == 0 && shift > (X265_DEPTH - 8)), "dequant invalid scale %d\n", scale); X265_CHECK 618 source/common/dct.cpp X265_CHECK(scale < 32768, "dequant invalid scale %d\n", scale); X265_CHECK 620 source/common/dct.cpp X265_CHECK(num <= 32 * 32, "dequant num %d too large\n", num); X265_CHECK 621 source/common/dct.cpp X265_CHECK((num % 8) == 0, "dequant num %d not multiple of 8\n", num); X265_CHECK 622 source/common/dct.cpp X265_CHECK(shift <= 10, "shift too large %d\n", shift); X265_CHECK 623 source/common/dct.cpp X265_CHECK(((intptr_t)coef & 31) == 0, "dequant coef buffer not aligned\n"); X265_CHECK 638 source/common/dct.cpp X265_CHECK(num <= 32 * 32, "dequant num %d too large\n", num); X265_CHECK 666 source/common/dct.cpp X265_CHECK(qBits >= 8, "qBits less than 8\n"); X265_CHECK 667 source/common/dct.cpp X265_CHECK((numCoeff % 16) == 0, "numCoeff must be multiple of 16\n"); X265_CHECK 690 source/common/dct.cpp X265_CHECK((numCoeff % 16) == 0, "number of quant coeff is not multiple of 4x4\n"); X265_CHECK 691 source/common/dct.cpp X265_CHECK((uint32_t)add < ((uint32_t)1 << qBits), "2 ^ qBits less than add\n"); X265_CHECK 692 source/common/dct.cpp X265_CHECK(((intptr_t)quantCoeff & 31) == 0, "quantCoeff buffer not aligned\n"); X265_CHECK 717 source/common/dct.cpp X265_CHECK(((intptr_t)quantCoeff & 15) == 0, "quant buffer not aligned\n"); X265_CHECK 804 source/common/dct.cpp X265_CHECK(n >= -1, "non-zero coeff scan failuare!\n"); X265_CHECK 857 source/common/dct.cpp X265_CHECK((uint32_t)(tmpCoeff[blkPos] != 0) == sig, "sign bit mistake\n"); X265_CHECK 871 source/common/dct.cpp X265_CHECK(sbacNext(mstate, sig) == nextState, "nextState check failure\n"); X265_CHECK 872 source/common/dct.cpp X265_CHECK(sbacGetEntropyBits(mstate, sig) == (stateBits & 0xFFFFFF), "entropyBits check failure\n"); X265_CHECK 915 source/common/dct.cpp X265_CHECK((codeNumber != 0) || (length == 0), "length check failure\n"); X265_CHECK 923 source/common/dct.cpp X265_CHECK(goRiceParam <= 4, "goRiceParam check failure\n"); X265_CHECK 965 source/common/dct.cpp X265_CHECK(c1 <= 3, "c1 check failure\n"); X265_CHECK 972 source/common/dct.cpp X265_CHECK((firstC2Flag <= 1), "firstC2FlagIdx check failure\n"); X265_CHECK 127 source/common/deblock.cpp X265_CHECK(numUnits > 0, "numUnits edge filter check\n"); X265_CHECK 430 source/common/deblock.cpp X265_CHECK(((dir == EDGE_VER) X265_CHECK 82 source/common/frame.cpp X265_CHECK((m_reconColCount == NULL), "m_reconColCount was initialized"); X265_CHECK 32 source/common/piclist.cpp X265_CHECK(!curFrame.m_next && !curFrame.m_prev, "piclist: picture already in list\n"); // ensure frame is not in a list X265_CHECK 50 source/common/piclist.cpp X265_CHECK(!curFrame.m_next && !curFrame.m_prev, "piclist: picture already in list\n"); // ensure frame is not in a list X265_CHECK 129 source/common/piclist.cpp X265_CHECK(tmp == &curFrame, "piclist: pic being removed was not in list\n"); // verify pic is in this list X265_CHECK 232 source/common/picyuv.cpp X265_CHECK(pic.bitDepth >= 8, "pic.bitDepth check failure"); X265_CHECK 389 source/common/picyuv.cpp X265_CHECK(pic.bitDepth == 10, "HDR stats can be applied/calculated only for 10bpp content"); X265_CHECK 395 source/common/pixel.cpp X265_CHECK(((intptr_t)dst & 15) == 0, "dst alignment error\n"); X265_CHECK 396 source/common/pixel.cpp X265_CHECK((((intptr_t)src | (srcStride * sizeof(*src))) & 15) == 0 || size == 4, "src alignment error\n"); X265_CHECK 397 source/common/pixel.cpp X265_CHECK(shift >= 0, "invalid shift\n"); X265_CHECK 412 source/common/pixel.cpp X265_CHECK(((intptr_t)dst & 15) == 0, "dst alignment error\n"); X265_CHECK 413 source/common/pixel.cpp X265_CHECK((((intptr_t)src | (srcStride * sizeof(*src))) & 15) == 0 || size == 4, "src alignment error\n"); X265_CHECK 414 source/common/pixel.cpp X265_CHECK(shift > 0, "invalid shift\n"); X265_CHECK 430 source/common/pixel.cpp X265_CHECK((((intptr_t)dst | (dstStride * sizeof(*dst))) & 15) == 0 || size == 4, "dst alignment error\n"); X265_CHECK 431 source/common/pixel.cpp X265_CHECK(((intptr_t)src & 15) == 0, "src alignment error\n"); X265_CHECK 432 source/common/pixel.cpp X265_CHECK(shift >= 0, "invalid shift\n"); X265_CHECK 447 source/common/pixel.cpp X265_CHECK((((intptr_t)dst | (dstStride * sizeof(*dst))) & 15) == 0 || size == 4, "dst alignment error\n"); X265_CHECK 448 source/common/pixel.cpp X265_CHECK(((intptr_t)src & 15) == 0, "src alignment error\n"); X265_CHECK 449 source/common/pixel.cpp X265_CHECK(shift > 0, "invalid shift\n"); X265_CHECK 490 source/common/pixel.cpp X265_CHECK(!((w0 << 6) > 32767), "w0 using more than 16 bits, asm output will mismatch\n"); X265_CHECK 491 source/common/pixel.cpp X265_CHECK(!(round > 32767), "round using more than 16 bits, asm output will mismatch\n"); X265_CHECK 492 source/common/pixel.cpp X265_CHECK((shift >= correction), "shift must be include factor correction, please update ASM ABI\n"); X265_CHECK 515 source/common/pixel.cpp X265_CHECK(!(width & 15), "weightp alignment error\n"); X265_CHECK 516 source/common/pixel.cpp X265_CHECK(!((w0 << 6) > 32767), "w0 using more than 16 bits, asm output will mismatch\n"); X265_CHECK 517 source/common/pixel.cpp X265_CHECK(!(round > 32767), "round using more than 16 bits, asm output will mismatch\n"); X265_CHECK 518 source/common/pixel.cpp X265_CHECK((shift >= correction), "shift must be include factor correction, please update ASM ABI\n"); X265_CHECK 519 source/common/pixel.cpp X265_CHECK(!(round & ((1 << correction) - 1)), "round must be include factor correction, please update ASM ABI\n"); X265_CHECK 657 source/common/pixel.cpp X265_CHECK((X265_DEPTH == 10) || (X265_DEPTH == 12), "ssim invalid depth\n"); X265_CHECK 662 source/common/pixel.cpp X265_CHECK(X265_DEPTH == 8, "ssim invalid depth\n"); X265_CHECK 783 source/common/pixel.cpp X265_CHECK((b[x] >= 0) && (b[x] <= ((1 << X265_DEPTH) - 1)), "blockcopy pixel size fail\n"); X265_CHECK 36 source/common/ppc/dct_altivec.cpp X265_CHECK(qBits >= 8, "qBits less than 8\n"); X265_CHECK 38 source/common/ppc/dct_altivec.cpp X265_CHECK((numCoeff % 16) == 0, "numCoeff must be multiple of 16\n"); X265_CHECK 87 source/common/predict.cpp X265_CHECK(refIdx0 >= 0, "invalid P refidx\n"); X265_CHECK 88 source/common/predict.cpp X265_CHECK(refIdx0 < cu.m_slice->m_numRefIdx[0], "P refidx out of range\n"); X265_CHECK 128 source/common/predict.cpp X265_CHECK(refIdx0 < cu.m_slice->m_numRefIdx[0], "bidir refidx0 out of range\n"); X265_CHECK 129 source/common/predict.cpp X265_CHECK(refIdx1 < cu.m_slice->m_numRefIdx[1], "bidir refidx1 out of range\n"); X265_CHECK 221 source/common/predict.cpp X265_CHECK(refIdx1 >= 0, "refidx1 was not positive\n"); X265_CHECK 279 source/common/predict.cpp X265_CHECK((pu.width % 4) + (pu.height % 4) == 0, "width or height not divisible by 4\n"); X265_CHECK 280 source/common/predict.cpp X265_CHECK(dstStride == MAX_CU_SIZE, "stride expected to be max cu size\n"); X265_CHECK 371 source/common/predict.cpp X265_CHECK(((cxWidth | (pu.height >> m_vChromaShift)) % 2) == 0, "chroma block size expected to be multiple of 2\n"); X265_CHECK 577 source/common/predict.cpp X265_CHECK(sizeIdx >= 0 && sizeIdx < 4, "intra block size is out of range\n"); X265_CHECK 588 source/common/predict.cpp X265_CHECK(sizeIdx >= 0 && sizeIdx < 4, "intra block size is out of range\n"); X265_CHECK 823 source/common/predict.cpp X265_CHECK(curr <= nextOrTop, "curr must be less than or equal to nextOrTop\n"); X265_CHECK 415 source/common/primitives.h X265_CHECK(((width | height) & ~(4 | 8 | 16 | 32 | 64)) == 0, "Invalid block width/height\n"); X265_CHECK 420 source/common/primitives.h X265_CHECK(part != 255, "Invalid block width %d height %d\n", width, height); X265_CHECK 427 source/common/primitives.h X265_CHECK(part >= 0 && part <= 24, "Invalid part %d \n", part); X265_CHECK 442 source/common/primitives.h X265_CHECK(2 <= log2Size && log2Size <= 6, "Invalid block size\n"); X265_CHECK 56 source/common/quant.cpp X265_CHECK(absGoRice <= 4, "absGoRice check failure\n"); X265_CHECK 59 source/common/quant.cpp X265_CHECK(diffLevel < 0, "diffLevel check failure\n"); X265_CHECK 66 source/common/quant.cpp X265_CHECK(absLevel <= 2, "absLevel check failure\n"); X265_CHECK 89 source/common/quant.cpp X265_CHECK(fastMin(symbol, (maxVlc + 1)) == (int)maxVlc + 1, "min check failure\n"); X265_CHECK 105 source/common/quant.cpp X265_CHECK(absLevel <= 2, "absLevel check failure\n"); X265_CHECK 120 source/common/quant.cpp X265_CHECK(absGoRice <= 4, "absGoRice check failure\n"); X265_CHECK 123 source/common/quant.cpp X265_CHECK(diffLevel < 0, "diffLevel check failure\n"); X265_CHECK 140 source/common/quant.cpp X265_CHECK(absLevel, "absLevel should not be zero\n"); X265_CHECK 144 source/common/quant.cpp X265_CHECK((absLevel == 1) || (absLevel == 2), "absLevel range check failure\n"); X265_CHECK 195 source/common/quant.cpp X265_CHECK((psyScale * 256.0) < (double)MAX_INT, "psyScale value too large\n"); X265_CHECK 284 source/common/quant.cpp X265_CHECK(lastNZPosInCG0 < 0, "all zero block check failure\n"); X265_CHECK 302 source/common/quant.cpp X265_CHECK(firstNZPosInCG0 == firstNZPosInCG, "firstNZPosInCG0 check failure\n"); X265_CHECK 303 source/common/quant.cpp X265_CHECK(lastNZPosInCG0 == lastNZPosInCG, "lastNZPosInCG0 check failure\n"); X265_CHECK 324 source/common/quant.cpp X265_CHECK(!!coeff[blkPos] == !!(cgFlags & 1), "non zero coeff check failure\n"); X265_CHECK 337 source/common/quant.cpp X265_CHECK(n == firstNZPosInCG, "firstNZPosInCG position check failure\n"); X265_CHECK 351 source/common/quant.cpp X265_CHECK(n < firstNZPosInCG, "firstNZPosInCG position check failure\n"); X265_CHECK 404 source/common/quant.cpp X265_CHECK(log2TrSize >= 2 && log2TrSize <= 5, "Block size mistake!\n"); X265_CHECK 412 source/common/quant.cpp X265_CHECK((cu.m_slice->m_sps->quadtreeTULog2MaxSize >= log2TrSize), "transform size too large\n"); X265_CHECK 416 source/common/quant.cpp X265_CHECK(transformShift >= 0, "invalid transformShift\n"); X265_CHECK 592 source/common/quant.cpp X265_CHECK(transformShift > 0, "invalid transformShift\n"); X265_CHECK 604 source/common/quant.cpp X265_CHECK((int)numSig == primitives.cu[log2TrSize - 2].count_nonzero(coeff), "numSig differ\n"); X265_CHECK 634 source/common/quant.cpp X265_CHECK(scalingListType < 6, "scaling list type out of range\n"); X265_CHECK 644 source/common/quant.cpp X265_CHECK((int)numSig == primitives.cu[log2TrSize - 2].count_nonzero(dstCoeff), "numSig differ\n"); X265_CHECK 727 source/common/quant.cpp X265_CHECK(coeffNum[cgScanPos] == 0, "count of coeff failure\n"); X265_CHECK 757 source/common/quant.cpp X265_CHECK(coeffNum[cgScanPos] == 0, "count of coeff failure\n"); X265_CHECK 857 source/common/quant.cpp X265_CHECK(trSize > 4, "trSize check failure\n"); X265_CHECK 858 source/common/quant.cpp X265_CHECK(ctxSig == getSigCtxInc(patternSigCtx, log2TrSize, trSize, codeParams.scan[scanPosBase + scanPosOffset], bIsLuma, codeParams.firstSignificanceMapContext), "sigCtx check failure\n"); X265_CHECK 882 source/common/quant.cpp X265_CHECK(trSize > 4, "trSize check failure\n"); X265_CHECK 883 source/common/quant.cpp X265_CHECK(ctxSig == getSigCtxInc(patternSigCtx, log2TrSize, trSize, codeParams.scan[scanPosBase + scanPosOffset], bIsLuma, codeParams.firstSignificanceMapContext), "sigCtx check failure\n"); X265_CHECK 926 source/common/quant.cpp X265_CHECK((!!scanPos ^ !!blkPos) == 0, "failed on (blkPos=0 && scanPos!=0)\n"); X265_CHECK 940 source/common/quant.cpp X265_CHECK(ctxSig == getSigCtxInc(patternSigCtx, log2TrSize, trSize, blkPos, bIsLuma, codeParams.firstSignificanceMapContext), "sigCtx check failure\n"); X265_CHECK 973 source/common/quant.cpp X265_CHECK(!!((int)c1Idx < C1FLAG_NUMBER) == (int)((c1Idx - 8) >> (sizeof(int) * CHAR_BIT - 1)), "scan validation 1\n"); X265_CHECK 974 source/common/quant.cpp X265_CHECK(!!(c2Idx == 0) == ((-(int)c2Idx) >> (sizeof(int) * CHAR_BIT - 1)) + 1, "scan validation 2\n"); X265_CHECK 975 source/common/quant.cpp X265_CHECK((int)baseLevel == ((c1Idx < C1FLAG_NUMBER) ? (2 + (c2Idx == 0)) : 1), "scan validation 3\n"); X265_CHECK 976 source/common/quant.cpp X265_CHECK(c1c2idx <= 3, "c1c2Idx check failure\n"); X265_CHECK 1005 source/common/quant.cpp X265_CHECK(levelBits == getICRateCost(1, 1 - baseLevel, greaterOneBits, levelAbsBits, goRiceParam, c1c2Rate) + IEP_RATE, "levelBits mistake\n"); X265_CHECK 1008 source/common/quant.cpp X265_CHECK(UNQUANT(1) == unquantAbsLevel, "DQuant check failed\n"); X265_CHECK 1034 source/common/quant.cpp X265_CHECK(UNQUANT(maxAbsLevel) == (uint32_t)unquantAbsLevel0, "DQuant check failed\n"); X265_CHECK 1039 source/common/quant.cpp X265_CHECK(UNQUANT(maxAbsLevel - 1) == (uint32_t)unquantAbsLevel1, "DQuant check failed\n"); X265_CHECK 1082 source/common/quant.cpp X265_CHECK(level == 1, "absLevel check failure\n"); X265_CHECK 1091 source/common/quant.cpp X265_CHECK(rate1 == getICRateNegDiff(level + 0, greaterOneBits, levelAbsBits), "rate1 check failure!\n"); X265_CHECK 1092 source/common/quant.cpp X265_CHECK(rate2 == getICRateNegDiff(level + 1, greaterOneBits, levelAbsBits), "rate1 check failure!\n"); X265_CHECK 1093 source/common/quant.cpp X265_CHECK(rate0 == getICRateNegDiff(level - 1, greaterOneBits, levelAbsBits), "rate1 check failure!\n"); X265_CHECK 1149 source/common/quant.cpp X265_CHECK((cgScanPos << MLS_CG_SIZE) == (int)scanPos, "scanPos mistake\n"); X265_CHECK 1155 source/common/quant.cpp X265_CHECK(cgLastScanPos >= 0, "cgLastScanPos check failure\n"); X265_CHECK 1209 source/common/quant.cpp X265_CHECK(lastScanPos >= 0, "numSig non zero, but no coded CG\n"); X265_CHECK 1315 source/common/quant.cpp X265_CHECK((uint32_t)(fastMin(lastScanPos, bestLastIdx) | (SCAN_SET_SIZE - 1)) < trSize * trSize, "array beyond bound\n"); X265_CHECK 1358 source/common/quant.cpp X265_CHECK(((uint32_t)absSum_dummy & 1) == (absSumSign >> 31), "absSumSign check failure\n"); X265_CHECK 1384 source/common/quant.cpp X265_CHECK((uint32_t)UNQUANT(absLevel) == (unQuantLevel >> unquantShift), "dquant check failed\n"); X265_CHECK 1394 source/common/quant.cpp X265_CHECK((uint32_t)UNQUANT(absLevel + 1) == ((unQuantLevel + preDQuantLevelDiff) >> unquantShift), "dquant check failed\n"); X265_CHECK 1400 source/common/quant.cpp X265_CHECK((uint32_t)UNQUANT(absLevel - 1) == ((unQuantLevel - preDQuantLevelDiff) >> unquantShift), "dquant check failed\n"); X265_CHECK 1422 source/common/quant.cpp X265_CHECK((uint32_t)UNQUANT(1) == ((preDQuantLevelDiff + unquantRound) >> unquantShift), "dquant check failed\n"); X265_CHECK 1489 source/common/quant.cpp X265_CHECK((blkPos - (posY << log2TrSize)) == posX, "block pos check failed\n"); X265_CHECK 1492 source/common/quant.cpp X265_CHECK((posX & 3) == (blkPos & 3), "pos alignment fail\n"); X265_CHECK 58 source/common/quant.h X265_CHECK((x265_lambda_tab[qp - QP_BD_OFFSET] * 256. + 0.5) < (double)MAX_INT, "x265_lambda_tab[] value too large\n"); X265_CHECK 123 source/common/quant.h X265_CHECK(trSizeCG <= 8, "transform CG is too large\n"); X265_CHECK 124 source/common/quant.h X265_CHECK(cgBlkPos < 64, "cgBlkPos is too large\n"); X265_CHECK 139 source/common/quant.h X265_CHECK(cgBlkPos < 64, "cgBlkPos is too large\n"); X265_CHECK 227 source/common/scalinglist.cpp X265_CHECK(0, "invalid scaling list size\n"); X265_CHECK 52 source/common/shortyuv.cpp X265_CHECK((sizeC & 15) == 0, "invalid size"); X265_CHECK 72 source/common/slice.cpp X265_CHECK(m_rps.numberOfPictures == m_rps.numberOfNegativePictures + m_rps.numberOfPositivePictures, X265_CHECK 90 source/common/slice.cpp X265_CHECK(cIdx == numPocTotalCurr, "RPS index check fail\n"); X265_CHECK 104 source/common/slice.cpp X265_CHECK(cIdx == numPocTotalCurr, "RPS index check fail\n"); X265_CHECK 110 source/common/slice.cpp X265_CHECK(cIdx >= 0 && cIdx < numPocTotalCurr, "RPS index check fail\n"); X265_CHECK 124 source/common/slice.cpp X265_CHECK(cIdx >= 0 && cIdx < numPocTotalCurr, "RPS index check fail\n"); X265_CHECK 476 source/common/threadpool.cpp X265_CHECK(numThreads <= MAX_POOL_THREADS, "a single thread pool cannot have more than MAX_POOL_THREADS threads\n"); X265_CHECK 40 source/common/vec/dct-sse41.cpp X265_CHECK(num <= 32 * 32, "dequant num too large\n"); X265_CHECK 69 source/common/yuv.cpp X265_CHECK((sizeC & 15) == 0, "invalid size"); X265_CHECK 115 source/common/yuv.cpp X265_CHECK(m_size >= srcYuv.m_size, "invalid size\n"); X265_CHECK 128 source/common/yuv.cpp X265_CHECK(m_size == FENC_STRIDE && m_size >= srcYuv.m_size, "PU buffer size mismatch\n"); X265_CHECK 734 source/encoder/analysis.cpp X265_CHECK(0, "invalid job ID for parallel mode analysis\n"); X265_CHECK 802 source/encoder/analysis.cpp X265_CHECK(0, "invalid job ID for parallel mode analysis\n"); X265_CHECK 828 source/encoder/analysis.cpp X265_CHECK(m_param->rdLevel >= 2, "compressInterCU_dist does not support RD 0 or 1\n"); X265_CHECK 2426 source/encoder/analysis.cpp X265_CHECK(m_slice->m_sliceType != I_SLICE, "Evaluating merge in I slice\n"); X265_CHECK 2481 source/encoder/analysis.cpp X265_CHECK(m_slice->m_sliceType == B_SLICE || !(candDir[i] & 0x10), " invalid merge for P slice\n"); X265_CHECK 2971 source/encoder/analysis.cpp X265_CHECK(bestMode->fencYuv == &fencYuv, "invalid fencYuv\n"); X265_CHECK 2991 source/encoder/analysis.cpp X265_CHECK(!ctu.isSkipped(absPartIdx), "skip not expected prior to transform\n"); X265_CHECK 78 source/encoder/dpb.cpp X265_CHECK(curFrame->m_reconRowFlag != NULL, "curFrame->m_reconRowFlag check failure"); X265_CHECK 79 source/encoder/dpb.cpp X265_CHECK(curFrame->m_reconColCount != NULL, "curFrame->m_reconColCount check failure"); X265_CHECK 80 source/encoder/dpb.cpp X265_CHECK(curFrame->m_numRows > 0, "curFrame->m_numRows check failure"); X265_CHECK 188 source/encoder/dpb.cpp X265_CHECK(slice->m_sliceType != B_SLICE || slice->m_numRefIdx[1], "B slice without L1 references (non-fatal)\n"); X265_CHECK 2077 source/encoder/encoder.cpp X265_CHECK(pps->maxCuDQPDepth <= 3, "max CU DQP depth cannot be greater than 3\n"); X265_CHECK 2674 source/encoder/encoder.cpp X265_CHECK(analysis->sliceType, "invalid slice type\n"); X265_CHECK 230 source/encoder/entropy.cpp X265_CHECK(sizeof(m_contextState) >= sizeof(m_contextState[0]) * MAX_OFF_CTX_MOD, "context state table is too small\n"); X265_CHECK 616 source/encoder/entropy.cpp X265_CHECK(!slice.m_rps.bUsed[picIdx], "pic unused failure\n"); X265_CHECK 661 source/encoder/entropy.cpp X265_CHECK(slice.m_numRefIdx[1] == 0, "expected no L1 references for P slice\n"); X265_CHECK 667 source/encoder/entropy.cpp X265_CHECK(!slice.m_numRefIdx[0] && !slice.m_numRefIdx[1], "expected no references for I slice\n"); X265_CHECK 688 source/encoder/entropy.cpp X265_CHECK(slice.m_maxNumMergeCand <= MRG_MAX_NUM_CANDS, "too many merge candidates\n"); X265_CHECK 720 source/encoder/entropy.cpp X265_CHECK(offsetLen < 32, "offsetLen is too large\n"); X265_CHECK 876 source/encoder/entropy.cpp X265_CHECK(0, "invalid CU partition\n"); X265_CHECK 889 source/encoder/entropy.cpp X265_CHECK(realEndAddress == slice->realEndAddress(slice->m_endCUAddr), "real end address expected\n"); X265_CHECK 926 source/encoder/entropy.cpp X265_CHECK(subdiv, "intra NxN requires TU depth below CU depth\n"); X265_CHECK 931 source/encoder/entropy.cpp X265_CHECK(subdiv, "inter TU must be smaller than CU when not 2Nx2N part size: log2CurSize %d, depthRange[0] %d\n", log2CurSize, depthRange[0]); X265_CHECK 935 source/encoder/entropy.cpp X265_CHECK(subdiv, "TU is larger than the max allowed, it should have been split\n"); X265_CHECK 939 source/encoder/entropy.cpp X265_CHECK(!subdiv, "min sized TU cannot be subdivided\n"); X265_CHECK 943 source/encoder/entropy.cpp X265_CHECK(log2CurSize > depthRange[0], "transform size failure\n"); X265_CHECK 977 source/encoder/entropy.cpp X265_CHECK(cu.getCbf(absPartIdxC, TEXT_LUMA, 0), "CBF should have been set\n"); X265_CHECK 1061 source/encoder/entropy.cpp X265_CHECK(subdiv, "intra NxN requires TU depth below CU depth\n"); X265_CHECK 1066 source/encoder/entropy.cpp X265_CHECK(subdiv, "inter TU must be smaller than CU when not 2Nx2N part size: log2CurSize %d, depthRange[0] %d\n", log2CurSize, depthRange[0]); X265_CHECK 1070 source/encoder/entropy.cpp X265_CHECK(subdiv, "TU is larger than the max allowed, it should have been split\n"); X265_CHECK 1074 source/encoder/entropy.cpp X265_CHECK(!subdiv, "min sized TU cannot be subdivided\n"); X265_CHECK 1078 source/encoder/entropy.cpp X265_CHECK(log2CurSize > depthRange[0], "transform size failure\n"); X265_CHECK 1098 source/encoder/entropy.cpp X265_CHECK(cu.getCbf(absPartIdx, TEXT_LUMA, 0), "CBF should have been set\n"); X265_CHECK 1156 source/encoder/entropy.cpp X265_CHECK(!cu.isIntra(absPartIdx), "intra block not expected\n"); X265_CHECK 1174 source/encoder/entropy.cpp X265_CHECK(cu.m_slice->m_numRefIdx[list] > 0, "numRefs should have been > 0\n"); X265_CHECK 1188 source/encoder/entropy.cpp X265_CHECK(!cu.isIntra(absPartIdx), "intra block not expected\n"); X265_CHECK 1414 source/encoder/entropy.cpp X265_CHECK(totalSignalledWeightFlags <= 24, "total weights must be <= 24\n"); X265_CHECK 1420 source/encoder/entropy.cpp X265_CHECK(maxSymbol > 0, "maxSymbol too small\n"); X265_CHECK 1455 source/encoder/entropy.cpp X265_CHECK(numBins <= 32, "numBins too large\n"); X265_CHECK 1469 source/encoder/entropy.cpp X265_CHECK(codeNumber - (length << absGoRice) == (codeNumber & ((1 << absGoRice) - 1)), "codeNumber failure\n"); X265_CHECK 1470 source/encoder/entropy.cpp X265_CHECK(length + 1 + absGoRice < 32, "length failure\n"); X265_CHECK 1481 source/encoder/entropy.cpp X265_CHECK((codeNumber != 0) || (length == 0), "length check failure\n"); X265_CHECK 1494 source/encoder/entropy.cpp X265_CHECK(src.m_valid, "invalid copy source context\n"); X265_CHECK 1501 source/encoder/entropy.cpp X265_CHECK(src.m_valid, "invalid copy source context\n"); X265_CHECK 1554 source/encoder/entropy.cpp X265_CHECK(0, "invalid CU partition\n"); X265_CHECK 1568 source/encoder/entropy.cpp X265_CHECK(unaryIdx < numCand, "unaryIdx out of range\n"); X265_CHECK 1603 source/encoder/entropy.cpp X265_CHECK((predIdx[j] >= 0) && (predIdx[j] <= 2), "predIdx out of range\n"); X265_CHECK 1778 source/encoder/entropy.cpp X265_CHECK(baseLevel == ((idx < C1FLAG_NUMBER) ? (2 + firstCoeff2) : 1), "baseLevel check failurr\n"); X265_CHECK 1795 source/encoder/entropy.cpp X265_CHECK((codeNumber != 0) || (length == 0), "length check failure\n"); X265_CHECK 1803 source/encoder/entropy.cpp X265_CHECK(goRiceParam <= 4, "goRiceParam check failure\n"); X265_CHECK 1821 source/encoder/entropy.cpp X265_CHECK(numSig > 0, "cbf check fail\n"); X265_CHECK 1844 source/encoder/entropy.cpp X265_CHECK((uint32_t)((1 << (log2TrSize - MLS_CG_LOG2_SIZE)) - 1) == (((uint32_t)~0 >> (31 - log2TrSize + MLS_CG_LOG2_SIZE)) >> 1), "maskPosXY fault\n"); X265_CHECK 1874 source/encoder/entropy.cpp X265_CHECK(((log2TrSize - 1) >> 2) == (uint32_t)(log2TrSize == 5), "ctxIdx check failure\n"); X265_CHECK 1875 source/encoder/entropy.cpp X265_CHECK((uint32_t)ctxShift == (bIsLuma ? ((log2TrSize + 1) >> 2) : log2TrSize - 2), "ctxShift check failure\n"); X265_CHECK 1923 source/encoder/entropy.cpp X265_CHECK(scanPosSigOff == scanPosLast - (lastScanSet << MLS_CG_SIZE) - 1, "scanPos mistake\n"); X265_CHECK 1945 source/encoder/entropy.cpp X265_CHECK((log2TrSize != 2) || (log2TrSize == 2 && subSet == 0), "log2TrSize and subSet mistake!\n"); X265_CHECK 1992 source/encoder/entropy.cpp X265_CHECK(scanPosSigOff >= 0, "scanPosSigOff check failure\n"); X265_CHECK 2014 source/encoder/entropy.cpp X265_CHECK((uint32_t)(tmpCoeff[blkPos] != 0) == sig, "sign bit mistake\n"); X265_CHECK 2017 source/encoder/entropy.cpp X265_CHECK(ctxSig == Quant::getSigCtxInc(patternSigCtx, log2TrSize, trSize, blkPos, bIsLuma, codingParameters.firstSignificanceMapContext), "sigCtx mistake!\n");; X265_CHECK 2028 source/encoder/entropy.cpp X265_CHECK((log2TrSize > 2), "log2TrSize must be more than 2 in this path!\n"); X265_CHECK 2038 source/encoder/entropy.cpp X265_CHECK((uint32_t)(tmpCoeff[blkPos] != 0) == sig, "sign bit mistake\n"); X265_CHECK 2044 source/encoder/entropy.cpp X265_CHECK(ctxSig == Quant::getSigCtxInc(patternSigCtx, log2TrSize, trSize, codingParameters.scan[subPosBase + scanPosSigOff], bIsLuma, codingParameters.firstSignificanceMapContext), "sigCtx mistake!\n");; X265_CHECK 2058 source/encoder/entropy.cpp X265_CHECK(numNonZero <= 1, "numNonZero check failure"); X265_CHECK 2068 source/encoder/entropy.cpp X265_CHECK(coeffNum[subSet] == numNonZero, "coefNum mistake\n"); X265_CHECK 2075 source/encoder/entropy.cpp X265_CHECK(subCoeffFlag > 0, "subCoeffFlag is zero\n"); X265_CHECK 2081 source/encoder/entropy.cpp X265_CHECK((((subSet > 0) & bIsLuma) ? 2 : 0) + !(c1 & 3) == ctxSet, "ctxSet check failure\n"); X265_CHECK 2087 source/encoder/entropy.cpp X265_CHECK(numC1Flag > 0, "numC1Flag check failure\n"); X265_CHECK 2103 source/encoder/entropy.cpp X265_CHECK(sum == costCoeffRemain_c0(absCoeff, numNonZero), "costCoeffRemain check failure\n"); X265_CHECK 2129 source/encoder/entropy.cpp X265_CHECK(c1 <= 3, "c1 check failure\n"); X265_CHECK 2138 source/encoder/entropy.cpp X265_CHECK((firstC2Flag <= 1), "firstC2FlagIdx check failure\n"); X265_CHECK 2160 source/encoder/entropy.cpp X265_CHECK(baseLevel == ((idx < C1FLAG_NUMBER) ? (2 + firstCoeff2) : 1), "baseLevel check failurr\n"); X265_CHECK 2165 source/encoder/entropy.cpp X265_CHECK(threshold == (uint32_t)(COEF_REMAIN_BIN_REDUCTION << goRiceParam), "COEF_REMAIN_BIN_REDUCTION check failure\n"); X265_CHECK 2169 source/encoder/entropy.cpp X265_CHECK(goRiceParam <= 4, "goRiceParam check failure\n"); X265_CHECK 2190 source/encoder/entropy.cpp X265_CHECK(maxSymbol > 0, "maxSymbol too small\n"); X265_CHECK 2301 source/encoder/entropy.cpp X265_CHECK(maxGroupIdx & 1, "maxGroupIdx check failure\n"); X265_CHECK 2380 source/encoder/entropy.cpp X265_CHECK(src.m_valid, "invalid copy source context\n"); X265_CHECK 2461 source/encoder/entropy.cpp X265_CHECK(lps >= 2, "lps is too small\n"); X265_CHECK 2467 source/encoder/entropy.cpp X265_CHECK((uint32_t)((binValue ^ mstate) & 1) == (uint32_t)(binValue != sbacGetMps(mstate)), "binValue failure\n"); X265_CHECK 2474 source/encoder/entropy.cpp X265_CHECK(state != 63 || idx == 1, "state failure\n"); X265_CHECK 2479 source/encoder/entropy.cpp X265_CHECK(numBits <= 6, "numBits failure\n"); X265_CHECK 122 source/encoder/entropy.h X265_CHECK(!m_bitIf, "bit counting mode expected\n"); X265_CHECK 221 source/encoder/frameencoder.cpp X265_CHECK(countGeoms == allocGeoms, "geometry match check failure\n"); X265_CHECK 571 source/encoder/frameencoder.cpp X265_CHECK(sidx < m_param->maxSlices, "sliceID check failed!"); X265_CHECK 577 source/encoder/frameencoder.cpp X265_CHECK(m_param->bEnableWavefront || (m_param->maxSlices == 1), "Multiple slices without WPP unsupport now!"); X265_CHECK 715 source/encoder/frameencoder.cpp X265_CHECK(row < m_numRows, "slices row fault was detected"); X265_CHECK 1821 source/encoder/frameencoder.cpp X265_CHECK(ctu.m_log2CUSize[absPartIdx] == 3 && ctu.m_slice->m_sps->quadtreeTULog2MinSize < 3, "Intra NxN found at improbable depth\n"); X265_CHECK 1864 source/encoder/frameencoder.cpp X265_CHECK(ctu.m_log2CUSize[absPartIdx] == 3 && ctu.m_slice->m_sps->quadtreeTULog2MinSize < 3, "Intra NxN found at improbable depth\n"); X265_CHECK 308 source/encoder/framefilter.cpp X265_CHECK(col * ctuWidth + ctuWidth <= m_sao.m_numCuInWidth * ctuWidth, "m_tmpU buffer beyond bound write detected"); X265_CHECK 320 source/encoder/framefilter.cpp X265_CHECK(col * ctuWidth + ctuWidth <= m_sao.m_numCuInWidth * ctuWidth, "m_tmpU buffer beyond bound write detected"); X265_CHECK 590 source/encoder/framefilter.cpp X265_CHECK(ctu->m_bFirstRowInSlice || m_parallelFilter[row - 1].m_lastDeblocked.get() == m_numCols, "previous row not finish"); X265_CHECK 240 source/encoder/level.cpp X265_CHECK(vps.ptl.intraConstraintFlag || vps.ptl.bitDepthConstraint > 10, "rext fail\n"); X265_CHECK 168 source/encoder/motion.cpp X265_CHECK(LUMA_4x4 != partEnum, "4x4 inter partition detected!\n"); X265_CHECK 186 source/encoder/motion.cpp X265_CHECK(!bChromaSATD, "chroma distortion measurements impossible in this code path\n"); X265_CHECK 193 source/encoder/motion.cpp X265_CHECK(LUMA_4x4 != partEnum, "4x4 inter partition detected!\n"); X265_CHECK 209 source/encoder/motion.cpp X265_CHECK(!(bChromaSATD && !workload[subpelRefine].hpel_satd), "Chroma SATD cannot be used with SAD hpel\n"); X265_CHECK 728 source/encoder/motion.cpp X265_CHECK(((pmv.y >= qmvmin.y) & (pmv.y <= qmvmax.y)), "mv beyond range!"); X265_CHECK 792 source/encoder/motion.cpp X265_CHECK(!(ref->isLowres && numCandidates), "lowres motion candidates not allowed\n") X265_CHECK 947 source/encoder/motion.cpp X265_CHECK(((pmv.y >= mvmin.y) & (pmv.y <= mvmax.y)), "pmv outside of search range!"); X265_CHECK 1428 source/encoder/motion.cpp X265_CHECK(0, "invalid motion estimate mode\n"); X265_CHECK 1548 source/encoder/motion.cpp X265_CHECK(((bmv.y >= qmvmin.y) & (bmv.y <= qmvmax.y)), "mv beyond range!"); X265_CHECK 1563 source/encoder/motion.cpp X265_CHECK(fencPUYuv.m_size == FENC_STRIDE, "fenc buffer is assumed to have FENC_STRIDE by sad_x3 and sad_x4\n"); X265_CHECK 1600 source/encoder/motion.cpp X265_CHECK((hshift == 0) || (hshift == 1), "hshift must be 0 or 1\n"); X265_CHECK 1601 source/encoder/motion.cpp X265_CHECK((vshift == 0) || (vshift == 1), "vshift must be 0 or 1\n"); X265_CHECK 138 source/encoder/nal.cpp X265_CHECK(bytes <= 4 + 2 + payloadSize + (payloadSize >> 1), "NAL buffer overflow\n"); X265_CHECK 166 source/encoder/nal.cpp X265_CHECK(m_numNal < (uint32_t)MAX_NAL_UNITS, "NAL count overflow\n"); X265_CHECK 864 source/encoder/ratecontrol.cpp X265_CHECK(qScale[i] >= 0, "qScale became negative\n"); X265_CHECK 870 source/encoder/ratecontrol.cpp X265_CHECK(filterSize % 2 == 1, "filterSize not an odd number\n"); X265_CHECK 896 source/encoder/ratecontrol.cpp X265_CHECK(rce->newQScale >= 0, "new Qscale is negative\n"); X265_CHECK 1000 source/encoder/ratecontrol.cpp X265_CHECK(rce->newQScale >= 0, "new Qscale is negative\n"); X265_CHECK 1030 source/encoder/ratecontrol.cpp X265_CHECK(rce->newQScale >= 0, "new Qscale is negative\n"); X265_CHECK 1224 source/encoder/ratecontrol.cpp X265_CHECK(rce->poc >= 0 && rce->poc < m_numEntries, "bad encode ordinal\n"); X265_CHECK 1313 source/encoder/ratecontrol.cpp X265_CHECK(rce->lastSatd, "satdcost cannot be zero\n"); X265_CHECK 102 source/encoder/rdcost.h X265_CHECK(bits <= (UINT64_MAX - 128) / m_lambda2, X265_CHECK 106 source/encoder/rdcost.h X265_CHECK(bits <= (UINT64_MAX - 128) / m_lambda2, X265_CHECK 123 source/encoder/rdcost.h X265_CHECK((bits <= (UINT64_MAX / m_lambda2)) && (psycost <= UINT64_MAX / (m_lambda * m_psyRd)), X265_CHECK 127 source/encoder/rdcost.h X265_CHECK((bits <= (UINT64_MAX / m_lambda2)) && (psycost <= UINT64_MAX / (m_lambda * m_psyRd)), X265_CHECK 137 source/encoder/rdcost.h X265_CHECK((bits <= (UINT64_MAX / m_lambda2)) && (ssimCost <= UINT64_MAX / m_lambda), X265_CHECK 141 source/encoder/rdcost.h X265_CHECK((bits <= (UINT64_MAX / m_lambda2)) && (ssimCost <= UINT64_MAX / m_lambda), X265_CHECK 150 source/encoder/rdcost.h X265_CHECK(bits <= (UINT64_MAX - 128) / m_lambda, X265_CHECK 158 source/encoder/rdcost.h X265_CHECK(dist <= (UINT64_MAX - 128) / m_chromaDistWeight[plane - 1], X265_CHECK 162 source/encoder/rdcost.h X265_CHECK(dist <= (UINT64_MAX - 128) / m_chromaDistWeight[plane - 1], X265_CHECK 171 source/encoder/rdcost.h X265_CHECK(bits <= (UINT64_MAX - 128) / m_lambda, X265_CHECK 104 source/encoder/reference.cpp X265_CHECK(recPic->m_picOrg[c] - recPic->m_picBuf[c] == marginY * stride + marginX, "PicYuv pad calculation mismatch\n"); X265_CHECK 169 source/encoder/sao.cpp X265_CHECK(m_countPreDblk == NULL, "duplicate initialize on m_countPreDblk"); X265_CHECK 170 source/encoder/sao.cpp X265_CHECK(m_offsetOrgPreDblk == NULL, "duplicate initialize on m_offsetOrgPreDblk"); X265_CHECK 171 source/encoder/sao.cpp X265_CHECK(m_depthSaoRate == NULL, "duplicate initialize on m_depthSaoRate"); X265_CHECK 172 source/encoder/sao.cpp X265_CHECK(m_clipTableBase == NULL, "duplicate initialize on m_clipTableBase"); X265_CHECK 173 source/encoder/sao.cpp X265_CHECK(m_clipTable == NULL, "duplicate initialize on m_clipTable"); X265_CHECK 792 source/encoder/sao.cpp X265_CHECK((ctuWidth == ctuHeight) || (m_chromaFormat != X265_CSP_I420), "video size check failure\n"); X265_CHECK 1213 source/encoder/sao.cpp X265_CHECK(m_numNoSao[0] <= numctus, "m_numNoSao check failure!"); X265_CHECK 1248 source/encoder/sao.cpp X265_CHECK(sizeof(PerPlane) == (sizeof(int32_t) * (NUM_PLANE * MAX_NUM_SAO_TYPE * MAX_NUM_SAO_CLASS)), "Found Padding space in struct PerPlane"); X265_CHECK 1438 source/encoder/sao.cpp X265_CHECK(bits <= (INT64_MAX - 128) / lambda, X265_CHECK 1442 source/encoder/sao.cpp X265_CHECK(bits <= (INT64_MAX - 128) / lambda, X265_CHECK 1785 source/encoder/sao.cpp X265_CHECK(endX <= MAX_CU_SIZE, "endX too big\n"); X265_CHECK 1796 source/encoder/sao.cpp X265_CHECK(signRight == signOf(rec[x] - rec[x + 1]), "signDown check failure\n"); X265_CHECK 1800 source/encoder/sao.cpp X265_CHECK(edgeType <= 4, "edgeType check failure\n"); X265_CHECK 1818 source/encoder/sao.cpp X265_CHECK(endX <= MAX_CU_SIZE, "endX check failure\n"); X265_CHECK 1819 source/encoder/sao.cpp X265_CHECK(endY <= MAX_CU_SIZE, "endY check failure\n"); X265_CHECK 1827 source/encoder/sao.cpp X265_CHECK(endX * endY <= (4096 - 16), "Assembly of saoE1 may overflow with this block size\n"); X265_CHECK 1833 source/encoder/sao.cpp X265_CHECK(signDown == signOf(rec[x] - rec[x + stride]), "signDown check failure\n"); X265_CHECK 1837 source/encoder/sao.cpp X265_CHECK(edgeType <= 4, "edgeType check failure\n"); X265_CHECK 1854 source/encoder/sao.cpp X265_CHECK(endX < MAX_CU_SIZE, "endX check failure\n"); X265_CHECK 1855 source/encoder/sao.cpp X265_CHECK(endY < MAX_CU_SIZE, "endY check failure\n"); X265_CHECK 1869 source/encoder/sao.cpp X265_CHECK(signDown == signOf(rec[x] - rec[x + stride + 1]), "signDown check failure\n"); X265_CHECK 1891 source/encoder/sao.cpp X265_CHECK(endX < MAX_CU_SIZE, "endX check failure\n"); X265_CHECK 1892 source/encoder/sao.cpp X265_CHECK(endY < MAX_CU_SIZE, "endY check failure\n"); X265_CHECK 1905 source/encoder/sao.cpp X265_CHECK(signDown == signOf(rec[x] - rec[x + stride - 1]), "signDown check failure\n"); X265_CHECK 1906 source/encoder/sao.cpp X265_CHECK(abs(upBuff1[x]) <= 1, "upBuffer1 check failure\n"); X265_CHECK 207 source/encoder/search.cpp X265_CHECK(qp >= QP_MIN && qp <= QP_MAX_MAX, "QP used for lambda is out of range\n"); X265_CHECK 276 source/encoder/search.cpp X265_CHECK(log2TrSize == 2 && m_csp != X265_CSP_I444 && tuDepth, "invalid tuDepth\n"); X265_CHECK 514 source/encoder/search.cpp X265_CHECK(tuSize <= MAX_TS_SIZE, "transform skip is only possible at 4x4 TUs\n"); X265_CHECK 687 source/encoder/search.cpp X265_CHECK(m_slice->m_sliceType != I_SLICE, "residualTransformQuantIntra not intended for I slices\n"); X265_CHECK 710 source/encoder/search.cpp X265_CHECK(!cu.m_transformSkip[TEXT_LUMA][absPartIdx], "unexpected tskip flag in residualTransformQuantIntra\n"); X265_CHECK 738 source/encoder/search.cpp X265_CHECK(log2TrSize > depthRange[0], "intra luma split state failure\n"); X265_CHECK 791 source/encoder/search.cpp X265_CHECK(m_csp != X265_CSP_I444 && tuDepth, "invalid tuDepth\n"); X265_CHECK 834 source/encoder/search.cpp X265_CHECK(log2TrSize == 2 && m_csp != X265_CSP_I444 && tuDepth, "invalid tuDepth\n"); X265_CHECK 1137 source/encoder/search.cpp X265_CHECK(log2TrSize == 2 && m_csp != X265_CSP_I444 && tuDepth, "invalid tuDepth\n"); X265_CHECK 1184 source/encoder/search.cpp X265_CHECK(!cu.m_transformSkip[ttype][0], "transform skip not supported at low RD levels\n"); X265_CHECK 1395 source/encoder/search.cpp X265_CHECK(lowmode >= 2 && lowmode <= 34, "low intra mode out of range\n"); X265_CHECK 1399 source/encoder/search.cpp X265_CHECK(highmode >= 2 && highmode <= 34, "high intra mode out of range\n"); X265_CHECK 1436 source/encoder/search.cpp X265_CHECK(cu.m_partSize[0] == SIZE_2Nx2N, "encodeIntraInInter does not expect NxN intra\n"); X265_CHECK 1437 source/encoder/search.cpp X265_CHECK(!m_slice->isIntra(), "encodeIntraInInter does not expect to be used in I slices\n"); X265_CHECK 1868 source/encoder/search.cpp X265_CHECK(cu.m_partSize[0] != SIZE_2Nx2N, "mergeEstimation() called for 2Nx2N\n"); X265_CHECK 1959 source/encoder/search.cpp X265_CHECK(block_x < m_frame->m_lowres.maxBlocksInRow, "block_x is too high\n"); X265_CHECK 1960 source/encoder/search.cpp X265_CHECK(block_y < m_frame->m_lowres.maxBlocksInCol, "block_y is too high\n"); X265_CHECK 2568 source/encoder/search.cpp X265_CHECK(0, "getBlkBits: unknown cuMode\n"); X265_CHECK 2639 source/encoder/search.cpp X265_CHECK(!cu.isIntra(0), "intra CU not expected\n"); X265_CHECK 2695 source/encoder/search.cpp X265_CHECK(!cu.isIntra(0), "intra CU not expected\n"); X265_CHECK 2858 source/encoder/search.cpp X265_CHECK(log2TrSize == 2 && m_csp != X265_CSP_I444 && tuDepth, "invalid tuDepth\n"); X265_CHECK 2953 source/encoder/search.cpp X265_CHECK(log2TrSize > depthRange[0], "residualTransformQuantInter recursion check failure\n"); X265_CHECK 3085 source/encoder/search.cpp X265_CHECK(bCheckFull || bCheckSplit, "check-full or check-split must be set\n"); X265_CHECK 3092 source/encoder/search.cpp X265_CHECK(log2TrSize == 2 && m_csp != X265_CSP_I444 && tuDepth, "invalid tuDepth\n"); X265_CHECK 3151 source/encoder/search.cpp X265_CHECK(log2TrSize <= 5, "log2TrSize is too large\n"); X265_CHECK 3676 source/encoder/search.cpp X265_CHECK(bCheckFull, "check-full must be set\n"); X265_CHECK 3711 source/encoder/search.cpp X265_CHECK(cu.isInter(absPartIdx), "codeInterSubdivCbfQT() with intra block\n"); X265_CHECK 3758 source/encoder/search.cpp X265_CHECK(log2TrSize == 2 && m_csp != X265_CSP_I444 && tuDepth, "invalid tuDepth\n"); X265_CHECK 61 source/encoder/sei.cpp X265_CHECK(0 == (count.getNumberOfWrittenBits() & 7), "payload unaligned\n"); X265_CHECK 891 source/encoder/slicetype.cpp X265_CHECK(curFrame->m_lowres.costEst[b - p0][p1 - b] > 0, "Slice cost not estimated\n") X265_CHECK 1604 source/encoder/slicetype.cpp X265_CHECK(frames[cp1]->costEst[cp1 - p0][0]!= -1, "costEst is not done \n"); X265_CHECK 2163 source/encoder/slicetype.cpp X265_CHECK(m_batchMode || !m_jobTotal, "single CostEstimateGroup instance cannot mix batch modes\n"); X265_CHECK 2211 source/encoder/slicetype.cpp X265_CHECK(i < MAX_COOP_SLICES, "impossible number of coop slices\n"); X265_CHECK 2243 source/encoder/slicetype.cpp X265_CHECK(p0 != b, "I frame estimates should always be pre-calculated\n"); X265_CHECK 2250 source/encoder/slicetype.cpp X265_CHECK(!(p0 < b && fenc->lowresMvs[0][b - p0 - 1][0].x == 0x7FFE), "motion search batch duplication L0\n"); X265_CHECK 2251 source/encoder/slicetype.cpp X265_CHECK(!(p1 > b && fenc->lowresMvs[1][p1 - b - 1][0].x == 0x7FFE), "motion search batch duplication L1\n"); X265_CHECK 2271 source/encoder/slicetype.cpp X265_CHECK(!m_batchMode, "single CostEstimateGroup instance cannot mix batch modes\n"); X265_CHECK 126 source/output/reconplay.cpp X265_CHECK(pic.colorSpace == colorSpace, "invalid color space\n"); X265_CHECK 127 source/output/reconplay.cpp X265_CHECK(pic.bitDepth == X265_DEPTH, "invalid bit depth\n"); X265_CHECK 73 source/output/y4m.cpp X265_CHECK(pic.colorSpace == colorSpace, "invalid chroma subsampling\n"); X265_CHECK 78 source/output/y4m.cpp X265_CHECK(pic.bitDepth > 8, "invalid bit depth\n"); X265_CHECK 95 source/output/y4m.cpp X265_CHECK(pic.bitDepth == 8, "invalid bit depth\n"); X265_CHECK 56 source/output/yuv.cpp X265_CHECK(pic.colorSpace == colorSpace, "invalid chroma subsampling\n"); X265_CHECK 57 source/output/yuv.cpp X265_CHECK(pic.bitDepth == (int)depth, "invalid bit depth\n");