Lines Matching refs:x_end
166 int x_end = w - 1, in gif_crop_translucent() local
199 while (*x_start < x_end) { in gif_crop_translucent()
213 while (x_end > *x_start) { in gif_crop_translucent()
216 if (buf[linesize * i + x_end] != trans) { in gif_crop_translucent()
223 x_end--; in gif_crop_translucent()
227 *width = x_end + 1 - *x_start; in gif_crop_translucent()
244 int x_end = avctx->width - 1, in gif_crop_opaque() local
261 while (*x_start < x_end) { in gif_crop_opaque()
273 while (x_end > *x_start) { in gif_crop_opaque()
276 if (ref[y*ref_linesize + x_end] != buf[y*linesize + x_end]) { in gif_crop_opaque()
283 x_end--; in gif_crop_opaque()
285 *width = x_end + 1 - *x_start; in gif_crop_opaque()