mirror of
https://github.com/webmproject/libwebp.git
synced 2025-02-13 15:32:53 +01:00
Merge "lossless: remove some size_t -> int conversions"
This commit is contained in:
commit
683387374b
@ -48,8 +48,8 @@ typedef struct VP8LTransform VP8LTransform;
|
|||||||
struct VP8LTransform {
|
struct VP8LTransform {
|
||||||
VP8LImageTransformType type_; // transform type.
|
VP8LImageTransformType type_; // transform type.
|
||||||
int bits_; // subsampling bits defining transform window.
|
int bits_; // subsampling bits defining transform window.
|
||||||
size_t xsize_; // transform window X index.
|
int xsize_; // transform window X index.
|
||||||
size_t ysize_; // transform window Y index.
|
int ysize_; // transform window Y index.
|
||||||
uint32_t *data_; // transform data.
|
uint32_t *data_; // transform data.
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -323,7 +323,7 @@ static void ColorIndexInverseTransform(
|
|||||||
}
|
}
|
||||||
|
|
||||||
void VP8LInverseTransform(const VP8LTransform* const transform,
|
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) {
|
uint32_t* const data_in, uint32_t* const data_out) {
|
||||||
assert(row_start < row_end);
|
assert(row_start < row_end);
|
||||||
assert(row_end <= transform->ysize_);
|
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
|
// The data_in & data_out are source and destination data pointers respectively
|
||||||
// corresponding to the intermediate row (row_start).
|
// corresponding to the intermediate row (row_start).
|
||||||
void VP8LInverseTransform(const struct VP8LTransform* const transform,
|
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);
|
uint32_t* const data_in, uint32_t* const data_out);
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user