Lines Matching refs:last_row

787                              int first_row, int last_row,  in AlphaApplyFilter()  argument
793 for (y = first_row; y < last_row; ++y) { in AlphaApplyFilter()
802 static void ExtractPalettedAlphaRows(VP8LDecoder* const dec, int last_row) { in ExtractPalettedAlphaRows() argument
811 assert(last_row <= dec->io_->crop_bottom); in ExtractPalettedAlphaRows()
812 if (last_row > first_row) { in ExtractPalettedAlphaRows()
821 VP8LColorIndexInverseTransformAlpha(transform, first_row, last_row, in ExtractPalettedAlphaRows()
823 AlphaApplyFilter(alph_dec, first_row, last_row, out, width); in ExtractPalettedAlphaRows()
825 dec->last_row_ = dec->last_out_row_ = last_row; in ExtractPalettedAlphaRows()
948 int width, int height, int last_row) { in DecodeAlphaData() argument
956 const int last = width * last_row; // Last pixel to decode in DecodeAlphaData()
962 assert(last_row <= height); in DecodeAlphaData()
981 if (row <= last_row && (row % NUM_ARGB_CACHE_ROWS == 0)) { in DecodeAlphaData()
1004 if (row <= last_row && (row % NUM_ARGB_CACHE_ROWS == 0)) { in DecodeAlphaData()
1018 ExtractPalettedAlphaRows(dec, row > last_row ? last_row : row); in DecodeAlphaData()
1052 int width, int height, int last_row, in DecodeImageData() argument
1061 uint32_t* const src_last = data + width * last_row; // Last pixel to decode in DecodeImageData()
1070 assert(dec->last_row_ < last_row); in DecodeImageData()
1117 if (row <= last_row && (row % NUM_ARGB_CACHE_ROWS == 0)) { in DecodeImageData()
1147 if (row <= last_row && (row % NUM_ARGB_CACHE_ROWS == 0)) { in DecodeImageData()
1180 process_func(dec, row > last_row ? last_row : row); in DecodeImageData()
1479 static void ExtractAlphaRows(VP8LDecoder* const dec, int last_row) { in ExtractAlphaRows() argument
1481 int num_rows = last_row - cur_row; in ExtractAlphaRows()
1484 assert(last_row <= dec->io_->crop_bottom); in ExtractAlphaRows()
1503 assert(cur_row == last_row); in ExtractAlphaRows()
1504 dec->last_row_ = dec->last_out_row_ = last_row; in ExtractAlphaRows()
1555 int VP8LDecodeAlphaImageStream(ALPHDecoder* const alph_dec, int last_row) { in VP8LDecodeAlphaImageStream() argument
1558 assert(last_row <= dec->height_); in VP8LDecodeAlphaImageStream()
1560 if (dec->last_row_ >= last_row) { in VP8LDecodeAlphaImageStream()
1569 last_row) : in VP8LDecodeAlphaImageStream()
1571 last_row, ExtractAlphaRows); in VP8LDecodeAlphaImageStream()