Home
last modified time | relevance | path

Searched refs:subband (Results 1 - 10 of 10) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Daptx.c387 int subband; in ff_aptx_generate_dither() local
395 for (subband = 0; subband < NB_SUBBANDS; subband++) in ff_aptx_generate_dither()
396 channel->dither[subband] = (unsigned)d << (23 - 5*subband); in ff_aptx_generate_dither()
499 int subband; in ff_aptx_invert_quantize_and_prediction() local
500 for (subband = 0; subband < NB_SUBBANDS; subband in ff_aptx_invert_quantize_and_prediction()
511 int chan, subband; ff_aptx_init() local
[all...]
H A Dcfhd.c231 s->plane[i].subband[j] = NULL; in free_buffers()
308 s->plane[i].subband[0] = s->plane[i].idwt_buf; in alloc_buffers()
309 s->plane[i].subband[1] = s->plane[i].idwt_buf + 2 * w8 * h8; in alloc_buffers()
310 s->plane[i].subband[2] = s->plane[i].idwt_buf + 1 * w8 * h8; in alloc_buffers()
311 s->plane[i].subband[3] = s->plane[i].idwt_buf + 3 * w8 * h8; in alloc_buffers()
312 s->plane[i].subband[4] = s->plane[i].idwt_buf + 2 * w4 * h4; in alloc_buffers()
313 s->plane[i].subband[5] = s->plane[i].idwt_buf + 1 * w4 * h4; in alloc_buffers()
314 s->plane[i].subband[6] = s->plane[i].idwt_buf + 3 * w4 * h4; in alloc_buffers()
316 s->plane[i].subband[7] = s->plane[i].idwt_buf + 2 * w2 * h2; in alloc_buffers()
317 s->plane[i].subband[ in alloc_buffers()
[all...]
H A Daptxenc.c77 /* Split 2 intermediate subband samples into 4 final subbands downsampled to 1 sample */ in aptx_qmf_tree_analysis()
143 int subband; in aptx_encode_channel() local
146 for (subband = 0; subband < NB_SUBBANDS; subband++) { in aptx_encode_channel()
147 int32_t diff = av_clip_intp2(subband_samples[subband] - channel->prediction[subband].predicted_sample, 23); in aptx_encode_channel()
148 aptx_quantize_difference(&channel->quantize[subband], diff, in aptx_encode_channel()
149 channel->dither[subband], in aptx_encode_channel()
150 channel->invert_quantize[subband] in aptx_encode_channel()
[all...]
H A Dcfhdenc.c221 int16_t *subband[SUBBAND_COUNT]; member
289 s->plane[i].subband[0] = s->plane[i].dwt_buf; in cfhd_encode_init()
290 s->plane[i].subband[1] = s->plane[i].dwt_buf + 2 * w8 * h8; in cfhd_encode_init()
291 s->plane[i].subband[2] = s->plane[i].dwt_buf + 1 * w8 * h8; in cfhd_encode_init()
292 s->plane[i].subband[3] = s->plane[i].dwt_buf + 3 * w8 * h8; in cfhd_encode_init()
293 s->plane[i].subband[4] = s->plane[i].dwt_buf + 2 * w4 * h4; in cfhd_encode_init()
294 s->plane[i].subband[5] = s->plane[i].dwt_buf + 1 * w4 * h4; in cfhd_encode_init()
295 s->plane[i].subband[6] = s->plane[i].dwt_buf + 3 * w4 * h4; in cfhd_encode_init()
296 s->plane[i].subband[7] = s->plane[i].dwt_buf + 2 * w2 * h2; in cfhd_encode_init()
297 s->plane[i].subband[ in cfhd_encode_init()
[all...]
H A Daptxdec.c88 int subband; in aptx_decode_channel() local
89 for (subband = 0; subband < NB_SUBBANDS; subband++) in aptx_decode_channel()
90 subband_samples[subband] = channel->prediction[subband].previous_reconstructed_sample; in aptx_decode_channel()
H A Daptx.h193 int subband; in aptx_quantized_parity() local
195 for (subband = 0; subband < NB_SUBBANDS; subband++) in aptx_quantized_parity()
196 parity ^= channel->quantize[subband].quantized_sample; in aptx_quantized_parity()
H A Ddcaenc.c87 int32_t *subband[MAX_CHANNELS][DCAENC_SUBBANDS]; member
144 * to calc prediction coefficients for each subband */ in subband_bufer_alloc()
147 c->subband[ch][band] = bufer + in subband_bufer_alloc()
157 if (c->subband[0][0]) { in subband_bufer_free()
158 int32_t *bufer = c->subband[0][0] - DCA_ADPCM_COEFFS; in subband_bufer_free()
160 c->subband[0][0] = NULL; in subband_bufer_free()
363 c->subband[ch][band][subs] = ((band + 1) & 2) ? -resp : resp; in subband_transform()
570 c->peak_cb[ch][band] = find_peak(c, c->subband[ch][band], in find_peaks()
588 samples = c->subband[ch][band] - DCA_ADPCM_COEFFS; in adpcm_analysis()
663 step_size, c->adpcm_history[ch][band], c->subband[c in quantize_adpcm_subband()
[all...]
H A Dcfhd.h128 int16_t *subband[SUBBAND_COUNT_3D]; member
H A Dcook.c119 int subband,
620 /* A zero in this table means that the subband coefficient is in decode_vectors()
623 /* A zero in this table means that the subband coefficient is a in decode_vectors()
800 * @param subband index of the current subband
809 int subband, in decouple_float()
816 tmp_idx = ((p->js_subband_start + subband) * SUBBAND_SIZE) + j; in decouple_float()
817 mlt_buffer1[SUBBAND_SIZE * subband + j] = f1 * decode_buffer[tmp_idx]; in decouple_float()
818 mlt_buffer2[SUBBAND_SIZE * subband + j] = f2 * decode_buffer[tmp_idx]; in decouple_float()
807 decouple_float(COOKContext *q, COOKSubpacket *p, int subband, float f1, float f2, float *decode_buffer, float *mlt_buffer1, float *mlt_buffer2) decouple_float() argument
/third_party/ffmpeg/libavcodec/arm/
H A Dsbcdsp_neon.S2 * Bluetooth low-complexity, subband codec (SBC)
408 vmov.s32 d31[1], r10 @ last subband -> no joint
439 vmov.s32 d31[1], r10 @ last subband -> no joint

Completed in 12 milliseconds