Lines Matching full:picture
43 AVFrame *picture, *tmp_picture; variable
101 AVFrame *picture; in alloc_picture() local
105 picture = avcodec_alloc_frame(); in alloc_picture()
106 if (!picture) in alloc_picture()
111 av_free(picture); in alloc_picture()
114 avpicture_fill((AVPicture *)picture, picture_buf, in alloc_picture()
116 return picture; in alloc_picture()
151 /* allocate the encoded raw picture */ in open_video()
152 picture = alloc_picture(c->pix_fmt, c->width, c->height); in open_video()
153 if (!picture) { in open_video()
154 fprintf(stderr, "Could not allocate picture\n"); in open_video()
159 picture is needed too. It is then converted to the required in open_video()
165 fprintf(stderr, "Could not allocate temporary picture\n"); in open_video()
184 /* as we only generate a RGB565 picture, we must convert it in write_video_frame()
186 img_convert((AVPicture *)picture, c->pix_fmt, in write_video_frame()
190 picture_ptr = picture; in write_video_frame()
236 av_free(picture->data[0]); in close_video()
237 av_free(picture); in close_video()
328 client->frameBuffer=picture->data[0]; in resize()