/third_party/mesa3d/src/freedreno/fdl/ |
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 = 512}, [all …]
|
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 = 256}, [all …]
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/ |
D | MusicKeyboardView.java | 136 int pitch = mLowestPitch + i; in onSizeChanged() local 137 if (!isPitchBlack(pitch)) { in onSizeChanged() 157 int pitch = mLowestPitch + i; in makeBlackRectangles() local 158 int note = pitch % NOTES_PER_OCTAVE; in makeBlackRectangles() 182 int pitch = mLowestPitch + i; in onDraw() local 183 int note = pitch % NOTES_PER_OCTAVE; in onDraw() 186 Paint paint = mNotesOnByPitch[pitch] ? mWhiteOnKeyPaint in onDraw() 196 int pitch = mLowestPitch + i; in onDraw() local 197 int note = pitch % NOTES_PER_OCTAVE; in onDraw() 200 Paint paint = mNotesOnByPitch[pitch] ? mBlackOnKeyPaint in onDraw() [all …]
|
/third_party/skia/third_party/externals/freetype/src/base/ |
D | ftbitmap.c | 70 FT_Int pitch; in FT_Bitmap_Copy() local 85 source_pitch_sign = source->pitch < 0 ? -1 : 1; in FT_Bitmap_Copy() 86 target_pitch_sign = target->pitch < 0 ? -1 : 1; in FT_Bitmap_Copy() 92 target->pitch = -target->pitch; in FT_Bitmap_Copy() 98 pitch = source->pitch; in FT_Bitmap_Copy() 100 if ( pitch < 0 ) in FT_Bitmap_Copy() 101 pitch = -pitch; in FT_Bitmap_Copy() 102 size = (FT_ULong)pitch * source->rows; in FT_Bitmap_Copy() 106 FT_Int target_pitch = target->pitch; in FT_Bitmap_Copy() 139 t += (FT_ULong)pitch * ( target->rows - 1 ); in FT_Bitmap_Copy() [all …]
|
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 * 2] = FT_SHIFTCLAMP( fir[1] ); in ft_lcd_filter_fir() 174 col[pitch] = FT_SHIFTCLAMP( fir[2] ); in ft_lcd_filter_fir() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | ivi_dsp.h | 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, 84 void ff_ivi_row_haar8(const int32_t *in, int16_t *out, ptrdiff_t pitch, 97 void ff_ivi_col_haar8(const int32_t *in, int16_t *out, ptrdiff_t pitch, 110 void ff_ivi_inverse_haar_4x4(const int32_t *in, int16_t *out, ptrdiff_t pitch, 123 void ff_ivi_row_haar4(const int32_t *in, int16_t *out, ptrdiff_t pitch, 136 void ff_ivi_col_haar4(const int32_t *in, int16_t *out, ptrdiff_t pitch, 149 void ff_ivi_dc_haar_2d(const int32_t *in, int16_t *out, ptrdiff_t pitch, 162 void ff_ivi_inverse_slant_8x8(const int32_t *in, int16_t *out, ptrdiff_t pitch, [all …]
|
D | ivi_dsp.c | 41 ptrdiff_t pitch, back_pitch; in ff_ivi_recompose53() local 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+indx+1]; in ff_ivi_recompose53() 134 b1_3 = b1_1 - b1_2*6 + b1_ptr[pitch+indx+1]; in ff_ivi_recompose53() 145 b2_6 = b2_ptr[pitch+indx+1]; in ff_ivi_recompose53() [all …]
|
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 [all …]
|
D | svq1dec.c | 126 list[n++] = list[i] + (((level & 1) ? pitch : 1) << ((level >> 1) + 1));\ 165 ptrdiff_t pitch) in svq1_decode_block_intra() argument 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() argument 285 dst += pitch / 4; in svq1_decode_block_non_intra() 318 ptrdiff_t pitch, int x, int y) in svq1_skip_block() argument 324 src = &previous[x + y * pitch]; in svq1_skip_block() 329 src += pitch; in svq1_skip_block() [all …]
|
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_type2); in ivi_mc() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
D | Surface.cpp | 1188 …SurfaceImplementation(int width, int height, int depth, Format format, void *pixels, int pitch, in… 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,… 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 sli… 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 …]
|
D | ETC_Decoder.cpp | 92 …ces, unsigned char *dest, int nbChannels, int x, int y, int w, int h, int pitch, bool isSigned, bo… 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 alphaVa… 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, alphaValues, nonOpaquePunchThroughAlpha); in decodeBlock() [all …]
|
/third_party/ffmpeg/libavcodec/mips/ |
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() argument 335 temp_src = src_u - (pitch << 2); in ff_vp8_v_loop_filter8uv_msa() 336 LD_UB8(temp_src, pitch, p3_u, p2_u, p1_u, p0_u, q0_u, q1_u, q2_u, q3_u); in ff_vp8_v_loop_filter8uv_msa() [all …]
|
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 void ff_loop_filter_v_8_8_msa(uint8_t *src, ptrdiff_t pitch, in ff_loop_filter_v_8_8_msa() argument 270 LD_UB8((src - 4 * pitch), pitch, p3, p2, p1, p0, q0, q1, q2, q3); in ff_loop_filter_v_8_8_msa() 290 SD4(p1_d, p0_d, q0_d, q1_d, (src - 2 * pitch), pitch); in ff_loop_filter_v_8_8_msa() 319 src -= 3 * pitch; in ff_loop_filter_v_8_8_msa() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | recur1.types | 16 var cobalt = new cobalt.pitch(); 18 >new cobalt.pitch() : any 19 >cobalt.pitch : any 21 >pitch : any 23 cobalt.pitch = function() {} 24 >cobalt.pitch = function() {} : () => void 25 >cobalt.pitch : any 27 >pitch : any
|
/third_party/skia/third_party/externals/freetype/src/cache/ |
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 ) * sbit->height; in ftc_snode_load() 291 FT_Int pitch; in ftc_snode_weight() local 306 pitch = sbit->pitch; in ftc_snode_weight() 307 if ( pitch < 0 ) in ftc_snode_weight() [all …]
|
/third_party/mesa3d/src/gallium/frontends/clover/api/ |
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() 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() argument 90 if (any_of(greater(), map(multiplies(), pitch, region), tail(pitch))) in validate_object() 94 if (dot(pitch, origin) + size(pitch, region) > mem.size()) in validate_object() 168 const vector_t &pitch, const vector_t ®ion) { in validate_object() argument [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
D | ETC_Decoder.cpp | 91 …ces, unsigned char *dest, int nbChannels, int x, int y, int w, int h, int pitch, bool isSigned, bo… 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 alphaVa… 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, alphaValues, nonOpaquePunchThroughAlpha); in decodeBlock() [all …]
|
/third_party/skia/third_party/externals/freetype/src/smooth/ |
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 214 bitmap->pitch *= 3; in ft_smooth_raster_lcdv() 226 bitmap->buffer += pitch; in ft_smooth_raster_lcdv() 233 bitmap->buffer -= pitch; in ft_smooth_raster_lcdv() 237 bitmap->buffer += 2 * pitch; in ft_smooth_raster_lcdv() [all …]
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | turbojpeg.h | 755 int width, int pitch, int height, int pixelFormat, 1057 int width, int pitch, int height, int pixelFormat, 1117 int width, int pitch, int height, 1229 int width, int pitch, int height, int pixelFormat, 1393 int width, int pitch, int height, int pixelFormat, 1453 unsigned char *dstBuf, int width, int pitch, 1640 int width, int pitch, int height, int pixelFormat, 1716 int pitch, int height, int pixelSize, 1721 int pitch, int height, int pixelSize, 1725 int pitch, int height, int pixelFormat, [all …]
|
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 + i * ps + boffset] = b; in initBitmap() [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | vf_chromakey_cuda.cu | 46 int width, int height, int pitch, in change_alpha_channel() argument 105 int a_channel_resize = y_resize * pitch + x_resize; in change_alpha_channel() 118 int width, int height, int pitch, in Process_uchar() argument 128 dst_Y[y * pitch + x] = tex2D<float>(src_tex_Y, x, y)*255; in Process_uchar() 139 width, height, pitch, in Process_uchar() 147 int width, int height, int pitch, in Process_uchar2() argument 157 dst_Y[y * pitch + x] = tex2D<float>(src_tex_Y, x, y) * 255; in Process_uchar2() 169 width, height, pitch, in Process_uchar2()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
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/ |
D | main.c | 21 float pitch, in runSonic() argument 34 sonicSetPitch(stream, pitch); in runSonic() 78 float pitch = 1.0f; in main() local 93 pitch = atof(argv[xArg]); in main() 94 printf("Setting pitch to %0.2fX\n", pitch); in main() 134 runSonic(inFile, outFile, speed, pitch, rate, volume, emulateChordPitch, quality, in main()
|
/third_party/pulseaudio/sonic/doc/ |
D | index.md | 67 to change the pitch of a voice. It works well in streaming audio applications, 89 …sonicChangeShortSpeed(samples, numSamples, speed, pitch, rate, volume, useChordPitch, sampleRate, … 91 This will change the speed and pitch of the sound samples pointed to by samples, 98 scale volume or playback rate, and if you want normal pitch scaling, then call 101 sonicChangeShortSpeed(samples, numSamples, speed, pitch, 1.0f, 1.0f, 0, sampleRate, 1); 106 two pitch periods of voice as low as 65 Hz. In general, the latency is equal to 107 two pitch periods, which is typically closer to 20 milliseconds. 120 By default, a sonic stream sets the speed, pitch, rate, and volume to 1.0, which means 122 copies the input to the output to reduce CPU load. To change the speed, pitch, 126 sonicSetPitch(stream, pitch); [all …]
|