Searched refs:compensation_distance (Results 1 – 11 of 11) sorted by relevance
/third_party/pulseaudio/src/pulsecore/ffmpeg/ |
D | resample2.c | 66 int compensation_distance; member 204 void av_resample_compensate(AVResampleContext *c, int sample_delta, int compensation_distance){ in av_resample_compensate() argument 206 c->compensation_distance= compensation_distance; in av_resample_compensate() 207 …->dst_incr = c->ideal_dst_incr - c->ideal_dst_incr * (int64_t)sample_delta / compensation_distance; in av_resample_compensate() 216 int compensation_distance= c->compensation_distance; in av_resample() local 218 if(compensation_distance == 0 && c->filter_length == 1 && c->phase_shift==0){ in av_resample() 269 if(dst_index + 1 == compensation_distance){ in av_resample() 270 compensation_distance= 0; in av_resample() 279 if(compensation_distance){ in av_resample() 280 compensation_distance -= dst_index; in av_resample() [all …]
|
D | avcodec.h | 70 …d av_resample_compensate(struct AVResampleContext *c, int sample_delta, int compensation_distance);
|
/third_party/ffmpeg/libavresample/ |
D | resample.c | 191 c->compensation_distance = 0; in ff_audio_resample_init() 234 int compensation_distance) in avresample_set_compensation() argument 238 if (compensation_distance < 0) in avresample_set_compensation() 240 if (!compensation_distance && sample_delta) in avresample_set_compensation() 248 c->compensation_distance = compensation_distance; in avresample_set_compensation() 249 if (compensation_distance) { in avresample_set_compensation() 251 (int64_t)sample_delta / compensation_distance; in avresample_set_compensation() 268 int compensation_distance = c->compensation_distance; in resample() local 307 if (dst_index + 1 == compensation_distance) { in resample() 308 compensation_distance = 0; in resample() [all …]
|
D | resample.h | 38 int compensation_distance; member
|
D | avresample.h | 387 int compensation_distance);
|
/third_party/ffmpeg/libswresample/ |
D | resample.c | 360 c->compensation_distance= 0; in resample_init() 431 static int set_compensation(ResampleContext *c, int sample_delta, int compensation_distance){ in set_compensation() argument 434 if (compensation_distance && sample_delta) { in set_compensation() 440 c->compensation_distance= compensation_distance; in set_compensation() 441 if (compensation_distance) in set_compensation() 442 …->dst_incr = c->ideal_dst_incr - c->ideal_dst_incr * (int64_t)sample_delta / compensation_distance; in set_compensation() 459 if (c->compensation_distance) in multiple_resample() 460 dst_size = FFMIN(dst_size, c->compensation_distance); in multiple_resample() 505 if (c->compensation_distance) { in multiple_resample() 506 c->compensation_distance -= dst_size; in multiple_resample() [all …]
|
D | resample.h | 42 int compensation_distance; member
|
D | swresample.h | 353 int swr_set_compensation(struct SwrContext *s, int sample_delta, int compensation_distance);
|
D | swresample_internal.h | 76 … (* set_compensation_func)(struct ResampleContext *c, int sample_delta, int compensation_distance);
|
D | swresample.c | 897 int swr_set_compensation(struct SwrContext *s, int sample_delta, int compensation_distance){ in swr_set_compensation() argument 900 if (!s || compensation_distance < 0) in swr_set_compensation() 902 if (!compensation_distance && sample_delta) in swr_set_compensation() 913 return s->resampler->set_compensation(s->resample, sample_delta, compensation_distance); in swr_set_compensation()
|
/third_party/ffmpeg/libswresample/x86/ |
D | resample.asm | 43 .compensation_distance: resd 1 label
|