Lines Matching defs:frame
638 /* Swap the gain control buffers for the next frame. */
793 static int atrac3_decode_frame(AVCodecContext *avctx, AVFrame *frame,
809 frame->nb_samples = SAMPLES_PER_FRAME;
810 if ((ret = ff_get_buffer(avctx, frame, 0)) < 0)
821 ret = decode_frame(avctx, databuf, (float **)frame->extended_data);
832 static int atrac3al_decode_frame(AVCodecContext *avctx, AVFrame *frame,
837 frame->nb_samples = SAMPLES_PER_FRAME;
838 if ((ret = ff_get_buffer(avctx, frame, 0)) < 0)
842 (float **)frame->extended_data);
918 av_log(avctx, AV_LOG_ERROR, "Unknown frame/channel/frame_factor "
945 av_log(avctx, AV_LOG_ERROR, "Unknown amount of samples per frame %d.\n",