Lines Matching defs:old_pixel
301 int32_t i,j,old_pixel,new_pixel,red_ind,green_ind,blue_ind ;
317 old_pixel = (int32_t) XGetPixel(reg_image,j,i) ;
324 red_ind = (old_pixel & reg->vis->red_mask) >> rShift ;
325 green_ind = (old_pixel & reg->vis->green_mask) >> gShift ;
326 blue_ind = (old_pixel & reg->vis->blue_mask) >> bShift ;
335 * new_pixel = old_pixel;
348 old_pixel = (int32_t) XGetPixel(reg_image,j,i) ;
349 red_ind = (old_pixel & reg->vis->red_mask) >> rShift ;
350 green_ind = (old_pixel & reg->vis->green_mask) >> gShift ;
351 blue_ind = (old_pixel & reg->vis->blue_mask) >> bShift ;
368 old_pixel = (int32_t) XGetPixel(reg_image,j,i) ;
371 ((colors[old_pixel].red >> 8) << RED_SHIFT)
372 |((colors[old_pixel].green >> 8) << GREEN_SHIFT)
373 |((colors[old_pixel].blue >> 8) << BLUE_SHIFT)