Lines Matching refs:frames

35  * Every such packet contains one or more wma frames.
36 * The compressed frames may have a variable length and frames may
38 * Common to all wmapro frames is the number of samples that are stored in
43 * The wmapro frames themselves are again split into a variable number of
51 * || frame 0 || frame 1 || frame 2 || frames
250 AVFrame *frames[XMA_MAX_STREAMS];
1438 * 1 if there are additional frames
1676 ff_dlog(avctx, "packet[%d]: number of frames %d\n", avctx->frame_number, num_frames);
1724 does not start to decode incomplete frames in the
1750 /** when the frames do not have a length prefix, we don't know
1751 the compressed length of the individual frames
1756 we get a buffer that only contains full frames */
1835 if (!s->frames[s->current_stream]->data[0]) {
1837 s->frames[s->current_stream]->nb_samples = 512;
1838 if ((ret = ff_get_buffer(avctx, s->frames[s->current_stream], 0)) < 0)
1840 } else if (s->frames[s->current_stream]->nb_samples != 512) {
1842 av_frame_unref(s->frames[s->current_stream]);
1843 s->frames[s->current_stream]->nb_samples = 512;
1844 if ((ret = ff_get_buffer(avctx, s->frames[s->current_stream], 0)) < 0)
1849 ret = decode_packet(avctx, &s->xma[s->current_stream], s->frames[s->current_stream],
1857 if (!s->xma[i].eof_done && s->frames[i]->data[0]) {
1858 ret = decode_packet(avctx, &s->xma[i], s->frames[i],
1873 const int nb_samples = s->frames[s->current_stream]->nb_samples;
1874 void *left[1] = { s->frames[s->current_stream]->extended_data[0] };
1875 void *right[1] = { s->frames[s->current_stream]->extended_data[1] };
1999 s->frames[i] = av_frame_alloc();
2000 if (!s->frames[i])
2026 av_frame_free(&s->frames[i]);