35 #define OFFSET(x) offsetof(DCShiftContext, x)
36 #define A AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
97 for (i = 0; i < inlink->
channels; i++) {
110 }
else if (d < -s->limiterthreshhold && dcshift < 0) {
115 d = dcshift * INT32_MAX + d;
118 dst[j] = av_clipl_int32(d);
122 for (i = 0; i < inlink->
channels; i++) {
127 double d = dcshift * (INT32_MAX + 1.) + src[j];
129 dst[j] = av_clipl_int32(d);
159 .priv_class = &dcshift_class,