Lines Matching refs:frame
177 av_frame_unref(ac->frame);
181 ac->frame->nb_samples = 2048;
182 if ((ret = ff_get_buffer(avctx, ac->frame, 0)) < 0)
188 ac->output_element[ch]->ret = (INTFLOAT *)ac->frame->extended_data[ch];
940 avpriv_report_missing_feature(avctx, "SBR with 960 frame length");
2561 "SBR with 960 frame length");
2570 av_log(ac->avctx, AV_LOG_ERROR, "Implicit SBR was found with a first occurrence after the first frame.\n");
2723 * Update the LTP buffer for next frame
3118 "More than one AAC RDB per ADTS frame");
3181 ac->frame = data;
3226 if (!ac->frame->data[0] && samples) {
3227 av_log(avctx, AV_LOG_ERROR, "no frame data found\n");
3231 ac->frame->nb_samples = samples;
3232 ac->frame->sample_rate = avctx->sample_rate;
3239 static int aac_decode_frame_int(AVCodecContext *avctx, AVFrame *frame,
3252 ac->frame = frame;
3256 av_log(avctx, AV_LOG_ERROR, "Error decoding AAC frame header.\n");
3422 if (!ac->frame->data[0] && samples) {
3423 av_log(avctx, AV_LOG_ERROR, "no frame data found\n");
3429 ac->frame->nb_samples = samples;
3430 ac->frame->sample_rate = avctx->sample_rate;
3432 av_frame_unref(ac->frame);
3441 frame->data[1] = frame->data[0];
3443 frame->data[0] = frame->data[1];
3452 static int aac_decode_frame(AVCodecContext *avctx, AVFrame *frame,
3499 err = aac_decode_er_frame(avctx, frame, got_frame_ptr, &gb);
3502 err = aac_decode_frame_int(avctx, frame, got_frame_ptr, &gb, avpkt);