Lines Matching refs:x_start
158 int *x_start, int *y_start)
200 while (*x_start < x_end) {
203 if (buf[linesize * i + *x_start] != trans) {
210 (*x_start)++;
214 while (x_end > *x_start) {
228 *width = x_end + 1 - *x_start;
230 *width, *height, *x_start, *y_start, avctx->width, avctx->height);
237 int *width, int *height, int *x_start, int *y_start)
262 while (*x_start < x_end) {
265 if (ref[y*ref_linesize + *x_start] != buf[y*linesize + *x_start]) {
272 (*x_start)++;
274 while (x_end > *x_start) {
286 *width = x_end + 1 - *x_start;
289 *width, *height, *x_start, *y_start, avctx->width, avctx->height);
301 int x_start = 0, y_start = 0, trans = s->transparent_index;
317 gif_crop_translucent(avctx, buf, linesize, &width, &height, &x_start, &y_start);
321 gif_crop_opaque(avctx, palette, buf, linesize, &width, &height, &x_start, &y_start);
354 trans = pick_palette_entry(buf + y_start*linesize + x_start,
381 bytestream_put_le16(bytestream, x_start);
413 ptr = s->shrunk_buf + y_start*linesize + x_start;
415 ptr = buf + y_start*linesize + x_start;
419 const uint8_t *ref = s->last_frame->data[0] + y_start*ref_linesize + x_start;