Searched refs:coded_samples (Results 1 – 3 of 3) sorted by relevance
61 int *coded_samples[MAX_CHANNELS]; member593 int *coded_samples; in sonic_encode_init() local653 coded_samples = av_calloc(s->block_align, s->channels * sizeof(**s->coded_samples)); in sonic_encode_init()654 if (!coded_samples) in sonic_encode_init()656 for (i = 0; i < s->channels; i++, coded_samples += s->block_align) in sonic_encode_init()657 s->coded_samples[i] = coded_samples; in sonic_encode_init()704 av_freep(&s->coded_samples[0]); in sonic_encode_close()787 s->coded_samples[ch][i] = sum; in sonic_encode_frame()799 double sample = s->coded_samples[ch][i]; in sonic_encode_frame()829 s->coded_samples[ch][i] = ROUNDED_DIV(s->coded_samples[ch][i], quant); in sonic_encode_frame()[all …]
725 int buf_size, int *coded_samples, int *approx_nb_samples) in get_nb_samples() argument733 *coded_samples = 0; in get_nb_samples()788 *coded_samples = bytestream2_get_le32u(gb); in get_nb_samples()789 nb_samples = FFMIN((buf_size - 8) * 2, *coded_samples); in get_nb_samples()794 *coded_samples = bytestream2_get_le32(gb); in get_nb_samples()795 *coded_samples -= *coded_samples % 28; in get_nb_samples()800 *coded_samples = bytestream2_get_le32(gb); in get_nb_samples()815 *coded_samples = bytestream2_get_le32(gb); in get_nb_samples()819 *coded_samples = bytestream2_get_le32(gb); in get_nb_samples()823 *coded_samples = bytestream2_get_be32(gb); in get_nb_samples()[all …]
421 int coded_samples = 0; in opus_decode_packet() local443 coded_samples += pkt->frame_count * pkt->frame_duration; in opus_decode_packet()447 frame->nb_samples = coded_samples + delayed_samples; in opus_decode_packet()509 if (coded_samples != s->packet.frame_count * s->packet.frame_duration) { in opus_decode_packet()519 coded_samples); in opus_decode_packet()