Lines Matching refs:avframe
534 AVFrame* avframe = av_frame_alloc(); in DecodeAudio() local
543 av_audio_context(), avframe, &frame_decoded, &packet_temp); in DecodeAudio()
550 int frames_read = avframe->nb_samples; in DecodeAudio()
576 &avframe->data[0], in DecodeAudio()
578 base::TimeDelta::FromMilliseconds(avframe->pkt_pts)); in DecodeAudio()
580 av_frame_unref(avframe); in DecodeAudio()
582 av_frame_free(&avframe); in DecodeAudio()
621 AVFrame* avframe = av_frame_alloc(); in DecodeVideo() local
623 avframe->reordered_opaque = in DecodeVideo()
626 av_video_context(), avframe, &got_picture, packet.get()) >= 0) in DecodeVideo()
629 av_frame_free(&avframe); in DecodeVideo()
634 avframe->reordered_opaque < video_first_pts_) { in DecodeVideo()
636 video_first_pts_ = avframe->reordered_opaque; in DecodeVideo()
638 int64 pts = avframe->reordered_opaque - video_first_pts_; in DecodeVideo()
645 avframe->linesize[0], in DecodeVideo()
646 avframe->linesize[1], in DecodeVideo()
647 avframe->linesize[2], in DecodeVideo()
648 avframe->data[0], in DecodeVideo()
649 avframe->data[1], in DecodeVideo()
650 avframe->data[2], in DecodeVideo()
652 base::Bind(&AVFreeFrame, avframe))); in DecodeVideo()