Lines Matching defs:picture
135 static void flip(AVCodecContext *avctx, AVPicture *picture)
137 picture->data[0] += picture->linesize[0] * (avctx->height - 1);
138 picture->linesize[0] *= -1;
181 AVPicture *picture = data;
270 if ((res = avpicture_fill(picture, buf, avctx->pix_fmt,
326 flip(avctx, picture);
332 FFSWAP(uint8_t *, picture->data[1], picture->data[2]);
335 picture->data[1] = picture->data[1] + (avctx->width+1)*(avctx->height+1) -avctx->width*avctx->height;
336 picture->data[2] = picture->data[2] + ((avctx->width+1)*(avctx->height+1) -avctx->width*avctx->height)*5/4;
342 uint8_t *line = picture->data[0];
346 line += picture->linesize[0];