Lines Matching full:xsize
99 static void NearLossless(int xsize, int ysize, uint32_t* argb,
104 uint32_t* curr_row = prev_row + xsize;
105 uint32_t* next_row = curr_row + xsize;
106 memcpy(copy_buffer, argb, xsize * 2 * sizeof(argb[0]));
109 uint32_t* const curr_argb_row = argb + y * xsize;
110 uint32_t* const next_argb_row = curr_argb_row + xsize;
111 memcpy(next_row, next_argb_row, xsize * sizeof(argb[0]));
112 for (x = 1; x < xsize - 1; ++x) {
138 int VP8ApplyNearLossless(int xsize, int ysize, uint32_t* argb, int quality) {
141 (uint32_t*)WebPSafeMalloc(xsize * 3, sizeof(*copy_buffer));
150 if (xsize < MIN_DIM_FOR_NEAR_LOSSLESS && ysize < MIN_DIM_FOR_NEAR_LOSSLESS) {
156 NearLossless(xsize, ysize, argb, i, copy_buffer);