Home | History | Annotate | Download | only in enc

Lines Matching refs:height

66 int WebPPictureAllocARGB(WebPPicture* const picture, int width, int height) {
68 const uint64_t argb_size = (uint64_t)width * height;
75 if (width <= 0 || height <= 0) {
90 int WebPPictureAllocYUVA(WebPPicture* const picture, int width, int height) {
95 const int uv_height = (height + 1) >> 1;
113 y_size = (uint64_t)y_stride * height;
115 a_size = (uint64_t)a_stride * height;
120 if (width <= 0 || height <= 0 || // luma/alpha param error
156 const int height = picture->height;
161 return WebPPictureAllocYUVA(picture, width, height);
163 return WebPPictureAllocARGB(picture, width, height);
232 static size_t Encode(const uint8_t* rgba, int width, int height, int stride,
248 pic.height = height;