Source

pil / libImaging / WebP.h

/* WebP.h */

typedef struct {

    /* CONFIGURATION */

    /* Quality (1-100, 0 means default) */
    int quality;

    /* INTERNAL */
    uint8_t* output_data; /* pointer to next data chunk */
    size_t output_size; /* bytes left to copy */

    uint8_t* output_buffer; /* pointer to output data buffer*/

} WEBPCONTEXT;