Searched refs:phase_count (Results 1 - 4 of 4) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/ |
H A D | resample2.c | 99 static int build_filter(FELEM *filter, double factor, int tap_count, int phase_count, int scale, int type){ argument 112 for(ph=0;ph<phase_count;ph++) { 115 x = M_PI * ((double)(i - center) - (double)ph / phase_count) * factor; 121 x = fabs(((double)(i - center) - (double)ph / phase_count) * factor); 192 int phase_count= 1<<phase_shift; local 198 c->phase_mask= phase_count-1; 202 c->filter_bank= av_mallocz(c->filter_length*(phase_count+1)*sizeof(FELEM)); 205 if (build_filter(c->filter_bank, factor, c->filter_length, phase_count, 1<<FILTER_SHIFT, WINDOW_TYPE)) 207 memcpy(&c->filter_bank[c->filter_length*phase_count+1], c->filter_bank, (c->filter_length-1)*sizeof(FELEM)); 208 c->filter_bank[c->filter_length*phase_count] [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/ |
H A D | resample2.c | 102 static int build_filter(FELEM *filter, double factor, int tap_count, int phase_count, int scale, int type){ argument 115 for(ph=0;ph<phase_count;ph++) { 118 x = M_PI * ((double)(i - center) - (double)ph / phase_count) * factor; 124 x = fabs(((double)(i - center) - (double)ph / phase_count) * factor); 195 int phase_count= 1<<phase_shift; local 201 c->phase_mask= phase_count-1; 205 c->filter_bank= av_mallocz(c->filter_length*(phase_count+1)*sizeof(FELEM)); 208 if (build_filter(c->filter_bank, factor, c->filter_length, phase_count, 1<<FILTER_SHIFT, WINDOW_TYPE)) 210 memcpy(&c->filter_bank[c->filter_length*phase_count+1], c->filter_bank, (c->filter_length-1)*sizeof(FELEM)); 211 c->filter_bank[c->filter_length*phase_count] [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libswresample/ |
H A D | resample.c | 70 static int build_filter(ResampleContext *c, void *filter, double factor, int tap_count, int alloc, int phase_count, int scale, argument 84 for(ph=0;ph<phase_count;ph++) { 87 x = M_PI * ((double)(i - center) - (double)ph / phase_count) * factor; 93 x = fabs(((double)(i - center) - (double)ph / phase_count) * factor); 180 int phase_count= 1<<phase_shift; local 215 c->phase_mask = phase_count - 1; 220 c->filter_bank = av_calloc(c->filter_alloc, (phase_count+1)*c->felem_size); 225 if (build_filter(c, (void*)c->filter_bank, factor, c->filter_length, c->filter_alloc, phase_count, 1<<c->filter_shift, filter_type, kaiser_beta)) 227 memcpy(c->filter_bank + (c->filter_alloc*phase_count+1)*c->felem_size, c->filter_bank, (c->filter_alloc-1)*c->felem_size); 228 memcpy(c->filter_bank + (c->filter_alloc*phase_count )* [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavresample/ |
H A D | resample.c | 73 int phase_count = 1 << c->phase_shift; local 80 for (ph = 0; ph < phase_count; ph++) { 83 x = M_PI * ((double)(i - center) - (double)ph / phase_count) * factor; 89 x = fabs(((double)(i - center) - (double)ph / phase_count) * factor); 126 int phase_count = 1 << avr->phase_shift; local 144 c->phase_mask = phase_count - 1; 177 c->filter_bank = av_mallocz(c->filter_length * (phase_count + 1) * felem_size); 184 memcpy(&c->filter_bank[(c->filter_length * phase_count + 1) * felem_size], 186 memcpy(&c->filter_bank[c->filter_length * phase_count * felem_size], 191 in_rate * (int64_t)phase_count, INT32_MA [all...] |
Completed in 75 milliseconds