Home
last modified time | relevance | path

Searched refs:planar_samples (Results 1 – 6 of 6) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dac3enc_template.c46 !FF_ALLOCZ_TYPED_ARRAY(s->planar_samples, s->channels)) in allocate_sample_buffers()
50 if (!(s->planar_samples[ch] = av_mallocz((AC3_FRAME_SIZE + AC3_BLOCK_SIZE) * in allocate_sample_buffers()
51 sizeof(**s->planar_samples)))) in allocate_sample_buffers()
69 memcpy(&s->planar_samples[ch][0], &s->planar_samples[ch][AC3_BLOCK_SIZE * s->num_blocks], in copy_input_samples()
70 AC3_BLOCK_SIZE * sizeof(s->planar_samples[0][0])); in copy_input_samples()
73 memcpy(&s->planar_samples[ch][AC3_BLOCK_SIZE], in copy_input_samples()
75 AC3_BLOCK_SIZE * s->num_blocks * sizeof(s->planar_samples[0][0])); in copy_input_samples()
92 const SampleType *input_samples = &s->planar_samples[ch][blk * AC3_BLOCK_SIZE]; in apply_mdct()
Daacenc.c541 …memcpy(&s->planar_samples[ch][1024], &s->planar_samples[ch][2048], 1024 * sizeof(s->planar_samples in copy_input_samples()
545 memcpy(&s->planar_samples[ch][2048], in copy_input_samples()
547 frame->nb_samples * sizeof(s->planar_samples[0][0])); in copy_input_samples()
549 memset(&s->planar_samples[ch][end], 0, in copy_input_samples()
550 (3072 - end) * sizeof(s->planar_samples[0][0])); in copy_input_samples()
558 float **samples = s->planar_samples, *samples2, *la, *overlap; in aac_encode_frame()
579 ff_psy_preprocess(s->psypp, s->planar_samples, s->channels); in aac_encode_frame()
943 s->planar_samples[ch] = s->buffer.samples + 3 * 1024 * ch; in alloc_buffers()
Daacenc_ltp.c67 …memcpy(&sce->ltp_state[1024], &s->planar_samples[cur_channel][2048], 1024*sizeof(sce->ltp_state[0]… in ff_aac_ltp_insert_new_frame()
120 const float *samples = &s->planar_samples[s->cur_channel][1024]; in ff_aac_update_ltp()
Dac3enc.h233 SampleType **planar_samples; member
Daacenc.h386 float *planar_samples[16]; ///< saved preprocessed input member
Dac3enc.c2120 if (s->planar_samples) in ff_ac3_encode_close()
2122 av_freep(&s->planar_samples[ch]); in ff_ac3_encode_close()
2123 av_freep(&s->planar_samples); in ff_ac3_encode_close()