Lines Matching defs:picture
60 int show_compressed; // if true, export the compressed picture back.
68 // of source picture. These presets are used when calling WebPConfigPreset().
71 WEBP_PRESET_PICTURE, // digital picture, like portrait, inner shot
122 // data/data_size is the segment of data to write, and 'picture' is for
123 // reference (and so one can make use of picture->custom_ptr).
125 const WebPPicture* const picture);
158 // 'picture' object.
159 static inline int WebPPictureInit(WebPPicture* const picture) {
160 return WebPPictureInitInternal(picture, WEBP_ENCODER_ABI_VERSION);
166 // Convenience allocation / deallocation based on picture->width/height:
170 int WebPPictureAlloc(WebPPicture* const picture);
173 // Note that this function does _not_ free the memory pointed to by 'picture'.
174 void WebPPictureFree(WebPPicture* const picture);
180 // self-crops a picture to the rectangle defined by top/left/width/height.
182 // outside of the source picture.
183 int WebPPictureCrop(WebPPicture* const picture,
189 int WebPPictureImportRGB(WebPPicture* const picture,
192 int WebPPictureImportRGBA(WebPPicture* const picture,
196 int WebPPictureImportBGR(WebPPicture* const picture,
198 int WebPPictureImportBGRA(WebPPicture* const picture,
204 // Main encoding call, after config and picture have been initialiazed.
205 // 'picture' must be less than 16384x16384 in dimension, and the 'config' object
208 int WebPEncode(const WebPConfig* const config, WebPPicture* const picture);