Home | History | Annotate | Download | only in libpng

Lines Matching defs:dp

1610             png_bytep dp = row + (png_size_t)row_width - 1;
1614 *dp = (png_byte)((*sp >> shift) & 0x01);
1623 dp--;
1632 png_bytep dp = row + (png_size_t)row_width - 1;
1636 *dp = (png_byte)((*sp >> shift) & 0x03);
1645 dp--;
1653 png_bytep dp = row + (png_size_t)row_width - 1;
1657 *dp = (png_byte)((*sp >> shift) & 0x0f);
1666 dp--;
1806 png_bytep dp = row;
1810 for (i = 0; i<istop; i++, sp += 2, dp++)
1817 * *dp = (((((png_uint_32)(*sp) << 8) |
1822 * *dp = (((((png_uint_32)(*sp) << 8) |
1829 * *dp = (temp - (temp >> 8)) >> 8;
1832 * *dp = ((((png_uint_32)(*sp) << 8) |
1838 *dp = *sp + ((((int)(*(sp + 1)) - *sp) > 128) ? 1 : 0);
1841 *dp = *sp;
1868 png_bytep dp = sp;
1875 *(--dp) = *(--sp);
1876 *(--dp) = *(--sp);
1877 *(--dp) = *(--sp);
1878 *(--dp) = save;
1885 png_bytep dp = sp;
1893 *(--dp) = *(--sp);
1894 *(--dp) = *(--sp);
1895 *(--dp) = *(--sp);
1896 *(--dp) = *(--sp);
1897 *(--dp) = *(--sp);
1898 *(--dp) = *(--sp);
1899 *(--dp) = save[0];
1900 *(--dp) = save[1];
1910 png_bytep dp = sp;
1917 *(--dp) = *(--sp);
1918 *(--dp) = save;
1925 png_bytep dp = sp;
1933 *(--dp) = *(--sp);
1934 *(--dp) = *(--sp);
1935 *(--dp) = save[0];
1936 *(--dp) = save[1];
1961 png_bytep dp = sp;
1966 *(--dp) = (png_byte)(255 - *(--sp));
1969 *(--dp) = *(--sp);
1970 *(--dp) = *(--sp);
1971 *(--dp) = *(--sp);
1975 dp=sp;
1982 png_bytep dp = sp;
1987 *(--dp) = (png_byte)(255 - *(--sp));
1988 *(--dp) = (png_byte)(255 - *(--sp));
1991 *(--dp) = *(--sp);
1992 *(--dp) = *(--sp);
1993 *(--dp) = *(--sp);
1994 *(--dp) = *(--sp);
1995 *(--dp) = *(--sp);
1996 *(--dp) = *(--sp);
2000 dp=sp;
2010 png_bytep dp = sp;
2015 *(--dp) = (png_byte)(255 - *(--sp));
2016 *(--dp) = *(--sp);
2023 png_bytep dp = sp;
2028 *(--dp) = (png_byte)(255 - *(--sp));
2029 *(--dp) = (png_byte)(255 - *(--sp));
2031 *(--dp) = *(--sp);
2032 *(--dp) = *(--sp);
2035 dp=sp;
2069 png_bytep dp = sp + (png_size_t)row_width;
2072 *(--dp) = lo_filler;
2073 *(--dp) = *(--sp);
2075 *(--dp) = lo_filler;
2084 png_bytep dp = sp + (png_size_t)row_width;
2087 *(--dp) = *(--sp);
2088 *(--dp) = lo_filler;
2101 png_bytep dp = sp + (png_size_t)row_width * 2;
2104 *(--dp) = hi_filler;
2105 *(--dp) = lo_filler;
2106 *(--dp) = *(--sp);
2107 *(--dp) = *(--sp);
2109 *(--dp) = hi_filler;
2110 *(--dp) = lo_filler;
2119 png_bytep dp = sp + (png_size_t)row_width * 2;
2122 *(--dp) = *(--sp);
2123 *(--dp) = *(--sp);
2124 *(--dp) = hi_filler;
2125 *(--dp) = lo_filler;
2141 png_bytep dp = sp + (png_size_t)row_width;
2144 *(--dp) = lo_filler;
2145 *(--dp) = *(--sp);
2146 *(--dp) = *(--sp);
2147 *(--dp) = *(--sp);
2149 *(--dp) = lo_filler;
2158 png_bytep dp = sp + (png_size_t)row_width;
2161 *(--dp) = *(--sp);
2162 *(--dp) = *(--sp);
2163 *(--dp) = *(--sp);
2164 *(--dp) = lo_filler;
2177 png_bytep dp = sp + (png_size_t)row_width * 2;
2180 *(--dp) = hi_filler;
2181 *(--dp) = lo_filler;
2182 *(--dp) = *(--sp);
2183 *(--dp) = *(--sp);
2184 *(--dp) = *(--sp);
2185 *(--dp) = *(--sp);
2186 *(--dp) = *(--sp);
2187 *(--dp) = *(--sp);
2189 *(--dp) = hi_filler;
2190 *(--dp) = lo_filler;
2199 png_bytep dp = sp + (png_size_t)row_width * 2;
2202 *(--dp) = *(--sp);
2203 *(--dp) = *(--sp);
2204 *(--dp) = *(--sp);
2205 *(--dp) = *(--sp);
2206 *(--dp) = *(--sp);
2207 *(--dp) = *(--sp);
2208 *(--dp) = hi_filler;
2209 *(--dp) = lo_filler;
2241 png_bytep dp = sp + (png_size_t)row_width * 2;
2244 *(dp--) = *sp;
2245 *(dp--) = *sp;
2246 *(dp--) = *(sp--);
2252 png_bytep dp = sp + (png_size_t)row_width * 4;
2255 *(dp--) = *sp;
2256 *(dp--) = *(sp - 1);
2257 *(dp--) = *sp;
2258 *(dp--) = *(sp - 1);
2259 *(dp--) = *(sp--);
2260 *(dp--) = *(sp--);
2269 png_bytep dp = sp + (png_size_t)row_width * 2;
2272 *(dp--) = *(sp--);
2273 *(dp--) = *sp;
2274 *(dp--) = *sp;
2275 *(dp--) = *(sp--);
2281 png_bytep dp = sp + (png_size_t)row_width * 4;
2284 *(dp--) = *(sp--);
2285 *(dp--) = *(sp--);
2286 *(dp--) = *sp;
2287 *(dp--) = *(sp - 1);
2288 *(dp--) = *sp;
2289 *(dp--) = *(sp - 1);
2290 *(dp--) = *(sp--);
2291 *(dp--) = *(sp--);
2355 png_bytep dp = row;
2365 *(dp++) = png_ptr->gamma_from_1[
2369 *(dp++) = *(sp - 1);
2376 png_bytep dp = row;
2385 *(dp++) = (png_byte)((rc*red + gc*green + bc*blue)>>15);
2388 *(dp++) = *(sp - 1);
2400 png_bytep dp = row;
2427 *(dp++) = (png_byte)((w>>8) & 0xff);
2428 *(dp++) = (png_byte)(w & 0xff);
2435 png_bytep dp = row;
2447 *(dp++) = (png_byte)((gray16>>8) & 0xff);
2448 *(dp++) = (png_byte)(gray16 & 0xff);
2461 png_bytep dp = row;
2469 *(dp++) = png_ptr->gamma_from_1
2471 *(dp++) = *(sp++); /* alpha */
2478 png_bytep dp = row;
2486 *(dp++) = (png_byte)((rc*red + gc*green + bc*blue)>>15);
2487 *(dp++) = *(sp++); /* alpha */
2498 png_bytep dp = row;
2525 *(dp++) = (png_byte)((w>>8) & 0xff);
2526 *(dp++) = (png_byte)(w & 0xff);
2527 *(dp++) = *(sp++); /* alpha */
2528 *(dp++) = *(sp++);
2535 png_bytep dp = row;
2545 *(dp++) = (png_byte)((gray16>>8) & 0xff);
2546 *(dp++) = (png_byte)(gray16 & 0xff);
2547 *(dp++) = *(sp++); /* alpha */
2548 *(dp++) = *(sp++);
2818 png_bytep sp, dp;
3169 dp = row;
3170 for (i = 0; i < row_width; i++, sp += 2, dp++)
3176 *dp = gamma_table[*sp];
3181 *dp = (png_byte)background->gray;
3189 *dp = gamma_from_1[w];
3197 dp = row;
3198 for (i = 0; i < row_width; i++, sp += 2, dp++)
3204 *dp = *sp;
3209 *dp = (png_byte)background->gray;
3213 png_composite(*dp, *sp, a, background_1->gray);
3216 *dp = (png_byte)background->gray;
3228 dp = row;
3229 for (i = 0; i < row_width; i++, sp += 4, dp += 2)
3238 *dp = (png_byte)((v >> 8) & 0xff);
3239 *(dp + 1) = (png_byte)(v & 0xff);
3248 *dp = (png_byte)((background->gray >> 8) & 0xff);
3249 *(dp + 1) = (png_byte)(background->gray & 0xff);
3259 *dp = (png_byte)((w >> 8) & 0xff);
3260 *(dp + 1) = (png_byte)(w & 0xff);
3269 dp = row;
3270 for (i = 0; i < row_width; i++, sp += 4, dp += 2)
3275 png_memcpy(dp, sp, 2);
3283 *dp = (png_byte)((background->gray >> 8) & 0xff);
3284 *(dp + 1) = (png_byte)(background->gray & 0xff);
3293 *dp = (png_byte)((v >> 8) & 0xff);
3294 *(dp + 1) = (png_byte)(v & 0xff);
3312 dp = row;
3313 for (i = 0; i < row_width; i++, sp += 4, dp += 3)
3319 *dp = gamma_table[*sp];
3320 *(dp + 1) = gamma_table[*(sp + 1)];
3321 *(dp + 2) = gamma_table[*(sp + 2)];
3326 *dp = (png_byte)background->red;
3327 *(dp + 1) = (png_byte)background->green;
3328 *(dp + 2) = (png_byte)background->blue;
3336 *dp = gamma_from_1[w];
3339 *(dp + 1) = gamma_from_1[w];
3342 *(dp + 2) = gamma_from_1[w];
3350 dp = row;
3351 for (i = 0; i < row_width; i++, sp += 4, dp += 3)
3357 *dp = *sp;
3358 *(dp + 1) = *(sp + 1);
3359 *(dp + 2) = *(sp + 2);
3363 *dp = (png_byte)background->red;
3364 *(dp + 1) = (png_byte)background->green;
3365 *(dp + 2) = (png_byte)background->blue;
3369 png_composite(*dp, *sp, a, background->red);
3370 png_composite(*(dp + 1), *(sp + 1), a,
3372 png_composite(*(dp + 2), *(sp + 2), a,
3385 dp = row;
3386 for (i = 0; i < row_width; i++, sp += 8, dp += 6)
3395 *dp = (png_byte)((v >> 8) & 0xff);
3396 *(dp + 1) = (png_byte)(v & 0xff);
3398 *(dp + 2) = (png_byte)((v >> 8) & 0xff);
3399 *(dp + 3) = (png_byte)(v & 0xff);
3401 *(dp + 4) = (png_byte)((v >> 8) & 0xff);
3402 *(dp + 5) = (png_byte)(v & 0xff);
3407 *dp = (png_byte)((background->red >> 8) & 0xff);
3408 *(dp
3409 *(dp + 2) = (png_byte)((background->green >> 8) & 0xff);
3410 *(dp + 3) = (png_byte)(background->green & 0xff);
3411 *(dp + 4) = (png_byte)((background->blue >> 8) & 0xff);
3412 *(dp + 5) = (png_byte)(background->blue & 0xff);
3421 *dp = (png_byte)((x >> 8) & 0xff);
3422 *(dp + 1) = (png_byte)(x & 0xff);
3426 *(dp + 2) = (png_byte)((x >> 8) & 0xff);
3427 *(dp + 3) = (png_byte)(x & 0xff);
3431 *(dp + 4) = (png_byte)((x >> 8) & 0xff);
3432 *(dp + 5) = (png_byte)(x & 0xff);
3440 dp = row;
3441 for (i = 0; i < row_width; i++, sp += 8, dp += 6)
3447 png_memcpy(dp, sp, 6);
3451 *dp = (png_byte)((background->red >> 8) & 0xff);
3452 *(dp + 1) = (png_byte)(background->red & 0xff);
3453 *(dp + 2) = (png_byte)((background->green >> 8) & 0xff);
3454 *(dp + 3) = (png_byte)(background->green & 0xff);
3455 *(dp + 4) = (png_byte)((background->blue >> 8) & 0xff);
3456 *(dp + 5) = (png_byte)(background->blue & 0xff);
3469 *dp = (png_byte)((v >> 8) & 0xff);
3470 *(dp + 1) = (png_byte)(v & 0xff);
3472 *(dp + 2) = (png_byte)((v >> 8) & 0xff);
3473 *(dp + 3) = (png_byte)(v & 0xff);
3475 *(dp + 4) = (png_byte)((v >> 8) & 0xff);
3476 *(dp + 5) = (png_byte)(v & 0xff);
3698 png_bytep sp, dp;
3717 dp = row + (png_size_t)row_width - 1;
3722 *dp = 1;
3724 *dp = 0;
3733 dp--;
3741 dp = row + (png_size_t)row_width - 1;
3746 *dp = (png_byte)value;
3755 dp--;
3763 dp = row + (png_size_t)row_width - 1;
3768 *dp = (png_byte)value;
3777 dp--;
3793 dp = row + (png_size_t)(row_width << 2) - 1;
3798 *dp-- = 0xff;
3800 *dp-- = trans[*sp];
3801 *dp-- = palette[*sp].blue;
3802 *dp-- = palette[*sp].green;
3803 *dp-- = palette[*sp].red;
3815 dp = row + (png_size_t)(row_width * 3) - 1;
3819 *dp-- = palette[*sp].blue;
3820 *dp-- = palette[*sp].green;
3821 *dp-- = palette[*sp].red;
3845 png_bytep sp, dp;
3867 dp = row + (png_size_t)row_width - 1;
3872 *dp = 0xff;
3874 *dp = 0;
3883 dp--;
3892 dp = row + (png_size_t)row_width - 1;
3897 *dp = (png_byte)(value | (value << 2) | (value << 4) |
3907 dp--;
3916 dp = row + (png_size_t)row_width - 1;
3921 *dp = (png_byte)(value | (value << 4));
3930 dp--;
3947 dp = row + (png_size_t)(row_width << 1) - 1;
3951 *dp-- = 0;
3953 *dp-- = 0xff;
3954 *dp-- = *sp--;
3963 dp = row + (row_info->rowbytes << 1) - 1;
3968 *dp-- = 0;
3969 *dp-- = 0;
3973 *dp-- = 0xff;
3974 *dp-- = 0xff;
3976 *dp-- = *sp--;
3977 *dp-- = *sp--;
3996 dp = row + (png_size_t)(row_width << 2) - 1;
4000 *dp-- = 0;
4002 *dp-- = 0xff;
4003 *dp-- = *sp--;
4004 *dp-- = *sp--;
4005 *dp-- = *sp--;
4017 dp = row + (png_size_t)(row_width << 3) - 1;
4027 *dp-- = 0;
4028 *dp-- = 0;
4032 *dp-- = 0xff;
4033 *dp-- = 0xff;
4035 *dp-- = *sp--;
4036 *dp-- = *sp--;
4037 *dp-- = *sp--;
4038 *dp-- = *sp--;
4039 *dp-- = *sp--;
4040 *dp-- = *sp--;
4057 png_bytep sp, dp;
4072 dp = row;
4095 *dp++ = palette_lookup[p];
4107 dp = row;
4124 *dp++ = palette_lookup[p];