Lines Matching refs:last_row
841 int first_row, int last_row, in AlphaApplyFilter() argument
847 for (y = first_row; y < last_row; ++y) { in AlphaApplyFilter()
856 static void ExtractPalettedAlphaRows(VP8LDecoder* const dec, int last_row) { in ExtractPalettedAlphaRows() argument
865 assert(last_row <= dec->io_->crop_bottom); in ExtractPalettedAlphaRows()
866 if (last_row > first_row) { in ExtractPalettedAlphaRows()
875 VP8LColorIndexInverseTransformAlpha(transform, first_row, last_row, in ExtractPalettedAlphaRows()
877 AlphaApplyFilter(alph_dec, first_row, last_row, out, width); in ExtractPalettedAlphaRows()
879 dec->last_row_ = dec->last_out_row_ = last_row; in ExtractPalettedAlphaRows()
1005 int width, int height, int last_row) { in DecodeAlphaData() argument
1013 const int last = width * last_row; // Last pixel to decode in DecodeAlphaData()
1019 assert(last_row <= height); in DecodeAlphaData()
1038 if (row <= last_row && (row % NUM_ARGB_CACHE_ROWS == 0)) { in DecodeAlphaData()
1061 if (row <= last_row && (row % NUM_ARGB_CACHE_ROWS == 0)) { in DecodeAlphaData()
1075 ExtractPalettedAlphaRows(dec, row > last_row ? last_row : row); in DecodeAlphaData()
1110 int width, int height, int last_row, in DecodeImageData() argument
1119 uint32_t* const src_last = data + width * last_row; // Last pixel to decode in DecodeImageData()
1128 assert(dec->last_row_ < last_row); in DecodeImageData()
1176 if (row <= last_row && (row % NUM_ARGB_CACHE_ROWS == 0)) { in DecodeImageData()
1207 if (row <= last_row && (row % NUM_ARGB_CACHE_ROWS == 0)) { in DecodeImageData()
1240 process_func(dec, row > last_row ? last_row : row); in DecodeImageData()
1539 static void ExtractAlphaRows(VP8LDecoder* const dec, int last_row) { in ExtractAlphaRows() argument
1541 int num_rows = last_row - cur_row; in ExtractAlphaRows()
1544 assert(last_row <= dec->io_->crop_bottom); in ExtractAlphaRows()
1563 assert(cur_row == last_row); in ExtractAlphaRows()
1564 dec->last_row_ = dec->last_out_row_ = last_row; in ExtractAlphaRows()
1615 int VP8LDecodeAlphaImageStream(ALPHDecoder* const alph_dec, int last_row) { in VP8LDecodeAlphaImageStream() argument
1618 assert(last_row <= dec->height_); in VP8LDecodeAlphaImageStream()
1620 if (dec->last_row_ >= last_row) { in VP8LDecodeAlphaImageStream()
1629 last_row) : in VP8LDecodeAlphaImageStream()
1631 last_row, ExtractAlphaRows); in VP8LDecodeAlphaImageStream()