Searched refs:AC3_BLOCK_SIZE (Results 1 – 7 of 7) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | ac3enc_template.c | 50 if (!(s->planar_samples[ch] = av_mallocz((AC3_FRAME_SIZE + AC3_BLOCK_SIZE) * 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() 95 s->mdct_window, AC3_BLOCK_SIZE); in apply_mdct() 96 s->fdsp->vector_fmul_reverse(s->windowed_samples + AC3_BLOCK_SIZE, in apply_mdct() 97 &input_samples[AC3_BLOCK_SIZE], in apply_mdct() 98 s->mdct_window, AC3_BLOCK_SIZE); in apply_mdct()
|
D | ac3dec.h | 247 …DECLARE_ALIGNED(32, INTFLOAT, delay)[EAC3_MAX_CHANNELS][AC3_BLOCK_SIZE]; ///< delay - adde… 248 …DECLARE_ALIGNED(32, INTFLOAT, window)[AC3_BLOCK_SIZE]; ///< window co… 249 …DECLARE_ALIGNED(32, INTFLOAT, tmp_output)[AC3_BLOCK_SIZE]; ///< temporary… 250 …DECLARE_ALIGNED(32, SHORTFLOAT, output)[EAC3_MAX_CHANNELS][AC3_BLOCK_SIZE]; ///< output… 252 …DECLARE_ALIGNED(32, SHORTFLOAT, output_buffer)[EAC3_MAX_CHANNELS][AC3_BLOCK_SIZE * 6]; ///< final…
|
D | ac3enc_fixed.c | 99 float fwin[AC3_BLOCK_SIZE]; in ac3_fixed_mdct_init() 101 int32_t *iwin = av_malloc_array(AC3_BLOCK_SIZE, sizeof(*iwin)); in ac3_fixed_mdct_init() 105 ff_kbd_window_init(fwin, 5.0, AC3_BLOCK_SIZE); in ac3_fixed_mdct_init() 106 for (int i = 0; i < AC3_BLOCK_SIZE; i++) in ac3_fixed_mdct_init()
|
D | ac3enc_float.c | 109 float *window = av_malloc_array(AC3_BLOCK_SIZE, sizeof(*window)); in ac3_float_mdct_init() 115 ff_kbd_window_init(window, 5.0, AC3_BLOCK_SIZE); in ac3_float_mdct_init()
|
D | ac3.h | 35 #define AC3_BLOCK_SIZE 256 macro 38 #define AC3_WINDOW_SIZE (AC3_BLOCK_SIZE * 2)
|
D | ac3dec.c | 1646 …memcpy(s->output_buffer[ch + offset] + AC3_BLOCK_SIZE*blk, output[ch], AC3_BLOCK_SIZE*sizeof(SHORT… in ac3_decode_frame() 1651 s->outptr[channel_map[ch]] += AC3_BLOCK_SIZE; in ac3_decode_frame() 1657 memcpy(s->output[ch + offset], output[ch], AC3_BLOCK_SIZE*sizeof(SHORTFLOAT)); in ac3_decode_frame() 1758 frame->nb_samples = s->num_blocks * AC3_BLOCK_SIZE; in ac3_decode_frame() 1767 s->num_blocks * AC3_BLOCK_SIZE * sizeof(SHORTFLOAT)); in ac3_decode_frame()
|
D | ac3enc.c | 262 s->samples_written += AC3_BLOCK_SIZE * s->num_blocks; in ff_ac3_adjust_frame_size() 2263 frame_samples = AC3_BLOCK_SIZE * num_blocks; in validate_options() 2520 avctx->frame_size = AC3_BLOCK_SIZE * s->num_blocks; in ff_ac3_encode_init() 2521 avctx->initial_padding = AC3_BLOCK_SIZE; in ff_ac3_encode_init()
|