Lines Matching refs:webp_picture
227 if (!WebPPictureInit (&enc->webp_picture)) { in gst_webp_set_picture_params()
232 enc->webp_picture.use_argb = enc->use_argb; in gst_webp_set_picture_params()
234 enc->webp_picture.colorspace = enc->webp_color_space; in gst_webp_set_picture_params()
236 enc->webp_picture.width = GST_VIDEO_INFO_WIDTH (info); in gst_webp_set_picture_params()
237 enc->webp_picture.height = GST_VIDEO_INFO_HEIGHT (info); in gst_webp_set_picture_params()
240 enc->webp_picture.writer = WebPMemoryWrite; in gst_webp_set_picture_params()
241 enc->webp_picture.custom_ptr = &enc->webp_writer; in gst_webp_set_picture_params()
269 enc->webp_picture.y = GST_VIDEO_FRAME_COMP_DATA (&vframe, 0); in gst_webp_enc_handle_frame()
270 enc->webp_picture.u = GST_VIDEO_FRAME_COMP_DATA (&vframe, 1); in gst_webp_enc_handle_frame()
271 enc->webp_picture.v = GST_VIDEO_FRAME_COMP_DATA (&vframe, 2); in gst_webp_enc_handle_frame()
273 enc->webp_picture.y_stride = GST_VIDEO_FRAME_COMP_STRIDE (&vframe, 0); in gst_webp_enc_handle_frame()
274 enc->webp_picture.uv_stride = GST_VIDEO_FRAME_COMP_STRIDE (&vframe, 1); in gst_webp_enc_handle_frame()
279 WebPPictureImportRGB (&enc->webp_picture, in gst_webp_enc_handle_frame()
284 WebPPictureImportRGBA (&enc->webp_picture, in gst_webp_enc_handle_frame()
293 if (WebPEncode (&enc->webp_config, &enc->webp_picture)) { in gst_webp_enc_handle_frame()
294 WebPPictureFree (&enc->webp_picture); in gst_webp_enc_handle_frame()