/third_party/mesa3d/src/freedreno/fdl/ |
H A D | fd6_layout_test.c | 44 {.offset = 0, .pitch = 256}, 45 {.offset = 8192, .pitch = 256}, 46 {.offset = 12288, .pitch = 256}, 47 {.offset = 14336, .pitch = 256}, 48 {.offset = 15360, .pitch = 256}, 49 {.offset = 15872, .pitch = 256}, 67 {.offset = 0, .pitch = 4096}, 68 {.offset = 65536, .pitch = 2048}, 69 {.offset = 98304, .pitch = 1024}, 70 {.offset = 114688, .pitch [all...] |
H A D | fd5_layout_test.c | 47 {.offset = 0, .pitch = 256}, 48 {.offset = 8192, .pitch = 256}, 49 {.offset = 12288, .pitch = 256}, 50 {.offset = 14336, .pitch = 256}, 51 {.offset = 15360, .pitch = 256}, 52 {.offset = 15872, .pitch = 256}, 72 {.offset = 0, .pitch = 256}, 73 {.offset = 135168, .pitch = 256}, 74 {.offset = 176128, .pitch = 256}, 75 {.offset = 192512, .pitch [all...] |
H A D | fd6_layout.c | 148 /* align pitch to at least 16 pixels: in fdl6_layout() 170 layout->pitch0 = explicit_layout->pitch; in fdl6_layout() 200 uint32_t pitch = fdl_pitch(layout, level); in fdl6_layout() local 211 * The pitch is already sufficiently aligned, but height in fdl6_layout() 226 slice->size0 = align(nblocksy * pitch, 4096); in fdl6_layout() 233 /* If this level didn't reduce the pitch by half, then fix it up, in fdl6_layout() 236 uint32_t pitch = fdl_pitch(layout, level); in fdl6_layout() local 237 if (pitch != fdl_pitch(layout, level - 1) / 2) in fdl6_layout() 238 min_3d_layer_size = slice->size0 = nblocksy * pitch; in fdl6_layout() 244 min_3d_layer_size = slice->size0 = nblocksy * pitch; in fdl6_layout() [all...] |
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/ |
H A D | MusicKeyboardView.java | 136 int pitch = mLowestPitch + i; in onSizeChanged() 137 if (!isPitchBlack(pitch)) { in onSizeChanged() 157 int pitch = mLowestPitch + i; in makeBlackRectangles() 158 int note = pitch % NOTES_PER_OCTAVE; in makeBlackRectangles() 182 int pitch = mLowestPitch + i; in onDraw() 183 int note = pitch % NOTES_PER_OCTAVE; in onDraw() 186 Paint paint = mNotesOnByPitch[pitch] ? mWhiteOnKeyPaint in onDraw() 196 int pitch = mLowestPitch + i; in onDraw() 197 int note = pitch % NOTES_PER_OCTAVE; in onDraw() 200 Paint paint = mNotesOnByPitch[pitch] in onDraw() 277 fireKeyDown(int pitch) fireKeyDown() argument 285 fireKeyUp(int pitch) fireKeyUp() argument 304 isPitchBlack(int pitch) isPitchBlack() argument 349 setLowestPitch(int pitch) setLowestPitch() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | ivi_dsp.h | 42 * @param[in] dst_pitch pitch of the destination buffer 52 * @param[in] dst_pitch pitch of the destination buffer 62 * @param[in] pitch pitch to move to the next y line 67 void ff_ivi_inverse_haar_8x8(const int32_t *in, int16_t *out, ptrdiff_t pitch, 69 void ff_ivi_inverse_haar_8x1(const int32_t *in, int16_t *out, uint32_t pitch, 71 void ff_ivi_inverse_haar_1x8(const int32_t *in, int16_t *out, uint32_t pitch, 79 * @param[in] pitch pitch to move to the next y line 84 void ff_ivi_row_haar8(const int32_t *in, int16_t *out, ptrdiff_t pitch, [all...] |
H A D | ivi_dsp.c | 41 ptrdiff_t pitch, back_pitch; in ff_ivi_recompose53() local 45 /* all bands should have the same pitch */ in ff_ivi_recompose53() 46 pitch = plane->bands[0].pitch; in ff_ivi_recompose53() 60 pitch= 0; in ff_ivi_recompose53() 64 b0_2 = b0_ptr[pitch]; in ff_ivi_recompose53() 70 b1_3 = b1_1 - b1_2*6 + b1_ptr[pitch]; in ff_ivi_recompose53() 76 b2_5 = b2_ptr[pitch]; // b2[x ,y+1] in ff_ivi_recompose53() 85 b3_8 = b3_2 - b3_5*6 + b3_ptr[pitch]; in ff_ivi_recompose53() 117 b0_2 = b0_ptr[pitch in ff_ivi_recompose53() 196 ptrdiff_t pitch; ff_ivi_recompose_haar() local 271 ff_ivi_inverse_haar_8x8(const int32_t *in, int16_t *out, ptrdiff_t pitch, const uint8_t *flags) ff_ivi_inverse_haar_8x8() argument 326 ff_ivi_row_haar8(const int32_t *in, int16_t *out, ptrdiff_t pitch, const uint8_t *flags) ff_ivi_row_haar8() argument 351 ff_ivi_col_haar8(const int32_t *in, int16_t *out, ptrdiff_t pitch, const uint8_t *flags) ff_ivi_col_haar8() argument 380 ff_ivi_inverse_haar_4x4(const int32_t *in, int16_t *out, ptrdiff_t pitch, const uint8_t *flags) ff_ivi_inverse_haar_4x4() argument 427 ff_ivi_row_haar4(const int32_t *in, int16_t *out, ptrdiff_t pitch, const uint8_t *flags) ff_ivi_row_haar4() argument 449 ff_ivi_col_haar4(const int32_t *in, int16_t *out, ptrdiff_t pitch, const uint8_t *flags) ff_ivi_col_haar4() argument 473 ff_ivi_dc_haar_2d(const int32_t *in, int16_t *out, ptrdiff_t pitch, int blk_size) ff_ivi_dc_haar_2d() argument 537 ff_ivi_inverse_slant_8x8(const int32_t *in, int16_t *out, ptrdiff_t pitch, const uint8_t *flags) ff_ivi_inverse_slant_8x8() argument 577 ff_ivi_inverse_slant_4x4(const int32_t *in, int16_t *out, ptrdiff_t pitch, const uint8_t *flags) ff_ivi_inverse_slant_4x4() argument 617 ff_ivi_dc_slant_2d(const int32_t *in, int16_t *out, ptrdiff_t pitch, int blk_size) ff_ivi_dc_slant_2d() argument 630 ff_ivi_row_slant8(const int32_t *in, int16_t *out, ptrdiff_t pitch, const uint8_t *flags) ff_ivi_row_slant8() argument 650 ff_ivi_dc_row_slant(const int32_t *in, int16_t *out, ptrdiff_t pitch, int blk_size) ff_ivi_dc_row_slant() argument 668 ff_ivi_col_slant8(const int32_t *in, int16_t *out, ptrdiff_t pitch, const uint8_t *flags) ff_ivi_col_slant8() argument 695 ff_ivi_dc_col_slant(const int32_t *in, int16_t *out, ptrdiff_t pitch, int blk_size) ff_ivi_dc_col_slant() argument 709 ff_ivi_row_slant4(const int32_t *in, int16_t *out, ptrdiff_t pitch, const uint8_t *flags) ff_ivi_row_slant4() argument 729 ff_ivi_col_slant4(const int32_t *in, int16_t *out, ptrdiff_t pitch, const uint8_t *flags) ff_ivi_col_slant4() argument 752 ff_ivi_put_pixels_8x8(const int32_t *in, int16_t *out, ptrdiff_t pitch, const uint8_t *flags) ff_ivi_put_pixels_8x8() argument 762 ff_ivi_put_dc_pixel_8x8(const int32_t *in, int16_t *out, ptrdiff_t pitch, int blk_size) ff_ivi_put_dc_pixel_8x8() argument [all...] |
H A D | ivi.c | 76 ptrdiff_t pitch, int mc_type); 79 ptrdiff_t pitch, int mc_type, int mc_type2); 85 int ref_offs = offs + mv_y * band->pitch + mv_x; in ivi_mc() 86 int buf_size = band->pitch * band->aheight; in ivi_mc() 87 int min_size = band->pitch * (band->blk_size - 1) + band->blk_size; in ivi_mc() 88 int ref_size = (mc_type > 1) * band->pitch + (mc_type & 1); in ivi_mc() 97 mc(band->buf + offs, band->ref_buf + ref_offs, band->pitch, mc_type); in ivi_mc() 99 int ref_offs2 = offs + mv_y2 * band->pitch + mv_x2; in ivi_mc() 100 int ref_size2 = (mc_type2 > 1) * band->pitch + (mc_type2 & 1); in ivi_mc() 108 band->pitch, mc_type in ivi_mc() 761 int pitch = band->pitch; ivi_process_empty_tile() local 903 ptrdiff_t pitch = plane->bands[0].pitch; ivi_output_plane() local [all...] |
H A D | svq1dec.c | 126 list[n++] = list[i] + (((level & 1) ? pitch : 1) << ((level >> 1) + 1));\ 165 ptrdiff_t pitch) in svq1_decode_block_intra() 195 memset(&dst[y * (pitch / 4)], 0, width); in svq1_decode_block_intra() 211 memset(&dst[y * (pitch / 4)], mean, width); in svq1_decode_block_intra() 223 dst += pitch / 4; in svq1_decode_block_intra() 232 ptrdiff_t pitch) in svq1_decode_block_non_intra() 285 dst += pitch / 4; in svq1_decode_block_non_intra() 318 ptrdiff_t pitch, int x, int y) in svq1_skip_block() 324 src = &previous[x + y * pitch]; in svq1_skip_block() 329 src += pitch; in svq1_skip_block() 164 svq1_decode_block_intra(GetBitContext *bitbuf, uint8_t *pixels, ptrdiff_t pitch) svq1_decode_block_intra() argument 231 svq1_decode_block_non_intra(GetBitContext *bitbuf, uint8_t *pixels, ptrdiff_t pitch) svq1_decode_block_non_intra() argument 317 svq1_skip_block(uint8_t *current, uint8_t *previous, ptrdiff_t pitch, int x, int y) svq1_skip_block() argument 334 svq1_motion_inter_block(HpelDSPContext *hdsp, GetBitContext *bitbuf, uint8_t *current, uint8_t *previous, ptrdiff_t pitch, svq1_pmv *motion, int x, int y, int width, int height) svq1_motion_inter_block() argument 377 svq1_motion_inter_4v_block(HpelDSPContext *hdsp, GetBitContext *bitbuf, uint8_t *current, uint8_t *previous, ptrdiff_t pitch, svq1_pmv *motion, int x, int y, int width, int height) svq1_motion_inter_4v_block() argument 454 svq1_decode_delta_block(AVCodecContext *avctx, HpelDSPContext *hdsp, GetBitContext *bitbuf, uint8_t *current, uint8_t *previous, ptrdiff_t pitch, svq1_pmv *motion, int x, int y, int width, int height) svq1_decode_delta_block() argument [all...] |
H A D | sanm.c | 272 ptrdiff_t pitch; member 448 ctx->pitch = width; in init_sizes() 561 uint8_t *dst = ((uint8_t *)ctx->frm0) + left + top * ctx->pitch; in old_codec1() 598 dst += ctx->pitch; in old_codec1() 627 ptrdiff_t stride = ctx->pitch; in old_codec37() 865 ptrdiff_t stride = ctx->pitch; in old_codec47() 928 memcpy(ctx->frm0, ctx->frm2, ctx->pitch * ctx->height); in old_codec47() 931 memcpy(ctx->frm0, ctx->frm1, ctx->pitch * ctx->height); in old_codec47() 1004 frm += ctx->pitch; in decode_0() 1015 static void copy_block(uint16_t *pdest, uint16_t *psrc, int block_size, ptrdiff_t pitch) in copy_block() argument 1034 fill_block(uint16_t *pdest, uint16_t color, int block_size, ptrdiff_t pitch) fill_block() argument 1044 draw_glyph(SANMVideoContext *ctx, uint16_t *dst, int index, uint16_t fg_color, uint16_t bg_color, int block_size, ptrdiff_t pitch) draw_glyph() argument 1066 opcode_0xf7(SANMVideoContext *ctx, int cx, int cy, int block_size, ptrdiff_t pitch) opcode_0xf7() argument 1100 opcode_0xf8(SANMVideoContext *ctx, int cx, int cy, int block_size, ptrdiff_t pitch) opcode_0xf8() argument [all...] |
H A D | indeo2.c | 55 int pitch, const uint8_t *table) in ir2_decode_plane() 80 dst += pitch; in ir2_decode_plane() 94 dst[out] = dst[out - pitch]; in ir2_decode_plane() 101 t = dst[out - pitch] + (table[c * 2] - 128); in ir2_decode_plane() 105 t = dst[out - pitch] + (table[(c * 2) + 1] - 128); in ir2_decode_plane() 111 dst += pitch; in ir2_decode_plane() 117 int pitch, const uint8_t *table) in ir2_decode_plane_inter() 149 dst += pitch; in ir2_decode_plane_inter() 54 ir2_decode_plane(Ir2Context *ctx, int width, int height, uint8_t *dst, int pitch, const uint8_t *table) ir2_decode_plane() argument 116 ir2_decode_plane_inter(Ir2Context *ctx, int width, int height, uint8_t *dst, int pitch, const uint8_t *table) ir2_decode_plane_inter() argument
|
/third_party/skia/third_party/externals/freetype/src/base/ |
H A D | ftbitmap.c | 70 FT_Int pitch; in FT_EXPORT_DEF() local 85 source_pitch_sign = source->pitch < 0 ? -1 : 1; in FT_EXPORT_DEF() 86 target_pitch_sign = target->pitch < 0 ? -1 : 1; in FT_EXPORT_DEF() 92 target->pitch = -target->pitch; in FT_EXPORT_DEF() 98 pitch = source->pitch; in FT_EXPORT_DEF() 100 if ( pitch < 0 ) in FT_EXPORT_DEF() 101 pitch = -pitch; in FT_EXPORT_DEF() 165 unsigned int pitch; ft_bitmap_assure_buffer() local 314 FT_Int i, x, pitch; FT_EXPORT_DEF() local 973 int pitch, new_pitch; FT_EXPORT_DEF() local [all...] |
H A D | ftlcdfil.c | 83 FT_Int pitch = bitmap->pitch; in ft_lcd_filter_fir() local 89 if ( pitch > 0 && height > 0 ) in ft_lcd_filter_fir() 90 origin += pitch * (FT_Int)( height - 1 ); in ft_lcd_filter_fir() 101 for ( ; height > 0; height--, line -= pitch ) in ft_lcd_filter_fir() 152 col -= pitch; in ft_lcd_filter_fir() 159 col -= pitch; in ft_lcd_filter_fir() 161 for ( yy = 2; yy < height; yy++, col -= pitch ) in ft_lcd_filter_fir() 170 col[pitch * 2] = FT_SHIFTCLAMP( fir[0] ); in ft_lcd_filter_fir() 173 col[pitch * in ft_lcd_filter_fir() 189 FT_Int pitch = bitmap->pitch; _ft_lcd_filter_legacy() local [all...] |
/third_party/ffmpeg/libavcodec/mips/ |
H A D | vp8_lpf_msa.c | 297 void ff_vp8_v_loop_filter16_msa(uint8_t *src, ptrdiff_t pitch, int b_limit_in, in ff_vp8_v_loop_filter16_msa() argument 308 temp_src = src - (pitch << 2); in ff_vp8_v_loop_filter16_msa() 309 LD_UB8(temp_src, pitch, p3, p2, p1, p0, q0, q1, q2, q3); in ff_vp8_v_loop_filter16_msa() 314 temp_src = src - 3 * pitch; in ff_vp8_v_loop_filter16_msa() 315 ST_UB4(p2, p1, p0, q0, temp_src, pitch); in ff_vp8_v_loop_filter16_msa() 316 temp_src += (4 * pitch); in ff_vp8_v_loop_filter16_msa() 317 ST_UB2(q1, q2, temp_src, pitch); in ff_vp8_v_loop_filter16_msa() 321 ptrdiff_t pitch, int b_limit_in, int limit_in, in ff_vp8_v_loop_filter8uv_msa() 335 temp_src = src_u - (pitch << 2); in ff_vp8_v_loop_filter8uv_msa() 336 LD_UB8(temp_src, pitch, p3_ in ff_vp8_v_loop_filter8uv_msa() 320 ff_vp8_v_loop_filter8uv_msa(uint8_t *src_u, uint8_t *src_v, ptrdiff_t pitch, int b_limit_in, int limit_in, int thresh_in) ff_vp8_v_loop_filter8uv_msa() argument 374 ff_vp8_h_loop_filter16_msa(uint8_t *src, ptrdiff_t pitch, int b_limit_in, int limit_in, int thresh_in) ff_vp8_h_loop_filter16_msa() argument 439 ff_vp8_h_loop_filter8uv_msa(uint8_t *src_u, uint8_t *src_v, ptrdiff_t pitch, int b_limit_in, int limit_in, int thresh_in) ff_vp8_h_loop_filter8uv_msa() argument 505 ff_vp8_v_loop_filter_simple_msa(uint8_t *src, ptrdiff_t pitch, int b_limit_ptr) ff_vp8_v_loop_filter_simple_msa() argument 519 ff_vp8_h_loop_filter_simple_msa(uint8_t *src, ptrdiff_t pitch, int b_limit_ptr) ff_vp8_h_loop_filter_simple_msa() argument 547 ff_vp8_v_loop_filter8uv_inner_msa(uint8_t *src_u, uint8_t *src_v, ptrdiff_t pitch, int b_limit_in, int limit_in, int thresh_in) ff_vp8_v_loop_filter8uv_inner_msa() argument 589 ff_vp8_h_loop_filter8uv_inner_msa(uint8_t *src_u, uint8_t *src_v, ptrdiff_t pitch, int b_limit_in, int limit_in, int thresh_in) ff_vp8_h_loop_filter8uv_inner_msa() argument 623 ff_vp8_v_loop_filter16_inner_msa(uint8_t *src, ptrdiff_t pitch, int32_t e, int32_t i, int32_t h) ff_vp8_v_loop_filter16_inner_msa() argument 643 ff_vp8_h_loop_filter16_inner_msa(uint8_t *src, ptrdiff_t pitch, int32_t e, int32_t i, int32_t h) ff_vp8_h_loop_filter16_inner_msa() argument [all...] |
H A D | vp9_lpf_msa.c | 196 void ff_loop_filter_v_4_8_msa(uint8_t *src, ptrdiff_t pitch, in ff_loop_filter_v_4_8_msa() argument 206 LD_UB8((src - 4 * pitch), pitch, p3, p2, p1, p0, q0, q1, q2, q3); in ff_loop_filter_v_4_8_msa() 221 SD4(p1_d, p0_d, q0_d, q1_d, (src - 2 * pitch), pitch); in ff_loop_filter_v_4_8_msa() 225 void ff_loop_filter_v_44_16_msa(uint8_t *src, ptrdiff_t pitch, in ff_loop_filter_v_44_16_msa() argument 234 LD_UB8((src - 4 * pitch), pitch, p3, p2, p1, p0, q0, q1, q2, q3); in ff_loop_filter_v_44_16_msa() 252 ST_UB4(p1, p0, q0, q1, (src - 2 * pitch), pitch); in ff_loop_filter_v_44_16_msa() 255 ff_loop_filter_v_8_8_msa(uint8_t *src, ptrdiff_t pitch, int32_t b_limit_ptr, int32_t limit_ptr, int32_t thresh_ptr) ff_loop_filter_v_8_8_msa() argument 329 ff_loop_filter_v_88_16_msa(uint8_t *src, ptrdiff_t pitch, int32_t b_limit_ptr, int32_t limit_ptr, int32_t thresh_ptr) ff_loop_filter_v_88_16_msa() argument 408 ff_loop_filter_v_84_16_msa(uint8_t *src, ptrdiff_t pitch, int32_t b_limit_ptr, int32_t limit_ptr, int32_t thresh_ptr) ff_loop_filter_v_84_16_msa() argument 479 ff_loop_filter_v_48_16_msa(uint8_t *src, ptrdiff_t pitch, int32_t b_limit_ptr, int32_t limit_ptr, int32_t thresh_ptr) ff_loop_filter_v_48_16_msa() argument 551 vp9_hz_lpf_t4_and_t8_16w(uint8_t *src, ptrdiff_t pitch, uint8_t *filter48, int32_t b_limit_ptr, int32_t limit_ptr, int32_t thresh_ptr) vp9_hz_lpf_t4_and_t8_16w() argument 626 vp9_hz_lpf_t16_16w(uint8_t *src, ptrdiff_t pitch, uint8_t *filter48) vp9_hz_lpf_t16_16w() argument 958 ff_loop_filter_v_16_16_msa(uint8_t *src, ptrdiff_t pitch, int32_t b_limit_ptr, int32_t limit_ptr, int32_t thresh_ptr) ff_loop_filter_v_16_16_msa() argument 974 ff_loop_filter_v_16_8_msa(uint8_t *src, ptrdiff_t pitch, int32_t b_limit_ptr, int32_t limit_ptr, int32_t thresh_ptr) ff_loop_filter_v_16_8_msa() argument 1198 ff_loop_filter_h_4_8_msa(uint8_t *src, ptrdiff_t pitch, int32_t b_limit_ptr, int32_t limit_ptr, int32_t thresh_ptr) ff_loop_filter_h_4_8_msa() argument 1225 ff_loop_filter_h_44_16_msa(uint8_t *src, ptrdiff_t pitch, int32_t b_limit_ptr, int32_t limit_ptr, int32_t thresh_ptr) ff_loop_filter_h_44_16_msa() argument 1271 ff_loop_filter_h_8_8_msa(uint8_t *src, ptrdiff_t pitch, int32_t b_limit_ptr, int32_t limit_ptr, int32_t thresh_ptr) ff_loop_filter_h_8_8_msa() argument 1349 ff_loop_filter_h_88_16_msa(uint8_t *src, ptrdiff_t pitch, int32_t b_limit_ptr, int32_t limit_ptr, int32_t thresh_ptr) ff_loop_filter_h_88_16_msa() argument 1462 ff_loop_filter_h_84_16_msa(uint8_t *src, ptrdiff_t pitch, int32_t b_limit_ptr, int32_t limit_ptr, int32_t thresh_ptr) ff_loop_filter_h_84_16_msa() argument 1565 ff_loop_filter_h_48_16_msa(uint8_t *src, ptrdiff_t pitch, int32_t b_limit_ptr, int32_t limit_ptr, int32_t thresh_ptr) ff_loop_filter_h_48_16_msa() argument 1842 vp9_vt_lpf_t16_8w(uint8_t *src, uint8_t *src_org, ptrdiff_t pitch, uint8_t *filter48) vp9_vt_lpf_t16_8w() argument 2066 ff_loop_filter_h_16_8_msa(uint8_t *src, ptrdiff_t pitch, int32_t b_limit_ptr, int32_t limit_ptr, int32_t thresh_ptr) ff_loop_filter_h_16_8_msa() argument 2091 vp9_vt_lpf_t4_and_t8_16w(uint8_t *src, uint8_t *filter48, uint8_t *src_org, ptrdiff_t pitch, int32_t b_limit_ptr, int32_t limit_ptr, int32_t thresh_ptr) vp9_vt_lpf_t4_and_t8_16w() argument 2175 vp9_vt_lpf_t16_16w(uint8_t *src, uint8_t *src_org, ptrdiff_t pitch, uint8_t *filter48) vp9_vt_lpf_t16_16w() argument 2502 ff_loop_filter_h_16_16_msa(uint8_t *src, ptrdiff_t pitch, int32_t b_limit_ptr, int32_t limit_ptr, int32_t thresh_ptr) ff_loop_filter_h_16_16_msa() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
H A D | Surface.cpp | 1188 SurfaceImplementation(int width, int height, int depth, Format format, void *pixels, int pitch, int slice) in SurfaceImplementation() argument 1189 : Surface(width, height, depth, format, pixels, pitch, slice) {} in SurfaceImplementation() 1205 Surface *Surface::create(int width, int height, int depth, Format format, void *pixels, int pitch, int slice) in create() argument 1207 return new SurfaceImplementation(width, height, depth, format, pixels, pitch, slice); in create() 1215 Surface::Surface(int width, int height, int depth, Format format, void *pixels, int pitch, int slice) : lockable(true), renderTarget(false) in Surface() argument 1229 external.pitchB = pitch; in Surface() 1230 external.pitchP = external.bytes ? pitch / external.bytes : 0; in Surface() 3793 int pitch = internal.pitchB; in resolve() local 3834 source0 += pitch; in resolve() 3835 source1 += pitch; in resolve() [all...] |
H A D | ETC_Decoder.cpp | 92 static void DecodeBlock(const ETC2** sources, unsigned char *dest, int nbChannels, int x, int y, int w, int h, int pitch, bool isSigned, bool isEAC) in DecodeBlock() 106 dest += pitch; in DecodeBlock() 123 sDst += pitch; in DecodeBlock() 137 dest += pitch; in DecodeBlock() 144 void decodeBlock(unsigned char *dest, int x, int y, int w, int h, int pitch, unsigned char alphaValues[4][4], bool punchThroughAlpha) const in decodeBlock() 157 decodeTBlock(dest, x, y, w, h, pitch, alphaValues, nonOpaquePunchThroughAlpha); in decodeBlock() 161 decodeHBlock(dest, x, y, w, h, pitch, alphaValues, nonOpaquePunchThroughAlpha); in decodeBlock() 165 decodePlanarBlock(dest, x, y, w, h, pitch, alphaValues); in decodeBlock() 169 decodeDifferentialBlock(dest, x, y, w, h, pitch, alphaValues, nonOpaquePunchThroughAlpha); in decodeBlock() 174 decodeIndividualBlock(dest, x, y, w, h, pitch, alphaValue in decodeBlock() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
H A D | ETC_Decoder.cpp | 91 static void DecodeBlock(const ETC2 **sources, unsigned char *dest, int nbChannels, int x, int y, int w, int h, int pitch, bool isSigned, bool isEAC) in DecodeBlock() 105 dest += pitch; in DecodeBlock() 122 sDst += pitch; in DecodeBlock() 136 dest += pitch; in DecodeBlock() 143 void decodeBlock(unsigned char *dest, int x, int y, int w, int h, int pitch, unsigned char alphaValues[4][4], bool punchThroughAlpha) const in decodeBlock() 156 decodeTBlock(dest, x, y, w, h, pitch, alphaValues, nonOpaquePunchThroughAlpha); in decodeBlock() 160 decodeHBlock(dest, x, y, w, h, pitch, alphaValues, nonOpaquePunchThroughAlpha); in decodeBlock() 164 decodePlanarBlock(dest, x, y, w, h, pitch, alphaValues); in decodeBlock() 168 decodeDifferentialBlock(dest, x, y, w, h, pitch, alphaValues, nonOpaquePunchThroughAlpha); in decodeBlock() 173 decodeIndividualBlock(dest, x, y, w, h, pitch, alphaValue in decodeBlock() [all...] |
/third_party/skia/third_party/externals/freetype/src/cache/ |
H A D | ftcsbits.c | 47 FT_Int pitch = bitmap->pitch; in ftc_sbit_copy_bitmap() local 51 if ( pitch < 0 ) in ftc_sbit_copy_bitmap() 52 pitch = -pitch; in ftc_sbit_copy_bitmap() 54 size = (FT_ULong)pitch * bitmap->rows; in ftc_sbit_copy_bitmap() 155 !CHECK_SHRT( bitmap->pitch ) || in ftc_snode_load() 168 sbit->pitch = (FT_Short)bitmap->pitch; in ftc_snode_load() 190 *asize = (FT_ULong)FT_ABS( sbit->pitch ) * sbi in ftc_snode_load() 291 FT_Int pitch; FT_LOCAL_DEF() local [all...] |
/third_party/skia/third_party/externals/freetype/src/smooth/ |
H A D | ftsmooth.c | 82 int pitch; /* pitch to go down one row */ member 116 unsigned char* dst_line = target->origin - y * target->pitch; in ft_smooth_lcd_spans() 152 if ( bitmap->pitch < 0 ) in ft_smooth_raster_lcd() 156 + ( bitmap->rows - 1 ) * (unsigned int)bitmap->pitch; in ft_smooth_raster_lcd() 158 target.pitch = bitmap->pitch; in ft_smooth_raster_lcd() 200 int pitch = bitmap->pitch; in ft_smooth_raster_lcdv() local 213 /* Triple the pitch t in ft_smooth_raster_lcdv() [all...] |
/third_party/mesa3d/src/gallium/frontends/clover/api/ |
H A D | transfer.cpp | 45 pitch(const vector_t ®ion, vector_t pitch) { in pitch() argument 46 for (auto x : zip(tail(pitch), in pitch() 47 map(multiplies(), region, pitch))) { in pitch() 48 // The spec defines a value of zero as the natural pitch, in pitch() 54 return pitch; in pitch() 61 size(const vector_t &pitch, const vector_t ®ion) { in size() argument 65 return dot(pitch, region - vector_t{ 0, 1, 1 }); in size() 85 const vector_t &pitch, const vector_t ®ion) { in validate_object() 89 // The region must fit within the specified pitch, in validate_object() 84 validate_object(command_queue &q, buffer &mem, const vector_t &origin, const vector_t &pitch, const vector_t ®ion) validate_object() argument 167 validate_object(command_queue &q, const void *ptr, const vector_t &orig, const vector_t &pitch, const vector_t ®ion) validate_object() argument 279 vector_t pitch; global() member 297 vector_t pitch; global() member 313 vector_t pitch; global() member [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | recur1.js | 5 var cobalt = new cobalt.pitch(); 6 cobalt.pitch = function() {} 13 var cobalt = new cobalt.pitch();
14 cobalt.pitch = function () { };
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | turbojpeg.h | 704 * @param pitch bytes per line in the source image. Normally, this should be 755 int width, int pitch, int height, int pixelFormat, 1020 * @param pitch bytes per line in the source image. Normally, this should be 1057 int width, int pitch, int height, int pixelFormat, 1075 * @param pitch bytes per line in the source image. Normally, this should be 1117 int width, int pitch, int height, 1187 * image. This buffer should normally be <tt>pitch * scaledHeight</tt> bytes 1200 * @param pitch bytes per line in the destination image. Normally, this is 1207 * clever and use the pitch parameter to skip lines, etc. Setting this 1229 int width, int pitch, in [all...] |
H A D | tjunittest.c | 692 static void initBitmap(unsigned char *buf, int width, int pitch, int height, in initBitmap() argument 709 memset(&buf[row * pitch + i * ps], 0, ps); in initBitmap() 710 if (pf == TJPF_GRAY) buf[row * pitch + i * ps] = b; in initBitmap() 712 rgb_to_cmyk(r, g, b, &buf[row * pitch + i * ps + 0], in initBitmap() 713 &buf[row * pitch + i * ps + 1], in initBitmap() 714 &buf[row * pitch + i * ps + 2], in initBitmap() 715 &buf[row * pitch + i * ps + 3]); in initBitmap() 717 buf[row * pitch + i * ps + roffset] = r; in initBitmap() 718 buf[row * pitch + i * ps + goffset] = g; in initBitmap() 719 buf[row * pitch in initBitmap() 726 cmpBitmap(unsigned char *buf, int width, int pitch, int height, int pf, int flags, int gray2rgb) cmpBitmap() argument 782 int ps = tjPixelSize[pf], pitch = PAD(width * ps, align), loadWidth = 0, doBmpTest() local [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
H A D | nv30_transfer.c | 59 if (dst->offset & 63 || dst->pitch & 63 || dst->d > 1) in nv30_transfer_blit() 63 if (dst->cpp > 4 || (dst->cpp == 1 && !dst->pitch)) in nv30_transfer_blit() 188 if (!dst->pitch) { in nv30_transfer_rect_blit() 195 stride = dst->pitch; in nv30_transfer_rect_blit() 304 if (src->pitch) in nv30_transfer_rect_blit() 329 PUSH_DATA (push, 0x00100000 | src->pitch); in nv30_transfer_rect_blit() 375 if (!src->pitch || src->w > 1024 || src->h > 1024 || src->w < 2 || src->h < 2) in nv30_transfer_sifm() 384 if (!dst->pitch) { in nv30_transfer_sifm() 390 if (dst->pitch & 63) in nv30_transfer_sifm() 438 if (dst->pitch) { in nv30_transfer_rect_sifm() [all...] |
/third_party/pulseaudio/sonic/ |
H A D | main.c | 6 pitch, and scale volume. */ 21 float pitch, in runSonic() 34 sonicSetPitch(stream, pitch); in runSonic() 61 " -c -- Modify pitch by emulating vocal chords vibrating\n" in usage() 63 " -p pitch -- Set pitch scaling factor. 1.3 means 30%% higher.\n" in usage() 65 " -r rate -- Set playback rate. 2.0 means 2X faster, and 2X pitch.\n" in usage() 78 float pitch = 1.0f; in main() local 89 printf("Scaling pitch linearly.\n"); in main() 93 pitch in main() 17 runSonic( waveFile inFile, waveFile outFile, float speed, float pitch, float rate, float volume, int emulateChordPitch, int quality, int sampleRate, int numChannels) runSonic() argument [all...] |