xavs2_opt_set2 80 libavcodec/libxavs2.c xavs2_opt_set2("Width", "%d", avctx->width); xavs2_opt_set2 81 libavcodec/libxavs2.c xavs2_opt_set2("Height", "%d", avctx->height); xavs2_opt_set2 82 libavcodec/libxavs2.c xavs2_opt_set2("BFrames", "%d", avctx->max_b_frames); xavs2_opt_set2 83 libavcodec/libxavs2.c xavs2_opt_set2("BitDepth", "%d", bit_depth); xavs2_opt_set2 84 libavcodec/libxavs2.c xavs2_opt_set2("Log", "%d", cae->log_level); xavs2_opt_set2 85 libavcodec/libxavs2.c xavs2_opt_set2("Preset", "%d", cae->preset_level); xavs2_opt_set2 87 libavcodec/libxavs2.c xavs2_opt_set2("IntraPeriodMax", "%d", avctx->gop_size); xavs2_opt_set2 88 libavcodec/libxavs2.c xavs2_opt_set2("IntraPeriodMin", "%d", avctx->gop_size); xavs2_opt_set2 90 libavcodec/libxavs2.c xavs2_opt_set2("ThreadFrames", "%d", avctx->thread_count); xavs2_opt_set2 91 libavcodec/libxavs2.c xavs2_opt_set2("ThreadRows", "%d", cae->lcu_row_threads); xavs2_opt_set2 93 libavcodec/libxavs2.c xavs2_opt_set2("OpenGOP", "%d", !(avctx->flags & AV_CODEC_FLAG_CLOSED_GOP)); xavs2_opt_set2 98 libavcodec/libxavs2.c xavs2_opt_set2(en->key, "%s", en->value); xavs2_opt_set2 103 libavcodec/libxavs2.c xavs2_opt_set2("RateControl", "%d", 1); xavs2_opt_set2 104 libavcodec/libxavs2.c xavs2_opt_set2("TargetBitRate", "%"PRId64"", avctx->bit_rate); xavs2_opt_set2 105 libavcodec/libxavs2.c xavs2_opt_set2("InitialQP", "%d", cae->initial_qp); xavs2_opt_set2 106 libavcodec/libxavs2.c xavs2_opt_set2("MaxQP", "%d", avctx->qmax >= 0 ? avctx->qmax : cae->max_qp); xavs2_opt_set2 107 libavcodec/libxavs2.c xavs2_opt_set2("MinQP", "%d", avctx->qmin >= 0 ? avctx->qmin : cae->min_qp); xavs2_opt_set2 109 libavcodec/libxavs2.c xavs2_opt_set2("InitialQP", "%d", cae->qp); xavs2_opt_set2 113 libavcodec/libxavs2.c xavs2_opt_set2("FrameRate", "%d", code);