mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-20 04:18:26 +01:00
lossless: remove some size_t -> int conversions
Sizes are given as ints in the documentation and used as such elsewhere. Change-Id: I51ecd9e501cf9b4e3948aa0e947d2c9b5c85a30f
This commit is contained in:
parent
1349edade1
commit
532020f24a
@ -48,8 +48,8 @@ typedef struct VP8LTransform VP8LTransform;
|
||||
struct VP8LTransform {
|
||||
VP8LImageTransformType type_; // transform type.
|
||||
int bits_; // subsampling bits defining transform window.
|
||||
size_t xsize_; // transform window X index.
|
||||
size_t ysize_; // transform window Y index.
|
||||
int xsize_; // transform window X index.
|
||||
int ysize_; // transform window Y index.
|
||||
uint32_t *data_; // transform data.
|
||||
};
|
||||
|
||||
|
@ -323,7 +323,7 @@ static void ColorIndexInverseTransform(
|
||||
}
|
||||
|
||||
void VP8LInverseTransform(const VP8LTransform* const transform,
|
||||
size_t row_start, size_t row_end,
|
||||
int row_start, int row_end,
|
||||
uint32_t* const data_in, uint32_t* const data_out) {
|
||||
assert(row_start < row_end);
|
||||
assert(row_end <= transform->ysize_);
|
||||
|
@ -30,7 +30,7 @@ struct VP8LTransform; // Defined in dec/vp8li.h.
|
||||
// The data_in & data_out are source and destination data pointers respectively
|
||||
// corresponding to the intermediate row (row_start).
|
||||
void VP8LInverseTransform(const struct VP8LTransform* const transform,
|
||||
size_t row_start, size_t row_end,
|
||||
int row_start, int row_end,
|
||||
uint32_t* const data_in, uint32_t* const data_out);
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user