Lines Matching refs:frame
170 av_log(s->avctx, AV_LOG_ERROR, "Error decoding the redundancy frame.\n");
186 /* decode the silk frame */
199 av_log(s->avctx, AV_LOG_ERROR, "Error decoding a SILK frame.\n");
230 av_log(s->avctx, AV_LOG_ERROR, "Invalid redundancy frame size.\n");
242 /* decode the CELT frame */
393 av_log(s->avctx, AV_LOG_ERROR, "Error decoding an Opus frame.\n");
415 static int opus_decode_packet(AVCodecContext *avctx, AVFrame *frame,
447 frame->nb_samples = coded_samples + delayed_samples;
450 if (!frame->nb_samples) {
456 ret = ff_get_buffer(avctx, frame, 0);
459 frame->nb_samples = 0;
464 c->streams[map->stream_idx].out[map->channel_idx] = (float*)frame->extended_data[i];
496 s->out_size = frame->linesize[0] - ret * sizeof(float);
534 float *buf[2] = { s->out[0] ? s->out[0] : (float*)frame->extended_data[0],
535 s->out[1] ? s->out[1] : (float*)frame->extended_data[0] };
549 memcpy(frame->extended_data[i],
550 frame->extended_data[map->copy_idx],
551 frame->linesize[0]);
553 memset(frame->extended_data[i], 0, frame->linesize[0]);
557 c->fdsp->vector_fmul_scalar((float*)frame->extended_data[i],
558 (float*)frame->extended_data[i],
563 frame->nb_samples = decoded_samples;