Searched refs:planar_samples (Results 1 – 6 of 6) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | ac3enc_template.c | 46 !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()
|
D | aacenc.c | 541 …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()
|
D | aacenc_ltp.c | 67 …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()
|
D | ac3enc.h | 233 SampleType **planar_samples; member
|
D | aacenc.h | 386 float *planar_samples[16]; ///< saved preprocessed input member
|
D | ac3enc.c | 2120 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()
|