Lines Matching refs:me
2758 struct png_modification *me, int add);
3303 gama_modify(png_modifier *pm, png_modification *me, int add)
3309 png_save_uint_32(pm->buffer+8, ((gama_modification*)me)->gamma);
3314 gama_modification_init(gama_modification *me, png_modifier *pm, double gammad)
3318 modification_init(&me->this);
3319 me->this.chunk = CHUNK_gAMA;
3320 me->this.modify_fn = gama_modify;
3321 me->this.add = CHUNK_PLTE;
3323 me->gamma = (png_fixed_point)g;
3324 me->this.next = pm->modifications;
3325 pm->modifications = &me->this;
3336 chrm_modify(png_modifier *pm, png_modification *me, int add)
3342 png_save_uint_32(pm->buffer+ 8, ((chrm_modification*)me)->wx);
3343 png_save_uint_32(pm->buffer+12, ((chrm_modification*)me)->wy);
3344 png_save_uint_32(pm->buffer+16, ((chrm_modification*)me)->rx);
3345 png_save_uint_32(pm->buffer+20, ((chrm_modification*)me)->ry);
3346 png_save_uint_32(pm->buffer+24, ((chrm_modification*)me)->gx);
3347 png_save_uint_32(pm->buffer+28, ((chrm_modification*)me)->gy);
3348 png_save_uint_32(pm->buffer+32, ((chrm_modification*)me)->bx);
3349 png_save_uint_32(pm->buffer+36, ((chrm_modification*)me)->by);
3354 chrm_modification_init(chrm_modification *me, png_modifier *pm,
3360 me->encoding = encoding;
3363 me->wx = fix(chromaticity_x(white));
3364 me->wy = fix(chromaticity_y(white));
3366 me->rx = fix(chromaticity_x(encoding->red));
3367 me->ry = fix(chromaticity_y(encoding->red));
3368 me->gx = fix(chromaticity_x(encoding->green));
3369 me->gy = fix(chromaticity_y(encoding->green));
3370 me->bx = fix(chromaticity_x(encoding->blue));
3371 me->by = fix(chromaticity_y(encoding->blue));
3373 modification_init(&me->this);
3374 me->this.chunk = CHUNK_cHRM;
3375 me->this.modify_fn = chrm_modify;
3376 me->this.add = CHUNK_PLTE;
3377 me->this.next = pm->modifications;
3378 pm->modifications = &me->this;
3388 srgb_modify(png_modifier *pm, png_modification *me, int add)
3394 pm->buffer[8] = ((srgb_modification*)me)->intent;
3399 srgb_modification_init(srgb_modification *me, png_modifier *pm, png_byte intent)
3401 modification_init(&me->this);
3402 me->this.chunk = CHUNK_sBIT;
3406 me->this.modify_fn = srgb_modify;
3407 me->this.add = CHUNK_PLTE;
3408 me->intent = intent;
3413 me->this.modify_fn = 0;
3414 me->this.add = 0;
3415 me->intent = 0;
3418 me->this.next = pm->modifications;
3419 pm->modifications = &me->this;
3430 sbit_modify(png_modifier *pm, png_modification *me, int add)
3432 png_byte sbit = ((sbit_modification*)me)->sbit;
3479 sbit_modification_init(sbit_modification *me, png_modifier *pm, png_byte sbit)
3481 modification_init(&me->this);
3482 me->this.chunk = CHUNK_sBIT;
3483 me->this.modify_fn = sbit_modify;
3484 me->this.add = CHUNK_PLTE;
3485 me->sbit = sbit;
3486 me->this.next = pm->modifications;
3487 pm->modifications = &me->this;
7928 * the future (this is just me trying to ensure it works!)