@ -74,10 +74,10 @@ static const AVOption options[]={
{ " rectangular " , " select rectangular dither " , 0 , AV_OPT_TYPE_CONST , { . i64 = SWR_DITHER_RECTANGULAR } , INT_MIN , INT_MAX , PARAM , " dither_method " } ,
{ " triangular " , " select triangular dither " , 0 , AV_OPT_TYPE_CONST , { . i64 = SWR_DITHER_TRIANGULAR } , INT_MIN , INT_MAX , PARAM , " dither_method " } ,
{ " triangular_hp " , " select triangular dither with high pass " , 0 , AV_OPT_TYPE_CONST , { . i64 = SWR_DITHER_TRIANGULAR_HIGHPASS } , INT_MIN , INT_MAX , PARAM , " dither_method " } ,
{ " lipshitz " , " select l ipshitz noise shaping dither " , 0 , AV_OPT_TYPE_CONST , { . i64 = SWR_DITHER_NS_LIPSHITZ } , INT_MIN , INT_MAX , PARAM , " dither_method " } ,
{ " shibata " , " select s hibata noise shaping dither " , 0 , AV_OPT_TYPE_CONST , { . i64 = SWR_DITHER_NS_SHIBATA } , INT_MIN , INT_MAX , PARAM , " dither_method " } ,
{ " low_shibata " , " select low s hibata noise shaping dither " , 0 , AV_OPT_TYPE_CONST , { . i64 = SWR_DITHER_NS_LOW_SHIBATA } , INT_MIN , INT_MAX , PARAM , " dither_method " } ,
{ " high_shibata " , " select high s hibata noise shaping dither " , 0 , AV_OPT_TYPE_CONST , { . i64 = SWR_DITHER_NS_HIGH_SHIBATA } , INT_MIN , INT_MAX , PARAM , " dither_method " } ,
{ " lipshitz " , " select L ipshitz noise shaping dither " , 0 , AV_OPT_TYPE_CONST , { . i64 = SWR_DITHER_NS_LIPSHITZ } , INT_MIN , INT_MAX , PARAM , " dither_method " } ,
{ " shibata " , " select S hibata noise shaping dither " , 0 , AV_OPT_TYPE_CONST , { . i64 = SWR_DITHER_NS_SHIBATA } , INT_MIN , INT_MAX , PARAM , " dither_method " } ,
{ " low_shibata " , " select low S hibata noise shaping dither " , 0 , AV_OPT_TYPE_CONST , { . i64 = SWR_DITHER_NS_LOW_SHIBATA } , INT_MIN , INT_MAX , PARAM , " dither_method " } ,
{ " high_shibata " , " select high S hibata noise shaping dither " , 0 , AV_OPT_TYPE_CONST , { . i64 = SWR_DITHER_NS_HIGH_SHIBATA } , INT_MIN , INT_MAX , PARAM , " dither_method " } ,
{ " f_weighted " , " select f-weighted noise shaping dither " , 0 , AV_OPT_TYPE_CONST , { . i64 = SWR_DITHER_NS_F_WEIGHTED } , INT_MIN , INT_MAX , PARAM , " dither_method " } ,
{ " modified_e_weighted " , " select modified-e-weighted noise shaping dither " , 0 , AV_OPT_TYPE_CONST , { . i64 = SWR_DITHER_NS_MODIFIED_E_WEIGHTED } , INT_MIN , INT_MAX , PARAM , " dither_method " } ,
{ " improved_e_weighted " , " select improved-e-weighted noise shaping dither " , 0 , AV_OPT_TYPE_CONST , { . i64 = SWR_DITHER_NS_IMPROVED_E_WEIGHTED } , INT_MIN , INT_MAX , PARAM , " dither_method " } ,
@ -117,10 +117,10 @@ static const AVOption options[]={
{ " filter_type " , " select swr filter type " , OFFSET ( filter_type ) , AV_OPT_TYPE_INT , { . i64 = SWR_FILTER_TYPE_KAISER } , SWR_FILTER_TYPE_CUBIC , SWR_FILTER_TYPE_KAISER , PARAM , " filter_type " } ,
{ " cubic " , " select cubic " , 0 , AV_OPT_TYPE_CONST , { . i64 = SWR_FILTER_TYPE_CUBIC } , INT_MIN , INT_MAX , PARAM , " filter_type " } ,
{ " blackman_nuttall " , " select Blackman Nuttall Windowed S inc " , 0 , AV_OPT_TYPE_CONST , { . i64 = SWR_FILTER_TYPE_BLACKMAN_NUTTALL } , INT_MIN , INT_MAX , PARAM , " filter_type " } ,
{ " kaiser " , " select Kaiser Windowed S inc " , 0 , AV_OPT_TYPE_CONST , { . i64 = SWR_FILTER_TYPE_KAISER } , INT_MIN , INT_MAX , PARAM , " filter_type " } ,
{ " blackman_nuttall " , " select Blackman Nuttall windowed s inc " , 0 , AV_OPT_TYPE_CONST , { . i64 = SWR_FILTER_TYPE_BLACKMAN_NUTTALL } , INT_MIN , INT_MAX , PARAM , " filter_type " } ,
{ " kaiser " , " select Kaiser windowed s inc " , 0 , AV_OPT_TYPE_CONST , { . i64 = SWR_FILTER_TYPE_KAISER } , INT_MIN , INT_MAX , PARAM , " filter_type " } ,
{ " kaiser_beta " , " set swr Kaiser Window B eta " , OFFSET ( kaiser_beta ) , AV_OPT_TYPE_INT , { . i64 = 9 } , 2 , 16 , PARAM } ,
{ " kaiser_beta " , " set swr Kaiser window b eta " , OFFSET ( kaiser_beta ) , AV_OPT_TYPE_INT , { . i64 = 9 } , 2 , 16 , PARAM } ,
{ " output_sample_bits " , " set swr number of output sample bits " , OFFSET ( dither . output_sample_bits ) , AV_OPT_TYPE_INT , { . i64 = 0 } , 0 , 64 , PARAM } ,
{ 0 }