• Home
  • Raw
  • Download

Lines Matching refs:err_string

2598     char *const err_string = ctx->ppi->error.detail;  in ctrl_set_target_seq_level_idx()  local
2599 snprintf(err_string, ARG_ERR_MSG_MAX_LEN, in ctrl_set_target_seq_level_idx()
2601 ctx->base.err_detail = err_string; in ctrl_set_target_seq_level_idx()
4035 char *const err_string = ctx->ppi->error.detail; in encoder_set_option() local
4056 argv, err_string)) { in encoder_set_option()
4058 arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4060 err_string)) { in encoder_set_option()
4061 extra_cfg.min_gf_interval = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4063 err_string)) { in encoder_set_option()
4064 extra_cfg.max_gf_interval = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4066 argv, err_string)) { in encoder_set_option()
4067 extra_cfg.gf_min_pyr_height = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4069 argv, err_string)) { in encoder_set_option()
4070 extra_cfg.gf_max_pyr_height = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4072 err_string)) { in encoder_set_option()
4073 extra_cfg.cpu_used = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4075 err_string)) { in encoder_set_option()
4076 extra_cfg.enable_auto_alt_ref = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4078 err_string)) { in encoder_set_option()
4079 extra_cfg.noise_sensitivity = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4081 err_string)) { in encoder_set_option()
4082 extra_cfg.sharpness = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4084 err_string)) { in encoder_set_option()
4085 extra_cfg.static_thresh = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4087 err_string)) { in encoder_set_option()
4088 extra_cfg.row_mt = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4090 err_string)) { in encoder_set_option()
4091 extra_cfg.fp_mt = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4093 err_string)) { in encoder_set_option()
4094 extra_cfg.tile_columns = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4096 snprintf(err_string, ARG_ERR_MSG_MAX_LEN, in encoder_set_option()
4101 err_string)) { in encoder_set_option()
4102 extra_cfg.tile_rows = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4104 snprintf(err_string, ARG_ERR_MSG_MAX_LEN, in encoder_set_option()
4109 err_string)) { in encoder_set_option()
4110 extra_cfg.auto_tiles = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4112 argv, err_string)) { in encoder_set_option()
4113 extra_cfg.enable_tpl_model = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4115 err_string)) { in encoder_set_option()
4116 extra_cfg.arnr_max_frames = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4118 err_string)) { in encoder_set_option()
4119 extra_cfg.arnr_strength = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4121 err_string)) { in encoder_set_option()
4122 extra_cfg.tuning = arg_parse_enum_helper(&arg, err_string); in encoder_set_option()
4127 err_string)) { in encoder_set_option()
4129 &extra_cfg.vmaf_model_path, err_string); in encoder_set_option()
4133 argv, err_string)) { in encoder_set_option()
4135 &extra_cfg.partition_info_path, err_string); in encoder_set_option()
4138 argv, err_string)) { in encoder_set_option()
4140 arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4143 argv, err_string)) { in encoder_set_option()
4146 &extra_cfg.rate_distribution_info, err_string); in encoder_set_option()
4148 err_string)) { in encoder_set_option()
4149 extra_cfg.dist_metric = arg_parse_enum_helper(&arg, err_string); in encoder_set_option()
4151 err_string)) { in encoder_set_option()
4152 extra_cfg.cq_level = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4154 argv, err_string)) { in encoder_set_option()
4156 arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4158 argv, err_string)) { in encoder_set_option()
4160 arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4162 argv, err_string)) { in encoder_set_option()
4163 extra_cfg.gf_cbr_boost_pct = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4165 err_string)) { in encoder_set_option()
4166 extra_cfg.lossless = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4168 err_string)) { in encoder_set_option()
4169 extra_cfg.enable_cdef = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4171 argv, err_string)) { in encoder_set_option()
4172 extra_cfg.enable_restoration = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4174 argv, err_string)) { in encoder_set_option()
4175 extra_cfg.force_video_mode = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4177 err_string)) { in encoder_set_option()
4178 extra_cfg.enable_obmc = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4180 argv, err_string)) { in encoder_set_option()
4181 extra_cfg.disable_trellis_quant = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4183 err_string)) { in encoder_set_option()
4184 extra_cfg.enable_qm = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4186 err_string)) { in encoder_set_option()
4187 extra_cfg.qm_max = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4189 err_string)) { in encoder_set_option()
4190 extra_cfg.qm_min = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4192 err_string)) { in encoder_set_option()
4193 extra_cfg.num_tg = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4195 err_string)) { in encoder_set_option()
4196 extra_cfg.mtu_size = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4198 err_string)) { in encoder_set_option()
4199 extra_cfg.timing_info_type = arg_parse_enum_helper(&arg, err_string); in encoder_set_option()
4202 argv, err_string)) { in encoder_set_option()
4204 arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4206 argv, err_string)) { in encoder_set_option()
4207 extra_cfg.enable_dual_filter = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4209 argv, err_string)) { in encoder_set_option()
4210 extra_cfg.enable_chroma_deltaq = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4212 err_string)) { in encoder_set_option()
4213 extra_cfg.aq_mode = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4215 err_string)) { in encoder_set_option()
4216 extra_cfg.deltaq_mode = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4218 err_string)) { in encoder_set_option()
4219 extra_cfg.deltaq_strength = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4221 err_string)) { in encoder_set_option()
4222 extra_cfg.deltalf_mode = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4224 argv, err_string)) { in encoder_set_option()
4225 extra_cfg.frame_periodic_boost = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4227 err_string)) { in encoder_set_option()
4228 extra_cfg.content = arg_parse_enum_helper(&arg, err_string); in encoder_set_option()
4230 argv, err_string)) { in encoder_set_option()
4231 extra_cfg.color_primaries = arg_parse_enum_helper(&arg, err_string); in encoder_set_option()
4234 argv, err_string)) { in encoder_set_option()
4236 arg_parse_enum_helper(&arg, err_string); in encoder_set_option()
4239 argv, err_string)) { in encoder_set_option()
4240 extra_cfg.matrix_coefficients = arg_parse_enum_helper(&arg, err_string); in encoder_set_option()
4243 err_string)) { in encoder_set_option()
4244 extra_cfg.chroma_sample_position = arg_parse_enum_helper(&arg, err_string); in encoder_set_option()
4246 err_string)) { in encoder_set_option()
4247 extra_cfg.superblock_size = arg_parse_enum_helper(&arg, err_string); in encoder_set_option()
4249 argv, err_string)) { in encoder_set_option()
4250 extra_cfg.error_resilient_mode = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4252 err_string)) { in encoder_set_option()
4253 extra_cfg.s_frame_mode = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4255 err_string)) { in encoder_set_option()
4256 extra_cfg.film_grain_test_vector = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4258 argv, err_string)) { in encoder_set_option()
4265 &extra_cfg.film_grain_table_filename, err_string); in encoder_set_option()
4268 err_string)) { in encoder_set_option()
4269 extra_cfg.cdf_update_mode = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4272 argv, err_string)) { in encoder_set_option()
4273 extra_cfg.enable_rect_partitions = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4275 argv, err_string)) { in encoder_set_option()
4276 extra_cfg.enable_ab_partitions = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4279 argv, err_string)) { in encoder_set_option()
4280 extra_cfg.enable_1to4_partitions = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4282 argv, err_string)) { in encoder_set_option()
4283 extra_cfg.min_partition_size = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4285 argv, err_string)) { in encoder_set_option()
4286 extra_cfg.max_partition_size = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4289 argv, err_string)) { in encoder_set_option()
4291 arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4293 argv, err_string)) { in encoder_set_option()
4294 extra_cfg.enable_order_hint = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4296 err_string)) { in encoder_set_option()
4297 extra_cfg.enable_tx64 = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4299 argv, err_string)) { in encoder_set_option()
4300 extra_cfg.enable_flip_idtx = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4302 err_string)) { in encoder_set_option()
4303 extra_cfg.enable_rect_tx = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4305 argv, err_string)) { in encoder_set_option()
4306 extra_cfg.enable_dist_wtd_comp = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4308 argv, err_string)) { in encoder_set_option()
4309 extra_cfg.max_reference_frames = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4311 argv, err_string)) { in encoder_set_option()
4313 arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4315 argv, err_string)) { in encoder_set_option()
4316 extra_cfg.enable_ref_frame_mvs = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4318 argv, err_string)) { in encoder_set_option()
4319 extra_cfg.enable_masked_comp = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4321 argv, err_string)) { in encoder_set_option()
4322 extra_cfg.enable_onesided_comp = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4325 argv, err_string)) { in encoder_set_option()
4326 extra_cfg.enable_interintra_comp = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4329 argv, err_string)) { in encoder_set_option()
4330 extra_cfg.enable_smooth_interintra = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4332 argv, err_string)) { in encoder_set_option()
4333 extra_cfg.enable_diff_wtd_comp = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4336 argv, err_string)) { in encoder_set_option()
4337 extra_cfg.enable_interinter_wedge = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4340 argv, err_string)) { in encoder_set_option()
4341 extra_cfg.enable_interintra_wedge = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4343 argv, err_string)) { in encoder_set_option()
4344 extra_cfg.enable_global_motion = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4346 argv, err_string)) { in encoder_set_option()
4347 extra_cfg.enable_warped_motion = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4349 argv, err_string)) { in encoder_set_option()
4350 extra_cfg.enable_filter_intra = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4352 argv, err_string)) { in encoder_set_option()
4353 extra_cfg.enable_smooth_intra = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4355 argv, err_string)) { in encoder_set_option()
4356 extra_cfg.enable_paeth_intra = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4358 argv, err_string)) { in encoder_set_option()
4359 extra_cfg.enable_cfl_intra = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4362 argv, err_string)) { in encoder_set_option()
4363 extra_cfg.enable_directional_intra = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4365 argv, err_string)) { in encoder_set_option()
4366 extra_cfg.enable_diagonal_intra = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4368 err_string)) { in encoder_set_option()
4369 extra_cfg.enable_overlay = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4371 err_string)) { in encoder_set_option()
4372 extra_cfg.enable_palette = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4374 err_string)) { in encoder_set_option()
4375 extra_cfg.enable_intrabc = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4377 argv, err_string)) { in encoder_set_option()
4378 extra_cfg.enable_angle_delta = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4380 argv, err_string)) { in encoder_set_option()
4381 extra_cfg.reduced_tx_type_set = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4383 argv, err_string)) { in encoder_set_option()
4384 extra_cfg.use_intra_dct_only = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4386 argv, err_string)) { in encoder_set_option()
4387 extra_cfg.use_inter_dct_only = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4390 argv, err_string)) { in encoder_set_option()
4392 arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4394 err_string)) { in encoder_set_option()
4395 extra_cfg.quant_b_adapt = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4398 argv, err_string)) { in encoder_set_option()
4400 arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4402 err_string)) { in encoder_set_option()
4403 extra_cfg.tier_mask = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4405 err_string)) { in encoder_set_option()
4406 extra_cfg.min_cr = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4408 argv, err_string)) { in encoder_set_option()
4409 extra_cfg.coeff_cost_upd_freq = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4411 argv, err_string)) { in encoder_set_option()
4412 extra_cfg.mode_cost_upd_freq = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4414 argv, err_string)) { in encoder_set_option()
4415 extra_cfg.mv_cost_upd_freq = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4417 argv, err_string)) { in encoder_set_option()
4418 extra_cfg.dv_cost_upd_freq = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4422 argv, err_string)) { in encoder_set_option()
4424 (float)arg_parse_int_helper(&arg, err_string) / 10.0f; in encoder_set_option()
4426 argv, err_string)) { in encoder_set_option()
4427 extra_cfg.noise_block_size = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4429 argv, err_string)) { in encoder_set_option()
4430 extra_cfg.enable_dnl_denoising = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4434 argv, err_string)) { in encoder_set_option()
4435 const int val = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4440 snprintf(err_string, ARG_ERR_MSG_MAX_LEN, in encoder_set_option()
4448 argv, err_string)) { in encoder_set_option()
4449 extra_cfg.chroma_subsampling_x = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4452 argv, err_string)) { in encoder_set_option()
4453 extra_cfg.chroma_subsampling_y = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4455 err_string)) { in encoder_set_option()
4456 extra_cfg.passes = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4458 err_string)) { in encoder_set_option()
4459 extra_cfg.fwd_kf_dist = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4461 err_string)) { in encoder_set_option()
4463 &extra_cfg.two_pass_output, err_string); in encoder_set_option()
4465 err_string)) { in encoder_set_option()
4467 &extra_cfg.second_pass_log, err_string); in encoder_set_option()
4469 argv, err_string)) { in encoder_set_option()
4470 extra_cfg.loopfilter_control = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4472 argv, err_string)) { in encoder_set_option()
4473 extra_cfg.auto_intra_tools_off = arg_parse_uint_helper(&arg, err_string); in encoder_set_option()
4476 argv, err_string)) { in encoder_set_option()
4477 extra_cfg.strict_level_conformance = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4479 err_string)) { in encoder_set_option()
4480 extra_cfg.sb_qp_sweep = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4482 argv, err_string)) { in encoder_set_option()
4483 extra_cfg.kf_max_pyr_height = arg_parse_int_helper(&arg, err_string); in encoder_set_option()
4485 err_string)) { in encoder_set_option()
4487 &arg, ctx->cfg.tile_widths, MAX_TILE_WIDTHS, err_string); in encoder_set_option()
4489 err_string)) { in encoder_set_option()
4491 &arg, ctx->cfg.tile_heights, MAX_TILE_HEIGHTS, err_string); in encoder_set_option()
4494 snprintf(err_string, ARG_ERR_MSG_MAX_LEN, "Cannot find aom option %s", in encoder_set_option()
4500 ctx->base.err_detail = err_string; in encoder_set_option()
4504 if (strlen(err_string) != 0) { in encoder_set_option()
4505 ctx->base.err_detail = err_string; in encoder_set_option()