Searched refs:pitch (Results 1 - 25 of 432) sorted by relevance

1234567891011>>

/external/libvpx/libvpx/vp8/common/arm/neon/
H A Dloopfiltersimpleverticaledge_neon.c16 static INLINE void write_2x4(unsigned char *dst, int pitch, argument
31 dst += pitch;
33 dst += pitch;
35 dst += pitch;
37 dst += pitch;
39 dst += pitch;
41 dst += pitch;
43 dst += pitch;
47 static INLINE void write_2x8(unsigned char *dst, int pitch, argument
50 write_2x4(dst, pitch, resul
55 write_2x8(unsigned char *dst, int pitch, const uint8x8x2_t result, const uint8x8x2_t result2) argument
94 read_4x8(unsigned char *src, int pitch) argument
152 read_4x8(unsigned char *src, int pitch) argument
[all...]
H A Dmbloopfilter_neon.c153 void vp8_mbloop_filter_horizontal_edge_y_neon(unsigned char *src, int pitch, argument
164 src -= (pitch << 2);
167 src += pitch;
169 src += pitch;
171 src += pitch;
173 src += pitch;
175 src += pitch;
177 src += pitch;
179 src += pitch;
185 src -= (pitch *
200 vp8_mbloop_filter_horizontal_edge_uv_neon(unsigned char *u, int pitch, unsigned char blimit, unsigned char limit, unsigned char thresh, unsigned char *v) argument
287 vp8_mbloop_filter_vertical_edge_y_neon(unsigned char *src, int pitch, unsigned char blimit, unsigned char limit, unsigned char thresh) argument
449 vp8_mbloop_filter_vertical_edge_uv_neon(unsigned char *u, int pitch, unsigned char blimit, unsigned char limit, unsigned char thresh, unsigned char *v) argument
[all...]
H A Dvp8_loopfilter_neon.c125 void vp8_loop_filter_horizontal_edge_y_neon(unsigned char *src, int pitch, argument
135 src -= (pitch << 2);
138 src += pitch;
140 src += pitch;
142 src += pitch;
144 src += pitch;
146 src += pitch;
148 src += pitch;
150 src += pitch;
156 src -= (pitch *
167 vp8_loop_filter_horizontal_edge_uv_neon(unsigned char *u, int pitch, unsigned char blimit, unsigned char limit, unsigned char thresh, unsigned char *v) argument
247 write_4x8(unsigned char *dst, int pitch, const uint8x8x4_t result) argument
315 vp8_loop_filter_vertical_edge_y_neon(unsigned char *src, int pitch, unsigned char blimit, unsigned char limit, unsigned char thresh) argument
425 vp8_loop_filter_vertical_edge_uv_neon(unsigned char *u, int pitch, unsigned char blimit, unsigned char limit, unsigned char thresh, unsigned char *v) argument
[all...]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
H A Dnouveau_surface.c50 .pitch = _mesa_format_row_stride(format, width),
54 s->pitch = align(s->pitch, 256);
55 config.nv04.surf_pitch = s->pitch;
66 s->pitch = align(s->pitch, 64);
70 get_format_blocksy(format, height) * s->pitch,
86 dst->pitch = src->pitch;
/external/freetype/src/base/
H A Dftbitmap.c61 FT_Int pitch; local
76 source_pitch_sign = source->pitch < 0 ? -1 : 1;
77 target_pitch_sign = target->pitch < 0 ? -1 : 1;
83 target->pitch = -target->pitch;
89 pitch = source->pitch;
91 if ( pitch < 0 )
92 pitch = -pitch;
156 unsigned int pitch; local
303 FT_Int i, x, pitch; local
[all...]
H A Dftlcdfil.c75 FT_Int pitch = bitmap->pitch; local
80 if ( pitch > 0 )
81 origin += pitch * (FT_Int)( height - 1 );
92 for ( ; height > 0; height--, line -= pitch )
143 col -= pitch;
150 col -= pitch;
152 for ( yy = 2; yy < height; yy++, col -= pitch )
161 col[pitch * 2] = FT_SHIFTCLAMP( fir[0] );
164 col[pitch *
181 FT_Int pitch = bitmap->pitch; local
[all...]
/external/libvpx/libvpx/vp8/encoder/mips/mmi/
H A Ddct_mmi.c46 void vp8_short_fdct4x4_mmi(int16_t *input, int16_t *output, int pitch) { argument
96 MMI_ADDU(%[ip], %[ip], %[pitch])
99 MMI_ADDU(%[ip], %[ip], %[pitch])
102 MMI_ADDU(%[ip], %[ip], %[pitch])
105 MMI_ADDU(%[ip], %[ip], %[pitch])
220 [ff_ph_8]"m"(ff_ph_8), [pitch]"r"(pitch), [output] "r"(output)
225 void vp8_short_fdct8x4_mmi(int16_t *input, int16_t *output, int pitch) { argument
226 vp8_short_fdct4x4_mmi(input, output, pitch);
227 vp8_short_fdct4x4_mmi(input + 4, output + 16, pitch);
230 vp8_short_walsh4x4_mmi(int16_t *input, int16_t *output, int pitch) argument
[all...]
/external/libvpx/libvpx/vp9/common/mips/dspr2/
H A Dvp9_itrans16_dspr2.c24 void vp9_iht16x16_256_add_dspr2(const int16_t *input, uint8_t *dest, int pitch, argument
38 idct16_cols_add_blk_dspr2(out, dest, pitch);
49 dest[j * pitch + i] = clip_pixel(ROUND_POWER_OF_TWO(temp_out[j], 6) +
50 dest[j * pitch + i]);
70 idct16_cols_add_blk_dspr2(temp_in, dest, pitch);
90 dest[j * pitch + i] = clip_pixel(ROUND_POWER_OF_TWO(temp_out[j], 6) +
91 dest[j * pitch + i]);
/external/libvpx/libvpx/vp8/common/mips/msa/
H A Dloopfilter_filters_msa.c209 static void loop_filter_horizontal_4_dual_msa(uint8_t *src, int32_t pitch, argument
220 LD_UB8((src - 4 * pitch), pitch, p3, p2, p1, p0, q0, q1, q2, q3);
237 ST_UB4(p1, p0, q0, q1, (src - 2 * pitch), pitch);
240 static void loop_filter_vertical_4_dual_msa(uint8_t *src, int32_t pitch, argument
254 LD_UB8(src - 4, pitch, row0, row1, row2, row3, row4, row5, row6, row7);
255 LD_UB8(src - 4 + (8 * pitch), pitch, row8, row9, row10, row11, row12, row13,
282 ST4x8_UB(tmp2, tmp3, src, pitch);
287 mbloop_filter_horizontal_edge_y_msa(uint8_t *src, int32_t pitch, const uint8_t b_limit_in, const uint8_t limit_in, const uint8_t thresh_in) argument
309 mbloop_filter_horizontal_edge_uv_msa(uint8_t *src_u, uint8_t *src_v, int32_t pitch, const uint8_t b_limit_in, const uint8_t limit_in, const uint8_t thresh_in) argument
363 mbloop_filter_vertical_edge_y_msa(uint8_t *src, int32_t pitch, const uint8_t b_limit_in, const uint8_t limit_in, const uint8_t thresh_in) argument
428 mbloop_filter_vertical_edge_uv_msa(uint8_t *src_u, uint8_t *src_v, int32_t pitch, const uint8_t b_limit_in, const uint8_t limit_in, const uint8_t thresh_in) argument
495 vp8_loop_filter_simple_horizontal_edge_msa(uint8_t *src, int32_t pitch, const uint8_t *b_limit_ptr) argument
507 vp8_loop_filter_simple_vertical_edge_msa(uint8_t *src, int32_t pitch, const uint8_t *b_limit_ptr) argument
539 loop_filter_horizontal_edge_uv_msa(uint8_t *src_u, uint8_t *src_v, int32_t pitch, const uint8_t b_limit_in, const uint8_t limit_in, const uint8_t thresh_in) argument
582 loop_filter_vertical_edge_uv_msa(uint8_t *src_u, uint8_t *src_v, int32_t pitch, const uint8_t b_limit_in, const uint8_t limit_in, const uint8_t thresh_in) argument
[all...]
/external/libvpx/libvpx/vpx_dsp/
H A Ddeblock.c117 void vpx_mbpost_proc_across_ip_c(unsigned char *src, int pitch, int rows, argument
157 s += pitch;
161 void vpx_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols, argument
171 for (i = -8; i < 0; i++) s[i * pitch] = s[0];
176 for (i = 0; i < 17; i++) s[(i + rows) * pitch] = s[(rows - 1) * pitch];
179 sumsq += s[i * pitch] * s[i * pitch];
180 sum += s[i * pitch];
184 sumsq += s[7 * pitch] *
[all...]
/external/libvpx/libvpx/vpx_dsp/mips/
H A Dloopfilter_4_msa.c14 void vpx_lpf_horizontal_4_msa(uint8_t *src, int32_t pitch, argument
23 LD_UB8((src - 4 * pitch), pitch, p3, p2, p1, p0, q0, q1, q2, q3);
37 SD4(p1_d, p0_d, q0_d, q1_d, (src - 2 * pitch), pitch);
40 void vpx_lpf_horizontal_4_dual_msa(uint8_t *src, int32_t pitch, argument
51 LD_UB8((src - 4 * pitch), pitch, p3, p2, p1, p0, q0, q1, q2, q3);
69 ST_UB4(p1, p0, q0, q1, (src - 2 * pitch), pitch);
72 vpx_lpf_vertical_4_msa(uint8_t *src, int32_t pitch, const uint8_t *b_limit_ptr, const uint8_t *limit_ptr, const uint8_t *thresh_ptr) argument
100 vpx_lpf_vertical_4_dual_msa(uint8_t *src, int32_t pitch, const uint8_t *b_limit0_ptr, const uint8_t *limit0_ptr, const uint8_t *thresh0_ptr, const uint8_t *b_limit1_ptr, const uint8_t *limit1_ptr, const uint8_t *thresh1_ptr) argument
[all...]
/external/libvpx/libvpx/vp8/encoder/
H A Ddct.c15 void vp8_short_fdct4x4_c(short *input, short *output, int pitch) { argument
33 ip += pitch / 2;
55 void vp8_short_fdct8x4_c(short *input, short *output, int pitch) { argument
56 vp8_short_fdct4x4_c(input, output, pitch);
57 vp8_short_fdct4x4_c(input + 4, output + 16, pitch);
60 void vp8_short_walsh4x4_c(short *input, short *output, int pitch) { argument
77 ip += pitch / 2;
/external/libdrm/libkms/
H A Dintel.c78 unsigned size, pitch; local
98 pitch = 64 * 4;
101 pitch = width * 4;
102 pitch = (pitch + 512 - 1) & ~(512 - 1);
103 size = pitch * ((height + 4 - 1) & ~(4 - 1));
119 bo->base.pitch = pitch;
122 if (type == KMS_BO_TYPE_SCANOUT_X8R8G8B8 && pitch > 512) {
128 tile.stride = bo->base.pitch;
[all...]
H A Dexynos.c64 unsigned size, pitch; local
84 pitch = 64 * 4;
87 pitch = width * 4;
88 pitch = (pitch + 512 - 1) & ~(512 - 1);
89 size = pitch * ((height + 4 - 1) & ~(4 - 1));
105 bo->base.pitch = pitch;
H A Dnouveau.c79 unsigned size, pitch; local
99 pitch = 64 * 4;
102 pitch = width * 4;
103 pitch = (pitch + 512 - 1) & ~(512 - 1);
104 size = pitch * height;
125 bo->base.pitch = pitch;
H A Dradeon.c81 unsigned size, pitch; local
98 pitch = 4 * 64;
102 pitch = width * 4;
103 pitch = (pitch + ALIGNMENT - 1) & ~(ALIGNMENT - 1);
104 size = pitch * height;
129 bo->base.pitch = pitch;
/external/swiftshader/src/Renderer/
H A DSurface.cpp1215 SurfaceImplementation(int width, int height, int depth, Format format, void *pixels, int pitch, int slice) argument
1216 : Surface(width, height, depth, format, pixels, pitch, slice) {}
1232 Surface *Surface::create(int width, int height, int depth, Format format, void *pixels, int pitch, int slice) argument
1234 return new SurfaceImplementation(width, height, depth, format, pixels, pitch, slice);
1242 Surface::Surface(int width, int height, int depth, Format format, void *pixels, int pitch, int slice) : lockable(true), renderTarget(false) argument
1256 external.pitchB = pitch;
1257 external.pitchP = external.bytes ? pitch / external.bytes : 0;
4038 int pitch = internal.pitchB; local
4079 source0 += pitch;
4080 source1 += pitch;
[all...]
/external/sonic/
H A Dmain.c6 pitch, and scale volume. */
21 float pitch,
34 sonicSetPitch(stream, pitch);
61 " -c -- Modify pitch by emulating vocal chords vibrating\n"
63 " -p pitch -- Set pitch scaling factor. 1.3 means 30%% higher.\n"
65 " -r rate -- Set playback rate. 2.0 means 2X faster, and 2X pitch.\n"
78 float pitch = 1.0f; local
89 printf("Scaling pitch linearly.\n");
93 pitch
17 runSonic( waveFile inFile, waveFile outFile, float speed, float pitch, float rate, float volume, int emulateChordPitch, int quality, int sampleRate, int numChannels) argument
[all...]
/external/freetype/src/cache/
H A Dftcsbits.c48 FT_Int pitch = bitmap->pitch; local
52 if ( pitch < 0 )
53 pitch = -pitch;
55 size = (FT_ULong)pitch * bitmap->rows;
160 !CHECK_CHAR( bitmap->pitch ) ||
173 sbit->pitch = (FT_Char)bitmap->pitch;
186 *asize = (FT_ULong)FT_ABS( sbit->pitch ) * sbi
287 FT_Int pitch; local
[all...]
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_regions.c110 GLuint width, GLuint height, GLuint pitch,
122 region->pitch = pitch;
177 GLuint width, GLuint height, GLuint pitch,
197 width, height, pitch, tiling, buffer);
211 GLuint width, GLuint height, GLuint pitch,
232 width, height, pitch, tiling, buffer);
323 uint32_t pitch = region->pitch; local
330 * gets transformed into a 32-high Y-tile. Accordingly, the pitch o
108 intel_region_alloc_internal(struct intel_screen *screen, GLuint cpp, GLuint width, GLuint height, GLuint pitch, uint32_t tiling, drm_intel_bo *buffer) argument
175 intel_region_alloc_for_handle(struct intel_screen *screen, GLuint cpp, GLuint width, GLuint height, GLuint pitch, GLuint handle, const char *name) argument
209 intel_region_alloc_for_fd(struct intel_screen *screen, GLuint cpp, GLuint width, GLuint height, GLuint pitch, GLuint size, int fd, const char *name) argument
[all...]
/external/speex/libspeex/
H A Dltp_bfin.h86 "LOOP pitch%= LC0 = P4 >> 1;\n\t"
87 "LOOP_BEGIN pitch%=;\n\t"
104 "LOOP_END pitch%=;\n\t"
157 void open_loop_nbest_pitch(spx_word16_t *sw, int start, int end, int len, int *pitch, spx_word16_t *gain, int N, char *stack) argument
175 pitch[i]=start;
232 " P0 = %4;\n\t" /* P0: best pitch */
246 : "=&d" (pitch[0])
265 pitch[N-1]=i;
275 pitch[k]=pitch[
[all...]
/external/libvpx/libvpx/vp8/common/
H A Dreconinter.h26 extern void vp8_build_inter_predictors_b(BLOCKD *d, int pitch,
/external/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_surface.h37 uint32_t pitch; member in struct:fd_surface
/external/mesa3d/src/gallium/drivers/ilo/core/
H A Dilo_builder_blt.h49 int16_t pitch; member in struct:gen6_blt_bo
55 int16_t pitch; member in struct:gen6_blt_xy_bo
123 assert(dst->offset % cpp == 0 && dst->pitch % 4 == 0);
132 dst->pitch;
183 assert(dst->offset % dst_align == 0 && dst->pitch % dst_align == 0);
187 dst->pitch >> dst_pitch_shift;
222 assert(dst->offset % cpp == 0 && dst->pitch % 4 == 0);
223 assert(src->offset % cpp == 0 && src->pitch % 4 == 0);
232 dst->pitch;
236 dw[5] = src->pitch;
[all...]
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv50_transfer.h11 uint32_t pitch; member in struct:nv50_m2mf_rect

Completed in 7999 milliseconds

1234567891011>>