Lines Matching refs:y_start
158 int *x_start, int *y_start)
171 while (*y_start < y_end) {
174 if (buf[linesize * *y_start + i] != trans) {
182 (*y_start)++;
186 while (y_end > *y_start) {
202 for (int i = *y_start; i < y_end; i++) {
216 for (int i = *y_start; i < y_end; i++) {
227 *height = y_end + 1 - *y_start;
230 *width, *height, *x_start, *y_start, avctx->width, avctx->height);
237 int *width, int *height, int *x_start, int *y_start)
249 while (*y_start < y_end) {
250 if (memcmp(ref + *y_start*ref_linesize, buf + *y_start*linesize, *width))
252 (*y_start)++;
254 while (y_end > *y_start) {
259 *height = y_end + 1 - *y_start;
264 for (int y = *y_start; y <= y_end; y++) {
276 for (int y = *y_start; y <= y_end; y++) {
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,
382 bytestream_put_le16(bytestream, y_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;