/third_party/ffmpeg/libavcodec/ |
H A D | amrnbdata.h | 62 uint16_t pulses[10]; ///< pulses: 10 for MODE_12k2, 7 for MODE_10k2, and index and sign for others member 91 7, AMR_OF(0,pulses[0]), 92, 68, 67, 84, 66, 65, 80, 92 2, AMR_OF(0,pulses[1]), 53, 52, 94 7, AMR_OF(1,pulses[0]), 91, 64, 79, 83, 78, 77, 95, 95 2, AMR_OF(1,pulses[1]), 62, 61, 98 7, AMR_OF(2,pulses[0]), 90, 76, 75, 82, 74, 73, 94, 99 2, AMR_OF(2,pulses[1]), 58, 57, 101 7, AMR_OF(3,pulses[0]), 89, 72, 87, 81, 86, 85, 93, 102 2, AMR_OF(3,pulses[ [all...] |
H A D | sipr.c | 260 static void convolute_with_sparse(float *out, const AMRFixed *pulses, in convolute_with_sparse() argument 266 for (i = 0; i < pulses->n; i++) in convolute_with_sparse() 267 for (j = pulses->x[i]; j < length; j++) in convolute_with_sparse() 268 out[j] += pulses->y[i] * shape[j - pulses->x[i]]; in convolute_with_sparse() 309 static void decode_fixed_sparse(AMRFixed *fixed_sparse, const int16_t *pulses, in decode_fixed_sparse() argument 317 fixed_sparse->x[i] = 3 * (pulses[i] & 0xf) + i; in decode_fixed_sparse() 318 fixed_sparse->y[i] = pulses[i] & 0x10 ? -1 : 1; in decode_fixed_sparse() 324 fixed_sparse->x[2*i ] = 3 * ((pulses[i] >> 4) & 0xf) + i; in decode_fixed_sparse() 325 fixed_sparse->x[2*i + 1] = 3 * ( pulses[ in decode_fixed_sparse() [all...] |
H A D | opus.c | 500 b = av_clip_uintp2(FFMIN(f->remaining2 + 1, f->pulses[i] + curr_balance), 14); in ff_celt_quant_bands() 569 f->remaining += f->pulses[i] + consumed; in ff_celt_quant_bands() 774 f->pulses[i] = bandbits; in ff_celt_bitalloc() 793 allocation = f->pulses[j] + bandbits * ff_celt_freq_range[j]; in ff_celt_bitalloc() 815 total -= f->pulses[j]; in ff_celt_bitalloc() 822 total += f->pulses[j] = (allocation >= f->channels << 3) ? f->channels << 3 : 0; in ff_celt_bitalloc() 852 f->pulses[i] += bits + bandbits * ff_celt_freq_range[i]; in ff_celt_bitalloc() 860 f->pulses[i] += extrabits; in ff_celt_bitalloc() 871 extrabits = FFMAX(f->pulses[i] - f->caps[i], 0); in ff_celt_bitalloc() 872 f->pulses[ in ff_celt_bitalloc() [all...] |
H A D | amrnbdec.c | 449 // the 3 pulses and the upper 7 bits being coded in base 5 in decode_10bit_pulse() 460 * @param fixed_index positions of the eight pulses 473 // the 2 pulses and the upper 5 bits being coded in base 5 in decode_8_pulses_31bits() 498 * nb of pulses | bits encoding pulses 505 * @param pulses algebraic codebook indexes 509 static void decode_fixed_sparse(AMRFixed *fixed_sparse, const uint16_t *pulses, in decode_fixed_sparse() argument 515 ff_decode_10_pulses_35bits(pulses, fixed_sparse, gray_decode, 5, 3); in decode_fixed_sparse() 517 decode_8_pulses_31bits(pulses, fixed_sparse); in decode_fixed_sparse() 521 const int fixed_index = pulses[ in decode_fixed_sparse() [all...] |
H A D | g723_1.h | 252 * Used for the coding/decoding of the pulses positions 258 * Number of non-zero pulses in the MP-MLQ excitation 260 static const int8_t pulses[4] = {6, 5, 6, 5}; variable
|
H A D | opus_celt.h | 139 int pulses [CELT_MAX_BANDS]; member
|
H A D | wmavoice.c | 93 ///< combinations of either single pulses or 237 int aw_n_pulses[2]; ///< number of AW-pulses in each block; note 241 ///< apply AW-pulses, or -0xff if unset 243 ///< second block) at which pulses should 245 ///< cache for pitch-adaptive window pulses 805 * @param fcb_type Frame type (silence, hardcoded, AW-pulses or FCB-pulses) 1032 * Parse the offset of the first pitch-adaptive window pulses, and 1033 * the distribution of pulses between the two blocks in this frame. 1061 * the distribution of the pulses i in aw_parse_coords() 1317 float pulses[MAX_FRAMESIZE / 2], pred_err, acb_gain, fcb_gain; synth_block_fcb_acb() local [all...] |
H A D | opus_pvq.c | 72 static inline int celt_pulses2bits(const uint8_t *cache, int pulses) in celt_pulses2bits() argument 75 return (pulses == 0) ? 0 : cache[pulses] + 1; in celt_pulses2bits() 278 /*Lots of pulses case:*/ in celt_cwrsi() 282 /* Are the pulses in this dimension negative? */ in celt_cwrsi() 287 /*Count how many pulses were placed in this dimension.*/ in celt_cwrsi() 304 /*Are there any pulses in this dimension at all?*/ in celt_cwrsi() 312 /*Are the pulses in this dimension negative?*/ in celt_cwrsi() 316 /*Count how many pulses were placed in this dimension.*/ in celt_cwrsi() 392 /* If the sum has been overshot and the best place has 0 pulses allocate in ppp_pvq_search_c() [all...] |
H A D | g723_1dec.c | 294 j = PULSE_MAX - pulses[index]; in gen_fcb_excitation() 837 for (j = 0; j < pulses[i]; j++, idx++) { in generate_noise()
|
H A D | opusenc_psy.c | 49 b = av_clip_uintp2(FFMIN(f->remaining2 + 1, f->pulses[band] + curr_balance), 14); in pvq_band_cost()
|
H A D | opus_celt.c | 281 depth = (1 + f->pulses[i]) / (ff_celt_freq_range[i] << f->size); in process_anticollapse()
|
H A D | g723_1enc.c | 1015 int pulse_cnt = pulses[index]; in fcb_search()
|
/third_party/ffmpeg/libavcodec/x86/ |
H A D | celt_pvq_search.asm | 108 andps m5, m0 ; if(X[i] == 0) Sxy_new = 0; Prevent aproximation error from setting pulses in array padding. 211 ; uint32 K - Number of pulses to have after quantizations. 289 HADDD m5, m4 ; pulses 293 sub Kd, r4d ; K -= pulses , also 32 bit operation zeroes high 32 bit in 64 bit mode. 294 jz %%finish ; K - pulses == 0 306 jc %%remove_pulses_loop ; K - pulses < 0 308 align 16 ; K - pulses > 0
|