CHECK 1123 source/common/param.cpp CHECK(param->uhdBluray == 1 && (X265_DEPTH != 10 || param->internalCsp != 1 || param->interlaceMode != 0), CHECK 1125 source/common/param.cpp CHECK(param->maxCUSize != 64 && param->maxCUSize != 32 && param->maxCUSize != 16, CHECK 1134 source/common/param.cpp CHECK((param->maxSlices > 1) && !param->bEnableWavefront, CHECK 1136 source/common/param.cpp CHECK(param->internalBitDepth != X265_DEPTH, CHECK 1138 source/common/param.cpp CHECK(param->minCUSize != 32 && param->minCUSize != 16 && param->minCUSize != 8, CHECK 1140 source/common/param.cpp CHECK(param->minCUSize > param->maxCUSize, CHECK 1142 source/common/param.cpp CHECK(param->rc.qp < -6 * (param->internalBitDepth - 8) || param->rc.qp > QP_MAX_SPEC, CHECK 1144 source/common/param.cpp CHECK(param->fpsNum == 0 || param->fpsDenom == 0, CHECK 1146 source/common/param.cpp CHECK(param->interlaceMode < 0 || param->interlaceMode > 2, CHECK 1148 source/common/param.cpp CHECK(param->searchMethod < 0 || param->searchMethod > X265_FULL_SEARCH, CHECK 1150 source/common/param.cpp CHECK(param->searchRange < 0, CHECK 1152 source/common/param.cpp CHECK(param->searchRange >= 32768, CHECK 1154 source/common/param.cpp CHECK(param->subpelRefine > X265_MAX_SUBPEL_LEVEL, CHECK 1156 source/common/param.cpp CHECK(param->subpelRefine < 0, CHECK 1158 source/common/param.cpp CHECK(param->limitReferences > 3, CHECK 1160 source/common/param.cpp CHECK(param->limitModes > 1, CHECK 1162 source/common/param.cpp CHECK(param->frameNumThreads < 0 || param->frameNumThreads > X265_MAX_FRAME_THREADS, CHECK 1164 source/common/param.cpp CHECK(param->cbQpOffset < -12, "Min. Chroma Cb QP Offset is -12"); CHECK 1165 source/common/param.cpp CHECK(param->cbQpOffset > 12, "Max. Chroma Cb QP Offset is 12"); CHECK 1166 source/common/param.cpp CHECK(param->crQpOffset < -12, "Min. Chroma Cr QP Offset is -12"); CHECK 1167 source/common/param.cpp CHECK(param->crQpOffset > 12, "Max. Chroma Cr QP Offset is 12"); CHECK 1169 source/common/param.cpp CHECK(tuQTMaxLog2Size > maxLog2CUSize, CHECK 1172 source/common/param.cpp CHECK(param->tuQTMaxInterDepth < 1 || param->tuQTMaxInterDepth > 4, CHECK 1174 source/common/param.cpp CHECK(maxLog2CUSize < tuQTMinLog2Size + param->tuQTMaxInterDepth - 1, CHECK 1176 source/common/param.cpp CHECK(param->tuQTMaxIntraDepth < 1 || param->tuQTMaxIntraDepth > 4, CHECK 1178 source/common/param.cpp CHECK(maxLog2CUSize < tuQTMinLog2Size + param->tuQTMaxIntraDepth - 1, CHECK 1180 source/common/param.cpp CHECK((param->maxTUSize != 32 && param->maxTUSize != 16 && param->maxTUSize != 8 && param->maxTUSize != 4), CHECK 1182 source/common/param.cpp CHECK(param->limitTU > 4, "Invalid limit-tu option, limit-TU must be between 0 and 4"); CHECK 1183 source/common/param.cpp CHECK(param->maxNumMergeCand < 1, "MaxNumMergeCand must be 1 or greater."); CHECK 1184 source/common/param.cpp CHECK(param->maxNumMergeCand > 5, "MaxNumMergeCand must be 5 or smaller."); CHECK 1186 source/common/param.cpp CHECK(param->maxNumReferences < 1, "maxNumReferences must be 1 or greater."); CHECK 1187 source/common/param.cpp CHECK(param->maxNumReferences > MAX_NUM_REF, "maxNumReferences must be 16 or smaller."); CHECK 1189 source/common/param.cpp CHECK(param->sourceWidth < (int)param->maxCUSize || param->sourceHeight < (int)param->maxCUSize, CHECK 1191 source/common/param.cpp CHECK(param->internalCsp < X265_CSP_I400 || X265_CSP_I444 < param->internalCsp, CHECK 1193 source/common/param.cpp CHECK(param->sourceWidth & !!CHROMA_H_SHIFT(param->internalCsp), CHECK 1195 source/common/param.cpp CHECK(param->sourceHeight & !!CHROMA_V_SHIFT(param->internalCsp), CHECK 1198 source/common/param.cpp CHECK(param->rc.rateControlMode > X265_RC_CRF || param->rc.rateControlMode < X265_RC_ABR, CHECK 1200 source/common/param.cpp CHECK(param->rdLevel < 1 || param->rdLevel > 6, CHECK 1202 source/common/param.cpp CHECK(param->rdoqLevel < 0 || param->rdoqLevel > 2, CHECK 1204 source/common/param.cpp CHECK(param->dynamicRd < 0 || param->dynamicRd > x265_ADAPT_RD_STRENGTH, CHECK 1206 source/common/param.cpp CHECK(param->bframes && param->bframes >= param->lookaheadDepth && !param->rc.bStatRead, CHECK 1208 source/common/param.cpp CHECK(param->bframes < 0, CHECK 1210 source/common/param.cpp CHECK(param->bframes > X265_BFRAME_MAX, CHECK 1212 source/common/param.cpp CHECK(param->lookaheadDepth > X265_LOOKAHEAD_MAX, CHECK 1214 source/common/param.cpp CHECK(param->lookaheadSlices > 16 || param->lookaheadSlices < 0, CHECK 1216 source/common/param.cpp CHECK(param->rc.aqMode < X265_AQ_NONE || X265_AQ_AUTO_VARIANCE_BIASED < param->rc.aqMode, CHECK 1218 source/common/param.cpp CHECK(param->rc.aqStrength < 0 || param->rc.aqStrength > 3, CHECK 1220 source/common/param.cpp CHECK(param->deblockingFilterTCOffset < -6 || param->deblockingFilterTCOffset > 6, CHECK 1222 source/common/param.cpp CHECK(param->deblockingFilterBetaOffset < -6 || param->deblockingFilterBetaOffset > 6, CHECK 1224 source/common/param.cpp CHECK(param->psyRd < 0 || 5.0 < param->psyRd, "Psy-rd strength must be between 0 and 5.0"); CHECK 1225 source/common/param.cpp CHECK(param->psyRdoq < 0 || 50.0 < param->psyRdoq, "Psy-rdoq strength must be between 0 and 50.0"); CHECK 1226 source/common/param.cpp CHECK(param->bEnableWavefront < 0, "WaveFrontSynchro cannot be negative"); CHECK 1227 source/common/param.cpp CHECK((param->vui.aspectRatioIdc < 0 CHECK 1231 source/common/param.cpp CHECK(param->vui.aspectRatioIdc == X265_EXTENDED_SAR && param->vui.sarWidth <= 0, CHECK 1233 source/common/param.cpp CHECK(param->vui.aspectRatioIdc == X265_EXTENDED_SAR && param->vui.sarHeight <= 0, CHECK 1235 source/common/param.cpp CHECK(param->vui.videoFormat < 0 || param->vui.videoFormat > 5, CHECK 1238 source/common/param.cpp CHECK(param->vui.colorPrimaries < 0 CHECK 1243 source/common/param.cpp CHECK(param->vui.transferCharacteristics < 0 CHECK 1249 source/common/param.cpp CHECK(param->vui.matrixCoeffs < 0 CHECK 1254 source/common/param.cpp CHECK(param->vui.chromaSampleLocTypeTopField < 0 CHECK 1257 source/common/param.cpp CHECK(param->vui.chromaSampleLocTypeBottomField < 0 CHECK 1260 source/common/param.cpp CHECK(param->vui.defDispWinLeftOffset < 0, CHECK 1262 source/common/param.cpp CHECK(param->vui.defDispWinRightOffset < 0, CHECK 1264 source/common/param.cpp CHECK(param->vui.defDispWinTopOffset < 0, CHECK 1266 source/common/param.cpp CHECK(param->vui.defDispWinBottomOffset < 0, CHECK 1268 source/common/param.cpp CHECK(param->rc.rfConstant < -6 * (param->internalBitDepth - 8) || param->rc.rfConstant > 51, CHECK 1270 source/common/param.cpp CHECK(param->rc.rfConstantMax < -6 * (param->internalBitDepth - 8) || param->rc.rfConstantMax > 51, CHECK 1272 source/common/param.cpp CHECK(param->rc.rfConstantMin < -6 * (param->internalBitDepth - 8) || param->rc.rfConstantMin > 51, CHECK 1274 source/common/param.cpp CHECK(param->bFrameAdaptive < 0 || param->bFrameAdaptive > 2, CHECK 1276 source/common/param.cpp CHECK(param->logLevel<-1 || param->logLevel> X265_LOG_FULL, CHECK 1278 source/common/param.cpp CHECK(param->scenecutThreshold < 0, CHECK 1280 source/common/param.cpp CHECK(param->scenecutBias < 0 || 100 < param->scenecutBias, CHECK 1282 source/common/param.cpp CHECK(param->rdPenalty < 0 || param->rdPenalty > 2, CHECK 1284 source/common/param.cpp CHECK(param->keyframeMax < -1, CHECK 1286 source/common/param.cpp CHECK(param->decodedPictureHashSEI < 0 || param->decodedPictureHashSEI > 3, CHECK 1288 source/common/param.cpp CHECK(param->rc.vbvBufferSize < 0, CHECK 1290 source/common/param.cpp CHECK(param->rc.vbvMaxBitrate < 0, CHECK 1292 source/common/param.cpp CHECK(param->rc.vbvBufferInit < 0, CHECK 1294 source/common/param.cpp CHECK(param->rc.bitrate < 0, CHECK 1296 source/common/param.cpp CHECK(param->rc.qCompress < 0.5 || param->rc.qCompress > 1.0, CHECK 1299 source/common/param.cpp CHECK(0 > param->noiseReductionIntra || param->noiseReductionIntra > 2000, "Valid noise reduction range 0 - 2000"); CHECK 1301 source/common/param.cpp CHECK(0 > param->noiseReductionInter || param->noiseReductionInter > 2000, "Valid noise reduction range 0 - 2000"); CHECK 1302 source/common/param.cpp CHECK(param->rc.rateControlMode == X265_RC_CQP && param->rc.bStatRead, CHECK 1304 source/common/param.cpp CHECK(param->rc.bStrictCbr && (param->rc.bitrate <= 0 || param->rc.vbvBufferSize <=0), CHECK 1306 source/common/param.cpp CHECK(param->analysisReuseMode && (param->analysisReuseMode < X265_ANALYSIS_OFF || param->analysisReuseMode > X265_ANALYSIS_LOAD), CHECK 1308 source/common/param.cpp CHECK(param->analysisReuseMode && (param->analysisReuseLevel < 1 || param->analysisReuseLevel > 10), CHECK 1310 source/common/param.cpp CHECK(param->scaleFactor > 2, "Invalid scale-factor. Supports factor <= 2"); CHECK 1311 source/common/param.cpp CHECK(param->rc.qpMax < QP_MIN || param->rc.qpMax > QP_MAX_MAX, CHECK 1313 source/common/param.cpp CHECK(param->rc.qpMin < QP_MIN || param->rc.qpMin > QP_MAX_MAX, CHECK 1315 source/common/param.cpp CHECK(param->log2MaxPocLsb < 4 || param->log2MaxPocLsb > 16, CHECK 1317 source/common/param.cpp CHECK(param->bCTUInfo < 0 || (param->bCTUInfo != 0 && param->bCTUInfo != 1 && param->bCTUInfo != 2 && param->bCTUInfo != 4 && param->bCTUInfo != 6) || param->bCTUInfo > 6, CHECK 1320 source/common/param.cpp CHECK(param->searchMethod == X265_SEA && (param->sourceWidth > 840 || param->sourceHeight > 480),