Lines Matching defs:trans
104 int trans = s->transparent_index;
106 if (trans < 0)
111 if (buf[x] == trans) {
161 int trans = s->transparent_index;
164 if ((s->flags & GF_OFFSETTING) && trans >= 0) {
174 if (buf[linesize * *y_start + i] != trans) {
189 if (buf[linesize * y_end + i] != trans) {
203 if (buf[linesize * i + *x_start] != trans) {
217 if (buf[linesize * i + x_end] != trans) {
301 int x_start = 0, y_start = 0, trans = s->transparent_index;
353 if (honor_transparency && trans < 0) {
354 trans = pick_palette_entry(buf + y_start*linesize + x_start,
356 if (trans < 0) // TODO, patch welcome
360 if (trans < 0)
368 bcid = honor_transparency || disposal == GCE_DISPOSAL_BACKGROUND ? trans : get_palette_transparency_index(palette);
425 s->tmpl[x] = trans;