Home
last modified time | relevance | path

Searched refs:pitch (Results 1 – 25 of 482) sorted by relevance

12345678910>>...20

/external/libvpx/libvpx/vp8/common/arm/neon/
Dvp8_loopfilter_neon.c129 int pitch, in vp8_loop_filter_horizontal_edge_y_neon() argument
139 src -= (pitch << 2); 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()
152 src += pitch; in vp8_loop_filter_horizontal_edge_y_neon()
154 src += pitch; in vp8_loop_filter_horizontal_edge_y_neon()
161 src -= (pitch * 5); in vp8_loop_filter_horizontal_edge_y_neon()
[all …]
Dloopfiltersimpleverticaledge_neon.c16 static INLINE void write_2x4(unsigned char *dst, int pitch, in write_2x4() argument
32 dst += pitch; in write_2x4()
34 dst += pitch; in write_2x4()
36 dst += pitch; in write_2x4()
38 dst += pitch; in write_2x4()
40 dst += pitch; in write_2x4()
42 dst += pitch; in write_2x4()
44 dst += pitch; in write_2x4()
48 static INLINE void write_2x8(unsigned char *dst, int pitch, in write_2x8() argument
51 write_2x4(dst, pitch, result); in write_2x8()
[all …]
Dmbloopfilter_neon.c157 int pitch, in vp8_mbloop_filter_horizontal_edge_y_neon() argument
168 src -= (pitch << 2); 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()
181 src += pitch; in vp8_mbloop_filter_horizontal_edge_y_neon()
183 src += pitch; in vp8_mbloop_filter_horizontal_edge_y_neon()
190 src -= (pitch * 6); in vp8_mbloop_filter_horizontal_edge_y_neon()
[all …]
/external/pdfium/third_party/freetype/src/base/
Dftbitmap.c61 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 …]
Dftlcdfil.c50 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/freetype/src/base/
Dftbitmap.c61 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 …]
Dftlcdfil.c50 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/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/base/
Dftbitmap.c61 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 …]
Dftlcdfil.c50 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/libvpx/libvpx/vp8/common/mips/msa/
Dloopfilter_filters_msa.c274 static void loop_filter_horizontal_4_dual_msa(uint8_t *src, int32_t pitch, in loop_filter_horizontal_4_dual_msa() argument
286 LD_UB8((src - 4 * pitch), pitch, p3, p2, p1, p0, q0, q1, q2, q3); in loop_filter_horizontal_4_dual_msa()
303 ST_UB4(p1, p0, q0, q1, (src - 2 * pitch), pitch); in loop_filter_horizontal_4_dual_msa()
306 static void loop_filter_vertical_4_dual_msa(uint8_t *src, int32_t pitch, in loop_filter_vertical_4_dual_msa() argument
321 LD_UB8(src - 4, pitch, row0, row1, row2, row3, row4, row5, row6, row7); in loop_filter_vertical_4_dual_msa()
322 LD_UB8(src - 4 + (8 * pitch), pitch, in loop_filter_vertical_4_dual_msa()
349 ST4x8_UB(tmp2, tmp3, src, pitch); in loop_filter_vertical_4_dual_msa()
350 src += (8 * pitch); in loop_filter_vertical_4_dual_msa()
351 ST4x8_UB(tmp4, tmp5, src, pitch); in loop_filter_vertical_4_dual_msa()
354 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/arm/
Dloopfilter_4_neon.c115 int pitch, in vpx_lpf_horizontal_4_neon() argument
132 psrc = src - (pitch << 2); in vpx_lpf_horizontal_4_neon()
137 s += pitch; in vpx_lpf_horizontal_4_neon()
139 s += pitch; in vpx_lpf_horizontal_4_neon()
141 s += pitch; in vpx_lpf_horizontal_4_neon()
143 s += pitch; in vpx_lpf_horizontal_4_neon()
145 s += pitch; in vpx_lpf_horizontal_4_neon()
147 s += pitch; in vpx_lpf_horizontal_4_neon()
149 s += pitch; in vpx_lpf_horizontal_4_neon()
156 s -= (pitch * 5); in vpx_lpf_horizontal_4_neon()
[all …]
Dloopfilter_8_neon.c268 int pitch, in vpx_lpf_horizontal_8_neon() argument
286 psrc = src - (pitch << 2); in vpx_lpf_horizontal_8_neon()
291 s += pitch; in vpx_lpf_horizontal_8_neon()
293 s += pitch; in vpx_lpf_horizontal_8_neon()
295 s += pitch; in vpx_lpf_horizontal_8_neon()
297 s += pitch; in vpx_lpf_horizontal_8_neon()
299 s += pitch; in vpx_lpf_horizontal_8_neon()
301 s += pitch; in vpx_lpf_horizontal_8_neon()
303 s += pitch; in vpx_lpf_horizontal_8_neon()
310 s -= (pitch * 6); in vpx_lpf_horizontal_8_neon()
[all …]
/external/libvpx/libvpx/vpx_dsp/mips/
Dloopfilter_8_msa.c13 void vpx_lpf_horizontal_8_msa(uint8_t *src, int32_t pitch, in vpx_lpf_horizontal_8_msa() argument
29 LD_UB8((src - 4 * pitch), pitch, p3, p2, p1, p0, q0, q1, q2, q3); in vpx_lpf_horizontal_8_msa()
47 SD4(p1_d, p0_d, q0_d, q1_d, (src - 2 * pitch), pitch); in vpx_lpf_horizontal_8_msa()
76 src -= 3 * pitch; in vpx_lpf_horizontal_8_msa()
78 SD4(p2_d, p1_d, p0_d, q0_d, src, pitch); in vpx_lpf_horizontal_8_msa()
79 src += (4 * pitch); in vpx_lpf_horizontal_8_msa()
81 src += pitch; in vpx_lpf_horizontal_8_msa()
86 void vpx_lpf_horizontal_8_dual_msa(uint8_t *src, int32_t pitch, in vpx_lpf_horizontal_8_dual_msa() argument
103 LD_UB8(src - (4 * pitch), pitch, p3, p2, p1, p0, q0, q1, q2, q3); in vpx_lpf_horizontal_8_dual_msa()
124 ST_UB4(p1_out, p0_out, q0_out, q1_out, (src - 2 * pitch), pitch); in vpx_lpf_horizontal_8_dual_msa()
[all …]
Dloopfilter_4_msa.c13 void vpx_lpf_horizontal_4_msa(uint8_t *src, int32_t pitch, in vpx_lpf_horizontal_4_msa() argument
25 LD_UB8((src - 4 * pitch), pitch, p3, p2, p1, p0, q0, q1, q2, q3); in vpx_lpf_horizontal_4_msa()
39 SD4(p1_d, p0_d, q0_d, q1_d, (src - 2 * pitch), pitch); in vpx_lpf_horizontal_4_msa()
42 void vpx_lpf_horizontal_4_dual_msa(uint8_t *src, int32_t pitch, in vpx_lpf_horizontal_4_dual_msa() argument
53 LD_UB8((src - 4 * pitch), pitch, p3, p2, p1, p0, q0, q1, q2, q3); in vpx_lpf_horizontal_4_dual_msa()
71 ST_UB4(p1, p0, q0, q1, (src - 2 * pitch), pitch); in vpx_lpf_horizontal_4_dual_msa()
74 void vpx_lpf_vertical_4_msa(uint8_t *src, int32_t pitch, in vpx_lpf_vertical_4_msa() argument
85 LD_UB8((src - 4), pitch, p3, p2, p1, p0, q0, q1, q2, q3); in vpx_lpf_vertical_4_msa()
100 ST4x4_UB(vec2, vec2, 0, 1, 2, 3, src, pitch); in vpx_lpf_vertical_4_msa()
101 src += 4 * pitch; in vpx_lpf_vertical_4_msa()
[all …]
/external/libvpx/libvpx/vp9/common/
Dvp9_loopfilter.c300 uint8_t *s, int pitch, in filter_selectively_vert_row2() argument
331 vpx_lpf_vertical_16_dual(s, pitch, lfi0->mblim, lfi0->lim, in filter_selectively_vert_row2()
334 vpx_lpf_vertical_16(s, pitch, lfi0->mblim, lfi0->lim, in filter_selectively_vert_row2()
337 vpx_lpf_vertical_16(s + 8 *pitch, pitch, lfi1->mblim, in filter_selectively_vert_row2()
344 vpx_lpf_vertical_8_dual(s, pitch, lfi0->mblim, lfi0->lim, in filter_selectively_vert_row2()
348 vpx_lpf_vertical_8(s, pitch, lfi0->mblim, lfi0->lim, lfi0->hev_thr, in filter_selectively_vert_row2()
351 vpx_lpf_vertical_8(s + 8 * pitch, pitch, lfi1->mblim, lfi1->lim, in filter_selectively_vert_row2()
358 vpx_lpf_vertical_4_dual(s, pitch, lfi0->mblim, lfi0->lim, in filter_selectively_vert_row2()
362 vpx_lpf_vertical_4(s, pitch, lfi0->mblim, lfi0->lim, lfi0->hev_thr, in filter_selectively_vert_row2()
365 vpx_lpf_vertical_4(s + 8 * pitch, pitch, lfi1->mblim, lfi1->lim, in filter_selectively_vert_row2()
[all …]
Dvp9_postproc.c94 int pitch = src_pixels_per_line; in vp9_post_proc_down_and_across_c() local
108 if (abs(v - p_src[col + i * pitch]) > flimit) in vp9_post_proc_down_and_across_c()
111 kernel += kernel5[2 + i] * p_src[col + i * pitch]; in vp9_post_proc_down_and_across_c()
152 src_ptr += pitch; in vp9_post_proc_down_and_across_c()
153 dst_ptr += pitch; in vp9_post_proc_down_and_across_c()
168 int pitch = src_pixels_per_line; in vp9_highbd_post_proc_down_and_across_c() local
181 if (abs(v - p_src[col + i * pitch]) > flimit) in vp9_highbd_post_proc_down_and_across_c()
184 kernel += kernel5[2 + i] * p_src[col + i * pitch]; in vp9_highbd_post_proc_down_and_across_c()
226 src_ptr += pitch; in vp9_highbd_post_proc_down_and_across_c()
239 void vp9_mbpost_proc_across_ip_c(uint8_t *src, int pitch, in vp9_mbpost_proc_across_ip_c() argument
[all …]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_surface.c50 .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/
Dintel_blit.c272 int pitch, cpp; in intelClearWithBlit() local
293 pitch = region->pitch; in intelClearWithBlit()
298 region->bo, (pitch * cpp), in intelClearWithBlit()
319 pitch /= 4; in intelClearWithBlit()
322 BR13 |= (pitch * cpp); in intelClearWithBlit()
488 GLuint pitch, height; in intel_emit_linear_blit() local
495 pitch = ROUND_DOWN_TO(MIN2(size, (1 << 15) - 1), 4); in intel_emit_linear_blit()
496 height = (pitch == 0) ? 1 : size / pitch; in intel_emit_linear_blit()
498 pitch, src_bo, src_offset, I915_TILING_NONE, in intel_emit_linear_blit()
499 pitch, dst_bo, dst_offset, I915_TILING_NONE, in intel_emit_linear_blit()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_blit.c272 int pitch, cpp; in intelClearWithBlit() local
293 pitch = region->pitch; in intelClearWithBlit()
298 region->bo, (pitch * cpp), in intelClearWithBlit()
319 pitch /= 4; in intelClearWithBlit()
322 BR13 |= (pitch * cpp); in intelClearWithBlit()
488 GLuint pitch, height; in intel_emit_linear_blit() local
495 pitch = ROUND_DOWN_TO(MIN2(size, (1 << 15) - 1), 4); in intel_emit_linear_blit()
496 height = (pitch == 0) ? 1 : size / pitch; in intel_emit_linear_blit()
498 pitch, src_bo, src_offset, I915_TILING_NONE, in intel_emit_linear_blit()
499 pitch, dst_bo, dst_offset, I915_TILING_NONE, in intel_emit_linear_blit()
[all …]
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_blit.c272 int pitch, cpp; in intelClearWithBlit() local
293 pitch = region->pitch; in intelClearWithBlit()
298 region->bo, (pitch * cpp), in intelClearWithBlit()
319 pitch /= 4; in intelClearWithBlit()
322 BR13 |= (pitch * cpp); in intelClearWithBlit()
488 GLuint pitch, height; in intel_emit_linear_blit() local
495 pitch = ROUND_DOWN_TO(MIN2(size, (1 << 15) - 1), 4); in intel_emit_linear_blit()
496 height = (pitch == 0) ? 1 : size / pitch; in intel_emit_linear_blit()
498 pitch, src_bo, src_offset, I915_TILING_NONE, in intel_emit_linear_blit()
499 pitch, dst_bo, dst_offset, I915_TILING_NONE, in intel_emit_linear_blit()
[all …]
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/cache/
Dftcsbits.c48 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/freetype/src/cache/
Dftcsbits.c48 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/opencv3/modules/cudalegacy/test/
DTestRectStdDev.cpp136 ncvStat = nppiStIntegral_8u32u_C1R(d_img.ptr(), d_img.pitch(), in process()
137 d_imgII.ptr(), d_imgII.pitch(), in process()
142 ncvStat = nppiStSqrIntegral_8u64u_C1R(d_img.ptr(), d_img.pitch(), in process()
143 d_imgSII.ptr(), d_imgSII.pitch(), in process()
148 ncvStat = nppiStRectStdDev_32f_C1R(d_imgII.ptr(), d_imgII.pitch(), in process()
149 d_imgSII.ptr(), d_imgSII.pitch(), in process()
150 d_norm.ptr(), d_norm.pitch(), in process()
159 ncvStat = nppiStIntegral_8u32u_C1R_host(h_img.ptr(), h_img.pitch(), in process()
160 h_imgII.ptr(), h_imgII.pitch(), in process()
164 ncvStat = nppiStSqrIntegral_8u64u_C1R_host(h_img.ptr(), h_img.pitch(), in process()
[all …]
/external/libdrm/libkms/
Dintel.c78 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/libvpx/libvpx/vp9/common/mips/dspr2/
Dvp9_itrans16_dspr2.c25 int pitch, int tx_type) { in vp9_iht16x16_256_add_dspr2() argument
42 idct16_cols_add_blk_dspr2(out, dest, pitch); in vp9_iht16x16_256_add_dspr2()
53 dest[j * pitch + i] = in vp9_iht16x16_256_add_dspr2()
55 + dest[j * pitch + i]); in vp9_iht16x16_256_add_dspr2()
76 idct16_cols_add_blk_dspr2(temp_in, dest, pitch); in vp9_iht16x16_256_add_dspr2()
97 dest[j * pitch + i] = in vp9_iht16x16_256_add_dspr2()
99 + dest[j * pitch + i]); in vp9_iht16x16_256_add_dspr2()

12345678910>>...20