#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM
staticconstAVOptionoptions[]={
{"max_extra_cb_iterations","Max extra codebook recalculation passes, more is better and slower",OFFSET(max_extra_cb_iterations),AV_OPT_TYPE_INT,{.i64=2},0,INT_MAX,VE},
{"max_strips","Limit strips/frame, vintage compatible is 1..3, otherwise the more the better",OFFSET(max_max_strips),AV_OPT_TYPE_INT,{.i64=3},MIN_STRIPS,MAX_STRIPS,VE},
{"min_strips","Enforce min strips/frame, more is worse and faster, must be <= max_strips",OFFSET(min_min_strips),AV_OPT_TYPE_INT,{.i64=MIN_STRIPS},MIN_STRIPS,MAX_STRIPS,VE},
{"strip_number_adaptivity","How fast the strip number adapts, more is slightly better, much slower",OFFSET(strip_number_delta_range),AV_OPT_TYPE_INT,{.i64=0},0,MAX_STRIPS-MIN_STRIPS,VE},
{"disable_xch","disable decoding of the XCh extension",offsetof(DCAContext,xch_disable),AV_OPT_TYPE_INT,{.i64=0},0,1,AV_OPT_FLAG_DECODING_PARAM|AV_OPT_FLAG_AUDIO_PARAM},
{"disable_xll","disable decoding of the XLL extension",offsetof(DCAContext,xll_disable),AV_OPT_TYPE_INT,{.i64=1},0,1,AV_OPT_FLAG_DECODING_PARAM|AV_OPT_FLAG_AUDIO_PARAM},
{"disable_xch","disable decoding of the XCh extension",offsetof(DCAContext,xch_disable),AV_OPT_TYPE_BOOL,{.i64=0},0,1,AV_OPT_FLAG_DECODING_PARAM|AV_OPT_FLAG_AUDIO_PARAM},
{"disable_xll","disable decoding of the XLL extension",offsetof(DCAContext,xll_disable),AV_OPT_TYPE_BOOL,{.i64=1},0,1,AV_OPT_FLAG_DECODING_PARAM|AV_OPT_FLAG_AUDIO_PARAM},
{"compute_edt","compute end of time using pts or timeout",offsetof(DVBSubContext,compute_edt),AV_OPT_TYPE_INT,{.i64=0},0,1,DS},
{"compute_clut","compute clut when not available(-1) or always(1) or never(0)",offsetof(DVBSubContext,compute_clut),AV_OPT_TYPE_INT,{.i64=-1},-1,1,DS},
{"compute_edt","compute end of time using pts or timeout",offsetof(DVBSubContext,compute_edt),AV_OPT_TYPE_BOOL,{.i64=0},0,1,DS},
{"compute_clut","compute clut when not available(-1) or always(1) or never(0)",offsetof(DVBSubContext,compute_clut),AV_OPT_TYPE_BOOL,{.i64=-1},-1,1,DS},
@ -646,7 +646,7 @@ static av_cold int flac_decode_close(AVCodecContext *avctx)
}
staticconstAVOptionoptions[]={
{"use_buggy_lpc","emulate old buggy lavc behavior",offsetof(FLACContext,buggy_lpc),AV_OPT_TYPE_INT,{.i64=0},0,1,AV_OPT_FLAG_DECODING_PARAM|AV_OPT_FLAG_AUDIO_PARAM},
{"use_buggy_lpc","emulate old buggy lavc behavior",offsetof(FLACContext,buggy_lpc),AV_OPT_TYPE_BOOL,{.i64=0},0,1,AV_OPT_FLAG_DECODING_PARAM|AV_OPT_FLAG_AUDIO_PARAM},
{"autovariance-biased","Auto-variance AQ with bias to dark scenes",0,AV_OPT_TYPE_CONST,{.i64=X264_AQ_AUTOVARIANCE_BIASED},INT_MIN,INT_MAX,VE,"aq_mode"},
#endif
{"aq-strength","AQ strength. Reduces blocking and blurring in flat and textured areas.",OFFSET(aq_strength),AV_OPT_TYPE_FLOAT,{.dbl=-1},-1,FLT_MAX,VE},
{"mb_info","emit macroblock info for RFC 2190 packetization, the parameter value is the maximum payload size",OFFSET(mb_info),AV_OPT_TYPE_INT,{.i64=0},0,INT_MAX,VE},
{"structured_slices","Write slice start position at every GOB header instead of just GOB number.",OFFSET(h263_slice_structured),AV_OPT_TYPE_INT,{.i64=0},0,1,VE},
{"structured_slices","Write slice start position at every GOB header instead of just GOB number.",OFFSET(h263_slice_structured),AV_OPT_TYPE_BOOL,{.i64=0},0,1,VE},