Lines Matching defs:hevc
1209 NV_ENC_CONFIG_HEVC *hevc = &cc->encodeCodecConfig.hevcConfig;
1210 NV_ENC_CONFIG_HEVC_VUI_PARAMETERS *vui = &hevc->hevcVUIParameters;
1226 hevc->sliceMode = 3;
1227 hevc->sliceModeData = avctx->slices > 0 ? avctx->slices : 1;
1230 hevc->enableIntraRefresh = 1;
1231 hevc->intraRefreshPeriod = avctx->gop_size;
1232 hevc->intraRefreshCnt = avctx->gop_size - 1;
1234 hevc->singleSliceIntraRefresh = ctx->single_slice_intra_refresh;
1240 hevc->enableConstrainedEncoding = 1;
1243 hevc->disableSPSPPS = (avctx->flags & AV_CODEC_FLAG_GLOBAL_HEADER) ? 1 : 0;
1244 hevc->repeatSPSPPS = (avctx->flags & AV_CODEC_FLAG_GLOBAL_HEADER) ? 0 : 1;
1245 hevc->outputAUD = ctx->aud;
1249 hevc->maxNumRefFramesInDPB = ctx->dpb_size;
1253 hevc->idrPeriod = NVENC_INFINITE_GOPLENGTH;
1255 hevc->idrPeriod = avctx->gop_size;
1259 hevc->outputBufferingPeriodSEI = 1;
1262 hevc->outputPictureTimingSEI = 1;
1291 hevc->chromaFormatIDC = IS_YUV444(ctx->data_pix_fmt) ? 3 : 1;
1293 hevc->pixelBitDepthMinus8 = IS_10BIT(ctx->data_pix_fmt) ? 2 : 0;
1295 hevc->level = ctx->level;
1297 hevc->tier = ctx->tier;
1300 hevc->useBFramesAsRef = ctx->b_ref_mode;
1304 hevc->numRefL0 = avctx->refs;
1305 hevc->numRefL1 = avctx->refs;