Home
last modified time | relevance | path

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

/external/pdfium/third_party/freetype/src/base/
Dftbitmap.c147 int new_pitch; in ft_bitmap_assure_buffer() local
163 new_pitch = ( width + xpixels + 7 ) >> 3; in ft_bitmap_assure_buffer()
167 new_pitch = ( width + xpixels + 3 ) >> 2; in ft_bitmap_assure_buffer()
171 new_pitch = ( width + xpixels + 1 ) >> 1; in ft_bitmap_assure_buffer()
177 new_pitch = ( width + xpixels ); in ft_bitmap_assure_buffer()
184 if ( ypixels == 0 && new_pitch <= pitch ) in ft_bitmap_assure_buffer()
219 if ( FT_QALLOC_MULT( buffer, new_pitch, bitmap->rows + ypixels ) ) in ft_bitmap_assure_buffer()
230 FT_MEM_COPY( buffer + new_pitch * ( ypixels + i ), in ft_bitmap_assure_buffer()
239 FT_MEM_COPY( buffer + new_pitch * i, in ft_bitmap_assure_buffer()
247 new_pitch = -new_pitch; in ft_bitmap_assure_buffer()
[all …]
/external/freetype/src/base/
Dftbitmap.c157 int new_pitch; in ft_bitmap_assure_buffer() local
173 new_pitch = (int)( ( width + xpixels + 7 ) >> 3 ); in ft_bitmap_assure_buffer()
177 new_pitch = (int)( ( width + xpixels + 3 ) >> 2 ); in ft_bitmap_assure_buffer()
181 new_pitch = (int)( ( width + xpixels + 1 ) >> 1 ); in ft_bitmap_assure_buffer()
187 new_pitch = (int)( width + xpixels ); in ft_bitmap_assure_buffer()
194 if ( ypixels == 0 && new_pitch <= pitch ) in ft_bitmap_assure_buffer()
229 if ( FT_QALLOC_MULT( buffer, new_pitch, bitmap->rows + ypixels ) ) in ft_bitmap_assure_buffer()
240 FT_MEM_COPY( buffer + (FT_UInt)new_pitch * ( ypixels + i ), in ft_bitmap_assure_buffer()
250 FT_MEM_COPY( buffer + (FT_UInt)new_pitch * i, in ft_bitmap_assure_buffer()
259 new_pitch = -new_pitch; in ft_bitmap_assure_buffer()
[all …]