Home
last modified time | relevance | path

Searched refs:decoded_samples (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dopusdec.c422 int decoded_samples = INT_MAX; in opus_decode_packet() local
522 s->decoded_samples = ret; in opus_decode_packet()
523 decoded_samples = FFMIN(decoded_samples, ret); in opus_decode_packet()
532 int buffer_samples = s->decoded_samples - decoded_samples; in opus_decode_packet()
536 buf[0] += decoded_samples; in opus_decode_packet()
537 buf[1] += decoded_samples; in opus_decode_packet()
556 if (c->gain_i && decoded_samples > 0) { in opus_decode_packet()
559 c->gain, FFALIGN(decoded_samples, 8)); in opus_decode_packet()
563 frame->nb_samples = decoded_samples; in opus_decode_packet()
564 *got_frame_ptr = !!decoded_samples; in opus_decode_packet()
Dwmalosslessdec.c63 uint16_t decoded_samples; ///< number of already processed samples member
849 if (offset > s->channel[i].decoded_samples) { in decode_subframe()
850 offset = s->channel[i].decoded_samples; in decode_subframe()
861 total_samples -= s->channel[i].decoded_samples; in decode_subframe()
864 if (offset == s->channel[i].decoded_samples && in decode_subframe()
867 s->channel[i].decoded_samples += in decode_subframe()
1079 s->channel[i].decoded_samples = 0; in decode_frame()
1085 int decoded_samples = s->channel[0].decoded_samples; in decode_frame() local
1089 s->frame->nb_samples = decoded_samples; in decode_frame()
Dopus.h106 int decoded_samples; member
Dwmaprodec.c148 uint16_t decoded_samples; ///< number of already processed samples member
1203 if (offset > s->channel[i].decoded_samples) { in decode_subframe()
1204 offset = s->channel[i].decoded_samples; in decode_subframe()
1218 total_samples -= s->channel[i].decoded_samples; in decode_subframe()
1221 if (offset == s->channel[i].decoded_samples && in decode_subframe()
1224 s->channel[i].decoded_samples += in decode_subframe()
1484 s->channel[i].decoded_samples = 0; in decode_frame()