mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-17 14:29:48 +02:00
add a stride 'a_stride' for the alpha plane
(instead of hardcoding it to 'width') Change-Id: Ibce97285bfe8ff4aea45b5797f53a53d3f60adab
This commit is contained in:
@ -136,7 +136,8 @@ struct WebPPicture {
|
||||
int width, height; // dimensions.
|
||||
uint8_t *y, *u, *v; // pointers to luma/chroma planes.
|
||||
int y_stride, uv_stride; // luma/chroma strides.
|
||||
uint8_t *a; // pointer to the width x height alpha plane
|
||||
uint8_t *a; // pointer to the alpha plane
|
||||
int a_stride; // stride of the alpha plane
|
||||
|
||||
// output
|
||||
WebPWriterFunction writer; // can be NULL
|
||||
|
Reference in New Issue
Block a user