Lines Matching refs:pic
128 WebPPicture *pic = NULL;
137 *pic_ptr = av_malloc(sizeof(*pic));
138 pic = *pic_ptr;
139 if (!pic)
142 ret = WebPPictureInit(pic);
147 pic->width = avctx->width;
148 pic->height = avctx->height;
162 pic->use_argb = 1;
163 pic->argb = (uint32_t *)frame->data[0];
164 pic->argb_stride = frame->linesize[0] / 4;
243 pic->use_argb = 0;
244 pic->y = frame->data[0];
245 pic->u = frame->data[1];
246 pic->v = frame->data[2];
247 pic->y_stride = frame->linesize[0];
248 pic->uv_stride = frame->linesize[1];
250 pic->colorspace = WEBP_YUV420A;
251 pic->a = frame->data[3];
252 pic->a_stride = frame->linesize[3];
254 WebPCleanupTransparentArea(pic);
256 pic->colorspace = WEBP_YUV420;
277 pic->memory_ = (void*)1; /* something non-null */
278 ret = WebPPictureYUVAToARGB(pic);
282 pic->error_code);
283 ret = libwebp_error_to_averror(pic->error_code);
286 pic->memory_ = NULL; /* restore pointer */