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:
James Zern
2012-04-24 12:23:58 -07:00
parent 1349edade1
commit 532020f24a
3 changed files with 4 additions and 4 deletions

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