Lines Matching defs:pic_arg
1003 static int load_input_picture(MpegEncContext *s, const AVFrame *pic_arg)
1013 if (pic_arg) {
1014 pts = pic_arg->pts;
1044 if (!pic_arg->buf[0] ||
1045 pic_arg->linesize[0] != s->linesize ||
1046 pic_arg->linesize[1] != s->uvlinesize ||
1047 pic_arg->linesize[2] != s->uvlinesize)
1051 if (((intptr_t)(pic_arg->data[0])) & (STRIDE_ALIGN-1))
1056 ff_dlog(s->avctx, "%d %d %"PTRDIFF_SPECIFIER" %"PTRDIFF_SPECIFIER"\n", pic_arg->linesize[0],
1057 pic_arg->linesize[1], s->linesize, s->uvlinesize);
1067 if ((ret = av_frame_ref(pic->f, pic_arg)) < 0)
1075 if (pic->f->data[0] + INPLACE_OFFSET == pic_arg->data[0] &&
1076 pic->f->data[1] + INPLACE_OFFSET == pic_arg->data[1] &&
1077 pic->f->data[2] + INPLACE_OFFSET == pic_arg->data[2]) {
1086 int src_stride = pic_arg->linesize[i];
1092 uint8_t *src = pic_arg->data[i];
1126 ret = av_frame_copy_props(pic->f, pic_arg);
1131 pic->f->pts = pts; // we set this here to avoid modifying pic_arg
1665 const AVFrame *pic_arg, int *got_packet)
1675 if (load_input_picture(s, pic_arg) < 0)