Merge "lossless: remove some size_t -> int conversions"

This commit is contained in:
pascal massimino 2012-04-24 23:41:26 -07:00 committed by Gerrit Code Review
commit 683387374b
3 changed files with 4 additions and 4 deletions

View File

@ -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.
};

View File

@ -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_);

View File

@ -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);
//------------------------------------------------------------------------------