Lines Matching defs:max_nal_size
50 int max_nal_size;
68 { "slice_mode", "set slice mode, use slices/max_nal_size", OFFSET(slice_mode), AV_OPT_TYPE_INT, { .i64 = SM_FIXEDSLCNUM_SLICE }, SM_SINGLE_SLICE, SM_RESERVED, VE|DEPRECATED, "slice_mode" },
70 { "slice_mode", "set slice mode, use slices/max_nal_size", OFFSET(slice_mode), AV_OPT_TYPE_INT, { .i64 = SM_AUTO_SLICE }, SM_SINGLE_SLICE, SM_RESERVED, VE|DEPRECATED, "slice_mode" },
89 { "max_nal_size", "set maximum NAL size in bytes", OFFSET(max_nal_size), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, VE },
296 if ((avctx->slices > 1) && (s->max_nal_size)) {
298 "Invalid combination -slices %d and -max_nal_size %d.\n",
299 avctx->slices, s->max_nal_size);
306 if (s->max_nal_size)
320 if (s->max_nal_size) {
321 param.uiMaxNalSize = s->max_nal_size;
323 param.sSpatialLayers[0].sSliceArgument.uiSliceSizeConstraint = s->max_nal_size;
325 param.sSpatialLayers[0].sSliceCfg.sSliceArgument.uiSliceSizeConstraint = s->max_nal_size;
328 av_log(avctx, AV_LOG_ERROR, "Invalid -max_nal_size, "
329 "specify a valid max_nal_size to use -slice_mode dyn\n");