/external/libvpx/libvpx/vp8/common/arm/neon/ |
D | vp8_loopfilter_neon.c | 125 void vp8_loop_filter_horizontal_edge_y_neon(unsigned char *src, int pitch, in vp8_loop_filter_horizontal_edge_y_neon() argument 135 src -= (pitch << 2); in vp8_loop_filter_horizontal_edge_y_neon() 138 src += pitch; in vp8_loop_filter_horizontal_edge_y_neon() 140 src += pitch; in vp8_loop_filter_horizontal_edge_y_neon() 142 src += pitch; in vp8_loop_filter_horizontal_edge_y_neon() 144 src += pitch; in vp8_loop_filter_horizontal_edge_y_neon() 146 src += pitch; in vp8_loop_filter_horizontal_edge_y_neon() 148 src += pitch; in vp8_loop_filter_horizontal_edge_y_neon() 150 src += pitch; in vp8_loop_filter_horizontal_edge_y_neon() 156 src -= (pitch * 5); in vp8_loop_filter_horizontal_edge_y_neon() [all …]
|
D | loopfiltersimpleverticaledge_neon.c | 16 static INLINE void write_2x4(unsigned char *dst, int pitch, in write_2x4() argument 31 dst += pitch; in write_2x4() 33 dst += pitch; in write_2x4() 35 dst += pitch; in write_2x4() 37 dst += pitch; in write_2x4() 39 dst += pitch; in write_2x4() 41 dst += pitch; in write_2x4() 43 dst += pitch; in write_2x4() 47 static INLINE void write_2x8(unsigned char *dst, int pitch, in write_2x8() argument 50 write_2x4(dst, pitch, result); in write_2x8() [all …]
|
D | mbloopfilter_neon.c | 153 void vp8_mbloop_filter_horizontal_edge_y_neon(unsigned char *src, int pitch, in vp8_mbloop_filter_horizontal_edge_y_neon() argument 164 src -= (pitch << 2); in vp8_mbloop_filter_horizontal_edge_y_neon() 167 src += pitch; in vp8_mbloop_filter_horizontal_edge_y_neon() 169 src += pitch; in vp8_mbloop_filter_horizontal_edge_y_neon() 171 src += pitch; in vp8_mbloop_filter_horizontal_edge_y_neon() 173 src += pitch; in vp8_mbloop_filter_horizontal_edge_y_neon() 175 src += pitch; in vp8_mbloop_filter_horizontal_edge_y_neon() 177 src += pitch; in vp8_mbloop_filter_horizontal_edge_y_neon() 179 src += pitch; in vp8_mbloop_filter_horizontal_edge_y_neon() 185 src -= (pitch * 6); in vp8_mbloop_filter_horizontal_edge_y_neon() [all …]
|
/external/freetype/src/base/ |
D | ftbitmap.c | 61 FT_Int pitch; in FT_Bitmap_Copy() local 76 source_pitch_sign = source->pitch < 0 ? -1 : 1; in FT_Bitmap_Copy() 77 target_pitch_sign = target->pitch < 0 ? -1 : 1; in FT_Bitmap_Copy() 83 target->pitch = -target->pitch; in FT_Bitmap_Copy() 89 pitch = source->pitch; in FT_Bitmap_Copy() 91 if ( pitch < 0 ) in FT_Bitmap_Copy() 92 pitch = -pitch; in FT_Bitmap_Copy() 93 size = (FT_ULong)pitch * source->rows; in FT_Bitmap_Copy() 97 FT_Int target_pitch = target->pitch; in FT_Bitmap_Copy() 130 t += (FT_ULong)pitch * ( target->rows - 1 ); in FT_Bitmap_Copy() [all …]
|
D | ftlcdfil.c | 50 if ( bitmap->pitch < 0 ) in _ft_lcd_filter_fir() 51 line -= bitmap->pitch * (FT_Int)( bitmap->rows - 1 ); in _ft_lcd_filter_fir() 56 for ( ; height > 0; height--, line += bitmap->pitch ) in _ft_lcd_filter_fir() 110 FT_Int pitch = bitmap->pitch; in _ft_lcd_filter_fir() local 114 if ( bitmap->pitch < 0 ) in _ft_lcd_filter_fir() 115 column -= bitmap->pitch * (FT_Int)( bitmap->rows - 1 ); in _ft_lcd_filter_fir() 129 col += pitch; in _ft_lcd_filter_fir() 136 col += pitch; in _ft_lcd_filter_fir() 152 col[-2 * pitch] = (FT_Byte)pix; in _ft_lcd_filter_fir() 153 col += pitch; in _ft_lcd_filter_fir() [all …]
|
/external/pdfium/third_party/freetype/src/base/ |
D | ftbitmap.c | 61 FT_Int pitch; in FT_Bitmap_Copy() local 76 source_pitch_sign = source->pitch < 0 ? -1 : 1; in FT_Bitmap_Copy() 77 target_pitch_sign = target->pitch < 0 ? -1 : 1; in FT_Bitmap_Copy() 83 target->pitch = -target->pitch; in FT_Bitmap_Copy() 89 pitch = source->pitch; in FT_Bitmap_Copy() 91 if ( pitch < 0 ) in FT_Bitmap_Copy() 92 pitch = -pitch; in FT_Bitmap_Copy() 93 size = (FT_ULong)pitch * source->rows; in FT_Bitmap_Copy() 97 FT_Int target_pitch = target->pitch; in FT_Bitmap_Copy() 130 t += (FT_ULong)pitch * ( target->rows - 1 ); in FT_Bitmap_Copy() [all …]
|
D | ftlcdfil.c | 50 if ( bitmap->pitch < 0 ) in _ft_lcd_filter_fir() 51 line -= bitmap->pitch * (FT_Int)( bitmap->rows - 1 ); in _ft_lcd_filter_fir() 56 for ( ; height > 0; height--, line += bitmap->pitch ) in _ft_lcd_filter_fir() 110 FT_Int pitch = bitmap->pitch; in _ft_lcd_filter_fir() local 114 if ( bitmap->pitch < 0 ) in _ft_lcd_filter_fir() 115 column -= bitmap->pitch * (FT_Int)( bitmap->rows - 1 ); in _ft_lcd_filter_fir() 129 col += pitch; in _ft_lcd_filter_fir() 136 col += pitch; in _ft_lcd_filter_fir() 152 col[-2 * pitch] = (FT_Byte)pix; in _ft_lcd_filter_fir() 153 col += pitch; in _ft_lcd_filter_fir() [all …]
|
/external/swiftshader/src/Renderer/ |
D | Surface.cpp | 1173 …SurfaceImplementation(int width, int height, int depth, Format format, void *pixels, int pitch, in… in SurfaceImplementation() argument 1174 : Surface(width, height, depth, format, pixels, pitch, slice) {} in SurfaceImplementation() 1190 …Surface *Surface::create(int width, int height, int depth, Format format, void *pixels, int pitch,… in create() argument 1192 return new SurfaceImplementation(width, height, depth, format, pixels, pitch, slice); in create() 1200 …Surface::Surface(int width, int height, int depth, Format format, void *pixels, int pitch, int sli… in Surface() argument 1213 external.pitchB = pitch; in Surface() 1214 external.pitchP = external.bytes ? pitch / external.bytes : 0; in Surface() 3789 int pitch = internal.pitchB; in resolve() local 3830 source0 += pitch; in resolve() 3831 source1 += pitch; in resolve() [all …]
|
D | ETC_Decoder.cpp | 85 …sources, unsigned char *dest, int nbChannels, int x, int y, int w, int h, int pitch, bool isSigned) in DecodeBlock() 99 sDst += pitch; in DecodeBlock() 113 dest += pitch; in DecodeBlock() 119 …void decodeBlock(unsigned char *dest, int x, int y, int w, int h, int pitch, unsigned char alphaVa… in decodeBlock() 132 decodeTBlock(dest, x, y, w, h, pitch, alphaValues, nonOpaquePunchThroughAlpha); in decodeBlock() 136 decodeHBlock(dest, x, y, w, h, pitch, alphaValues, nonOpaquePunchThroughAlpha); in decodeBlock() 140 decodePlanarBlock(dest, x, y, w, h, pitch, alphaValues); in decodeBlock() 144 decodeDifferentialBlock(dest, x, y, w, h, pitch, alphaValues, nonOpaquePunchThroughAlpha); in decodeBlock() 149 decodeIndividualBlock(dest, x, y, w, h, pitch, alphaValues, nonOpaquePunchThroughAlpha); in decodeBlock() 335 …void decodeIndividualBlock(unsigned char *dest, int x, int y, int w, int h, int pitch, unsigned ch… in decodeIndividualBlock() [all …]
|
/external/libvpx/libvpx/vp8/common/mips/msa/ |
D | loopfilter_filters_msa.c | 209 static void loop_filter_horizontal_4_dual_msa(uint8_t *src, int32_t pitch, in loop_filter_horizontal_4_dual_msa() argument 220 LD_UB8((src - 4 * pitch), pitch, p3, p2, p1, p0, q0, q1, q2, q3); in loop_filter_horizontal_4_dual_msa() 237 ST_UB4(p1, p0, q0, q1, (src - 2 * pitch), pitch); in loop_filter_horizontal_4_dual_msa() 240 static void loop_filter_vertical_4_dual_msa(uint8_t *src, int32_t pitch, in loop_filter_vertical_4_dual_msa() argument 254 LD_UB8(src - 4, pitch, row0, row1, row2, row3, row4, row5, row6, row7); in loop_filter_vertical_4_dual_msa() 255 LD_UB8(src - 4 + (8 * pitch), pitch, row8, row9, row10, row11, row12, row13, in loop_filter_vertical_4_dual_msa() 282 ST4x8_UB(tmp2, tmp3, src, pitch); in loop_filter_vertical_4_dual_msa() 283 src += (8 * pitch); in loop_filter_vertical_4_dual_msa() 284 ST4x8_UB(tmp4, tmp5, src, pitch); in loop_filter_vertical_4_dual_msa() 287 static void mbloop_filter_horizontal_edge_y_msa(uint8_t *src, int32_t pitch, in mbloop_filter_horizontal_edge_y_msa() argument [all …]
|
/external/libvpx/libvpx/vpx_dsp/mips/ |
D | loopfilter_8_msa.c | 13 void vpx_lpf_horizontal_8_msa(uint8_t *src, int32_t pitch, in vpx_lpf_horizontal_8_msa() argument 26 LD_UB8((src - 4 * pitch), pitch, p3, p2, p1, p0, q0, q1, q2, q3); in vpx_lpf_horizontal_8_msa() 44 SD4(p1_d, p0_d, q0_d, q1_d, (src - 2 * pitch), pitch); in vpx_lpf_horizontal_8_msa() 71 src -= 3 * pitch; in vpx_lpf_horizontal_8_msa() 73 SD4(p2_d, p1_d, p0_d, q0_d, src, pitch); in vpx_lpf_horizontal_8_msa() 74 src += (4 * pitch); in vpx_lpf_horizontal_8_msa() 76 src += pitch; in vpx_lpf_horizontal_8_msa() 82 uint8_t *src, int32_t pitch, const uint8_t *b_limit0, const uint8_t *limit0, in vpx_lpf_horizontal_8_dual_msa() argument 95 LD_UB8(src - (4 * pitch), pitch, p3, p2, p1, p0, q0, q1, q2, q3); in vpx_lpf_horizontal_8_dual_msa() 116 ST_UB4(p1_out, p0_out, q0_out, q1_out, (src - 2 * pitch), pitch); in vpx_lpf_horizontal_8_dual_msa() [all …]
|
D | loopfilter_4_msa.c | 13 void vpx_lpf_horizontal_4_msa(uint8_t *src, int32_t pitch, in vpx_lpf_horizontal_4_msa() argument 22 LD_UB8((src - 4 * pitch), pitch, p3, p2, p1, p0, q0, q1, q2, q3); in vpx_lpf_horizontal_4_msa() 36 SD4(p1_d, p0_d, q0_d, q1_d, (src - 2 * pitch), pitch); in vpx_lpf_horizontal_4_msa() 39 void vpx_lpf_horizontal_4_dual_msa(uint8_t *src, int32_t pitch, in vpx_lpf_horizontal_4_dual_msa() argument 50 LD_UB8((src - 4 * pitch), pitch, p3, p2, p1, p0, q0, q1, q2, q3); in vpx_lpf_horizontal_4_dual_msa() 68 ST_UB4(p1, p0, q0, q1, (src - 2 * pitch), pitch); in vpx_lpf_horizontal_4_dual_msa() 71 void vpx_lpf_vertical_4_msa(uint8_t *src, int32_t pitch, in vpx_lpf_vertical_4_msa() argument 79 LD_UB8((src - 4), pitch, p3, p2, p1, p0, q0, q1, q2, q3); in vpx_lpf_vertical_4_msa() 94 ST4x4_UB(vec2, vec2, 0, 1, 2, 3, src, pitch); in vpx_lpf_vertical_4_msa() 95 src += 4 * pitch; in vpx_lpf_vertical_4_msa() [all …]
|
D | loopfilter_16_msa.c | 14 int32_t vpx_hz_lpf_t4_and_t8_16w(uint8_t *src, int32_t pitch, uint8_t *filter48, in vpx_hz_lpf_t4_and_t8_16w() argument 28 LD_UB8(src - (4 * pitch), pitch, p3, p2, p1, p0, q0, q1, q2, q3); in vpx_hz_lpf_t4_and_t8_16w() 41 ST_UB4(p1_out, p0_out, q0_out, q1_out, (src - 2 * pitch), pitch); in vpx_hz_lpf_t4_and_t8_16w() 80 void vpx_hz_lpf_t16_16w(uint8_t *src, int32_t pitch, uint8_t *filter48) { in vpx_hz_lpf_t16_16w() argument 93 LD_UB8((src - 8 * pitch), pitch, p7, p6, p5, p4, p3, p2, p1, p0); in vpx_hz_lpf_t16_16w() 94 LD_UB8(src, pitch, q0, q1, q2, q3, q4, q5, q6, q7); in vpx_hz_lpf_t16_16w() 101 src -= 3 * pitch; in vpx_hz_lpf_t16_16w() 102 ST_UB4(p2, p1, p0, q0, src, pitch); in vpx_hz_lpf_t16_16w() 103 src += (4 * pitch); in vpx_hz_lpf_t16_16w() 104 ST_UB2(q1, q2, src, pitch); in vpx_hz_lpf_t16_16w() [all …]
|
/external/libvpx/libvpx/vpx_dsp/ |
D | deblock.c | 116 void vpx_mbpost_proc_across_ip_c(unsigned char *src, int pitch, int rows, in vpx_mbpost_proc_across_ip_c() argument 156 s += pitch; in vpx_mbpost_proc_across_ip_c() 160 void vpx_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols, in vpx_mbpost_proc_down_c() argument 170 for (i = -8; i < 0; i++) s[i * pitch] = s[0]; in vpx_mbpost_proc_down_c() 175 for (i = 0; i < 17; i++) s[(i + rows) * pitch] = s[(rows - 1) * pitch]; in vpx_mbpost_proc_down_c() 178 sumsq += s[i * pitch] * s[i * pitch]; in vpx_mbpost_proc_down_c() 179 sum += s[i * pitch]; in vpx_mbpost_proc_down_c() 183 sumsq += s[7 * pitch] * s[7 * pitch] - s[-8 * pitch] * s[-8 * pitch]; in vpx_mbpost_proc_down_c() 184 sum += s[7 * pitch] - s[-8 * pitch]; in vpx_mbpost_proc_down_c() 190 if (r >= 8) s[-8 * pitch] = d[(r - 8) & 15]; in vpx_mbpost_proc_down_c() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_surface.c | 50 .pitch = _mesa_format_row_stride(format, width), in nouveau_surface_alloc() 54 s->pitch = align(s->pitch, 256); in nouveau_surface_alloc() 55 config.nv04.surf_pitch = s->pitch; in nouveau_surface_alloc() 66 s->pitch = align(s->pitch, 64); in nouveau_surface_alloc() 70 get_format_blocksy(format, height) * s->pitch, in nouveau_surface_alloc() 86 dst->pitch = src->pitch; in nouveau_surface_ref()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_blit.c | 161 if (src_mt->region->pitch > 32768 || in intel_miptree_blit() 162 dst_mt->region->pitch > 32768) { in intel_miptree_blit() 173 int src_pitch = src_mt->region->pitch; in intel_miptree_blit() 194 dst_mt->region->pitch, in intel_miptree_blit() 399 int pitch, cpp; in intelClearWithBlit() local 420 pitch = region->pitch; in intelClearWithBlit() 425 region->bo, pitch, in intelClearWithBlit() 443 BR13 |= pitch; in intelClearWithBlit() 601 GLuint pitch, height; in intel_emit_linear_blit() local 608 pitch = ROUND_DOWN_TO(MIN2(size, (1 << 15) - 1), 4); in intel_emit_linear_blit() [all …]
|
D | intel_regions.c | 110 GLuint width, GLuint height, GLuint pitch, in intel_region_alloc_internal() argument 122 region->pitch = pitch; in intel_region_alloc_internal() 177 GLuint width, GLuint height, GLuint pitch, in intel_region_alloc_for_handle() argument 197 width, height, pitch, tiling, buffer); in intel_region_alloc_for_handle() 211 GLuint width, GLuint height, GLuint pitch, in intel_region_alloc_for_fd() argument 232 width, height, pitch, tiling, buffer); in intel_region_alloc_for_fd() 323 uint32_t pitch = region->pitch; in intel_region_get_aligned_offset() local 336 pitch *= 2; in intel_region_get_aligned_offset() 343 return y * pitch + x * cpp; in intel_region_get_aligned_offset() 347 return y * pitch + x / (512 / cpp) * 4096; in intel_region_get_aligned_offset() [all …]
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_loopfilter.c | 298 int subsampling_factor, uint8_t *s, int pitch, unsigned int mask_16x16, in filter_selectively_vert_row2() argument 315 ss[1] = ss[0] + 8 * pitch; in filter_selectively_vert_row2() 319 vpx_lpf_vertical_16_dual(ss[0], pitch, lfis[0]->mblim, lfis[0]->lim, in filter_selectively_vert_row2() 323 vpx_lpf_vertical_16(ss[!(mask_16x16 & 1)], pitch, lfi->mblim, in filter_selectively_vert_row2() 330 vpx_lpf_vertical_8_dual(ss[0], pitch, lfis[0]->mblim, lfis[0]->lim, in filter_selectively_vert_row2() 335 vpx_lpf_vertical_8(ss[!(mask_8x8 & 1)], pitch, lfi->mblim, lfi->lim, in filter_selectively_vert_row2() 342 vpx_lpf_vertical_4_dual(ss[0], pitch, lfis[0]->mblim, lfis[0]->lim, in filter_selectively_vert_row2() 347 vpx_lpf_vertical_4(ss[!(mask_4x4 & 1)], pitch, lfi->mblim, lfi->lim, in filter_selectively_vert_row2() 355 ss[0] + 4, pitch, lfis[0]->mblim, lfis[0]->lim, lfis[0]->hev_thr, in filter_selectively_vert_row2() 359 vpx_lpf_vertical_4(ss[!(mask_4x4_int & 1)] + 4, pitch, lfi->mblim, in filter_selectively_vert_row2() [all …]
|
/external/freetype/src/cache/ |
D | ftcsbits.c | 48 FT_Int pitch = bitmap->pitch; in ftc_sbit_copy_bitmap() local 52 if ( pitch < 0 ) in ftc_sbit_copy_bitmap() 53 pitch = -pitch; in ftc_sbit_copy_bitmap() 55 size = (FT_ULong)pitch * bitmap->rows; in ftc_sbit_copy_bitmap() 158 !CHECK_CHAR( bitmap->pitch ) || in ftc_snode_load() 171 sbit->pitch = (FT_Char)bitmap->pitch; in ftc_snode_load() 184 *asize = (FT_ULong)FT_ABS( sbit->pitch ) * sbit->height; in ftc_snode_load() 285 FT_Int pitch; in ftc_snode_weight() local 300 pitch = sbit->pitch; in ftc_snode_weight() 301 if ( pitch < 0 ) in ftc_snode_weight() [all …]
|
/external/mesa3d/src/gallium/drivers/ilo/core/ |
D | ilo_builder_blt.h | 49 int16_t pitch; member 55 int16_t pitch; member 123 assert(dst->offset % cpp == 0 && dst->pitch % 4 == 0); in gen6_COLOR_BLT() 132 dst->pitch; in gen6_COLOR_BLT() 183 assert(dst->offset % dst_align == 0 && dst->pitch % dst_align == 0); in gen6_XY_COLOR_BLT() 187 dst->pitch >> dst_pitch_shift; in gen6_XY_COLOR_BLT() 222 assert(dst->offset % cpp == 0 && dst->pitch % 4 == 0); in gen6_SRC_COPY_BLT() 223 assert(src->offset % cpp == 0 && src->pitch % 4 == 0); in gen6_SRC_COPY_BLT() 232 dst->pitch; in gen6_SRC_COPY_BLT() 236 dw[5] = src->pitch; in gen6_SRC_COPY_BLT() [all …]
|
/external/libdrm/libkms/ |
D | intel.c | 78 unsigned size, pitch; in intel_bo_create() local 98 pitch = 64 * 4; in intel_bo_create() 101 pitch = width * 4; in intel_bo_create() 102 pitch = (pitch + 512 - 1) & ~(512 - 1); in intel_bo_create() 103 size = pitch * ((height + 4 - 1) & ~(4 - 1)); in intel_bo_create() 119 bo->base.pitch = pitch; in intel_bo_create() 122 if (type == KMS_BO_TYPE_SCANOUT_X8R8G8B8 && pitch > 512) { in intel_bo_create() 128 tile.stride = bo->base.pitch; in intel_bo_create()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_blit.c | 151 int pitch = mt->pitch; in blt_pitch() local 153 pitch /= 4; in blt_pitch() 154 return pitch; in blt_pitch() 193 tiling, mt->cpp, mt->pitch, in get_blit_intratile_offset_el() 208 assert(mt->pitch % 64 == 0); in get_blit_intratile_offset_el() 272 reverse ? -src_mt->pitch : src_mt->pitch, in emit_miptree_blit() 276 dst_mt->pitch, in emit_miptree_blit() 860 GLuint pitch, height; in intel_emit_linear_blit() local 869 pitch = ROUND_DOWN_TO(MIN2(size, (1 << 15) - 64), 4); in intel_emit_linear_blit() 870 height = (size < pitch || pitch == 0) ? 1 : size / pitch; in intel_emit_linear_blit() [all …]
|
/external/libvpx/libvpx/vp9/common/mips/dspr2/ |
D | vp9_itrans16_dspr2.c | 24 void vp9_iht16x16_256_add_dspr2(const int16_t *input, uint8_t *dest, int pitch, in vp9_iht16x16_256_add_dspr2() argument 38 idct16_cols_add_blk_dspr2(out, dest, pitch); in vp9_iht16x16_256_add_dspr2() 49 dest[j * pitch + i] = clip_pixel(ROUND_POWER_OF_TWO(temp_out[j], 6) + in vp9_iht16x16_256_add_dspr2() 50 dest[j * pitch + i]); in vp9_iht16x16_256_add_dspr2() 70 idct16_cols_add_blk_dspr2(temp_in, dest, pitch); in vp9_iht16x16_256_add_dspr2() 90 dest[j * pitch + i] = clip_pixel(ROUND_POWER_OF_TWO(temp_out[j], 6) + in vp9_iht16x16_256_add_dspr2() 91 dest[j * pitch + i]); in vp9_iht16x16_256_add_dspr2()
|
/external/pdfium/third_party/freetype/src/smooth/ |
D | ftsmooth.c | 113 FT_Pos width, height, pitch; in ft_smooth_render_generic() local 169 pitch = width; in ft_smooth_render_generic() 173 pitch = FT_PAD_CEIL( width, 4 ); in ft_smooth_render_generic() 191 pitch = FT_PAD_CEIL( width, 4 ); in ft_smooth_render_generic() 233 if ( FT_ALLOC( bitmap->buffer, (FT_ULong)( pitch * height ) ) ) in ft_smooth_render_generic() 248 bitmap->pitch = pitch; in ft_smooth_render_generic() 319 for ( hh = height_org; hh > 0; hh--, line += pitch ) in ft_smooth_render_generic() 341 FT_Byte* read = bitmap->buffer + ( height - height_org ) * pitch; in ft_smooth_render_generic() 348 ft_memcpy( write, read, pitch ); in ft_smooth_render_generic() 349 write += pitch; in ft_smooth_render_generic() [all …]
|
/external/freetype/src/smooth/ |
D | ftsmooth.c | 113 FT_Pos width, height, pitch; in ft_smooth_render_generic() local 169 pitch = width; in ft_smooth_render_generic() 173 pitch = FT_PAD_CEIL( width, 4 ); in ft_smooth_render_generic() 191 pitch = FT_PAD_CEIL( width, 4 ); in ft_smooth_render_generic() 233 if ( FT_ALLOC( bitmap->buffer, (FT_ULong)( pitch * height ) ) ) in ft_smooth_render_generic() 248 bitmap->pitch = pitch; in ft_smooth_render_generic() 319 for ( hh = height_org; hh > 0; hh--, line += pitch ) in ft_smooth_render_generic() 341 FT_Byte* read = bitmap->buffer + ( height - height_org ) * pitch; in ft_smooth_render_generic() 348 ft_memcpy( write, read, pitch ); in ft_smooth_render_generic() 349 write += pitch; in ft_smooth_render_generic() [all …]
|