Home
last modified time | relevance | path

Searched refs:new_pitch (Results 1 – 3 of 3) sorted by relevance

/external/freetype/src/base/
Dftbitmap.c107 int new_pitch; in ft_bitmap_assure_buffer() local
123 new_pitch = ( width + xpixels + 7 ) >> 3; in ft_bitmap_assure_buffer()
127 new_pitch = ( width + xpixels + 3 ) >> 2; in ft_bitmap_assure_buffer()
131 new_pitch = ( width + xpixels + 1 ) >> 1; in ft_bitmap_assure_buffer()
137 new_pitch = ( width + xpixels ); in ft_bitmap_assure_buffer()
144 if ( ypixels == 0 && new_pitch <= pitch ) in ft_bitmap_assure_buffer()
178 if ( FT_QALLOC_MULT( buffer, new_pitch, bitmap->rows + ypixels ) ) in ft_bitmap_assure_buffer()
187 FT_MEM_COPY( buffer + new_pitch * ( ypixels + i ), in ft_bitmap_assure_buffer()
196 FT_MEM_COPY( buffer + new_pitch * i, in ft_bitmap_assure_buffer()
204 new_pitch = -new_pitch; in ft_bitmap_assure_buffer()
[all …]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
Dfxft_ftbitmap.c107 int new_pitch; in ft_bitmap_assure_buffer() local
123 new_pitch = ( width + xpixels + 7 ) >> 3; in ft_bitmap_assure_buffer()
127 new_pitch = ( width + xpixels + 3 ) >> 2; in ft_bitmap_assure_buffer()
131 new_pitch = ( width + xpixels + 1 ) >> 1; in ft_bitmap_assure_buffer()
137 new_pitch = ( width + xpixels ); in ft_bitmap_assure_buffer()
144 if ( ypixels == 0 && new_pitch <= pitch ) in ft_bitmap_assure_buffer()
178 if ( FT_QALLOC_MULT( buffer, new_pitch, bitmap->rows + ypixels ) ) in ft_bitmap_assure_buffer()
187 FT_MEM_COPY( buffer + new_pitch * ( ypixels + i ), in ft_bitmap_assure_buffer()
196 FT_MEM_COPY( buffer + new_pitch * i, in ft_bitmap_assure_buffer()
204 new_pitch = -new_pitch; in ft_bitmap_assure_buffer()
[all …]
/external/chromium_org/third_party/freetype/src/base/
Dftbitmap.c107 int new_pitch; in ft_bitmap_assure_buffer() local
123 new_pitch = ( width + xpixels + 7 ) >> 3; in ft_bitmap_assure_buffer()
127 new_pitch = ( width + xpixels + 3 ) >> 2; in ft_bitmap_assure_buffer()
131 new_pitch = ( width + xpixels + 1 ) >> 1; in ft_bitmap_assure_buffer()
137 new_pitch = ( width + xpixels ); in ft_bitmap_assure_buffer()
144 if ( ypixels == 0 && new_pitch <= pitch ) in ft_bitmap_assure_buffer()
178 if ( FT_QALLOC_MULT( buffer, new_pitch, bitmap->rows + ypixels ) ) in ft_bitmap_assure_buffer()
187 FT_MEM_COPY( buffer + new_pitch * ( ypixels + i ), in ft_bitmap_assure_buffer()
196 FT_MEM_COPY( buffer + new_pitch * i, in ft_bitmap_assure_buffer()
204 new_pitch = -new_pitch; in ft_bitmap_assure_buffer()
[all …]