Home | History | Annotate | Download | only in base

Lines Matching refs:source

42                   const FT_Bitmap  *source,
47 FT_Int pitch = source->pitch;
51 if ( source == target )
54 if ( source->buffer == NULL )
56 *target = *source;
63 size = (FT_ULong)( pitch * source->rows );
87 *target = *source;
90 FT_MEM_COPY( target->buffer, source->buffer, size );
376 const FT_Bitmap *source,
389 switch ( source->pixel_mode )
407 target->rows = source->rows;
408 target->width = source->width;
413 pad = source->width % alignment;
418 target->pitch = source->width + pad;
431 switch ( source->pixel_mode )
435 FT_Byte* s = source->buffer;
442 for ( i = source->rows; i > 0; i-- )
450 for ( j = source->width >> 3; j > 0; j-- )
469 j = source->width & 7;
483 s += source->pitch;
494 FT_Int width = source->width;
495 FT_Byte* s = source->buffer;
497 FT_Int s_pitch = source->pitch;
504 for ( i = source->rows; i > 0; i-- )
517 FT_Byte* s = source->buffer;
524 for ( i = source->rows; i > 0; i-- )
532 for ( j = source->width >> 2; j > 0; j-- )
546 j = source->width & 3;
560 s += source->pitch;
569 FT_Byte* s = source->buffer;
576 for ( i = source->rows; i > 0; i-- )
584 for ( j = source->width >> 1; j > 0; j-- )
596 if ( source->width & 1 )
599 s += source->pitch;