Lines Matching defs:frame
732 const AVFrame *frame, int *got_packet)
740 if (frame) {
752 av_image_fill_arrays(src, src_linesize, frame->data[0], avctx->pix_fmt, s->stride, s->plane_size, 1);
753 if (frame->linesize[0] == src_linesize[0] &&
754 frame->linesize[1] == src_linesize[1] &&
755 frame->linesize[2] == src_linesize[2] &&
756 frame->data[1] == src[1] &&
757 frame->data[2] == src[2]) {
758 // If the input frame happens to have all planes stored contiguously,
759 // with the right strides, just clone the frame and set the OMX
761 AVFrame *local = av_frame_clone(frame);
774 // size and copy the input frame into it.
796 av_image_copy(dst, linesize, (const uint8_t**) frame->data, frame->linesize, avctx->pix_fmt, avctx->width, avctx->height);
801 buffer->nTimeStamp = to_omx_ticks(av_rescale_q(frame->pts, avctx->time_base, AV_TIME_BASE_Q));
802 if (frame->pict_type == AV_PICTURE_TYPE_I) {
850 !frame || had_partial);