/external/libjpeg-turbo/ |
H A D | turbojpeg.c | 406 int rowPad=pitch-width*PS; \ 421 static unsigned char *toRGB(unsigned char *src, int width, int pitch, argument 466 int rowPad=pitch-width*PS; \ 483 int pitch, int height, int pixelFormat) 758 int width, int pitch, int height, int pixelFormat, unsigned char **jpegBuf, 770 if(srcBuf==NULL || width<=0 || pitch<0 || height<=0 || pixelFormat<0 775 if(pitch==0) pitch=width*tjPixelSize[pixelFormat]; 782 srcBuf=toRGB(srcBuf, width, pitch, height, pixelFormat, rgbBuf); 783 pitch 482 fromRGB(unsigned char *src, unsigned char *dst, int width, int pitch, int height, int pixelFormat) argument 757 tjCompress2(tjhandle handle, const unsigned char *srcBuf, int width, int pitch, int height, int pixelFormat, unsigned char **jpegBuf, unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) argument 835 tjCompress(tjhandle handle, unsigned char *srcBuf, int width, int pitch, int height, int pixelSize, unsigned char *jpegBuf, unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) argument 857 tjEncodeYUVPlanes(tjhandle handle, const unsigned char *srcBuf, int width, int pitch, int height, int pixelFormat, unsigned char **dstPlanes, int *strides, int subsamp, int flags) argument 1025 tjEncodeYUV3(tjhandle handle, const unsigned char *srcBuf, int width, int pitch, int height, int pixelFormat, unsigned char *dstBuf, int pad, int subsamp, int flags) argument 1061 tjEncodeYUV2(tjhandle handle, unsigned char *srcBuf, int width, int pitch, int height, int pixelFormat, unsigned char *dstBuf, int subsamp, int flags) argument 1069 tjEncodeYUV(tjhandle handle, unsigned char *srcBuf, int width, int pitch, int height, int pixelSize, unsigned char *dstBuf, int subsamp, int flags) argument 1376 tjDecompress2(tjhandle handle, const unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf, int width, int pitch, int height, int pixelFormat, int flags) argument 1482 tjDecompress(tjhandle handle, unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf, int width, int pitch, int height, int pixelSize, int flags) argument 1547 tjDecodeYUVPlanes(tjhandle handle, const unsigned char **srcPlanes, const int *strides, int subsamp, unsigned char *dstBuf, int width, int pitch, int height, int pixelFormat, int flags) argument 1715 tjDecodeYUV(tjhandle handle, const unsigned char *srcBuf, int pad, int subsamp, unsigned char *dstBuf, int width, int pitch, int height, int pixelFormat, int flags) argument [all...] |
/external/pdfium/core/fxcodec/codec/ |
H A D | fx_codec_fax.cpp | 460 uint32_t pitch, 488 uint32_t pitch, 493 : CCodec_ScanlineDecoder(width, height, width, height, 1, 1, pitch), 501 m_ScanlineBuf(pitch), 502 m_RefBuf(pitch) {} 567 int pitch) { 568 if (pitch == 0) 569 pitch = (width + 7) / 8; 571 std::vector<uint8_t> ref_buf(pitch, 0xff); 574 uint8_t* line_buf = dest_buf + iRow * pitch; 484 CCodec_FaxDecoder(const uint8_t* src_buf, uint32_t src_size, int width, int height, uint32_t pitch, int K, bool EndOfLine, bool EncodedByteAlign, bool BlackIs1) argument 561 FaxG4Decode(const uint8_t* src_buf, uint32_t src_size, int* pbitpos, uint8_t* dest_buf, int width, int height, int pitch) argument 755 CCodec_FaxEncoder(const uint8_t* src_buf, int width, int height, int pitch) argument 793 FaxEncode( const uint8_t* src_buf, int width, int height, int pitch, std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf, uint32_t* dest_size) argument [all...] |
H A D | fx_codec.cpp | 1637 // Aligning the pitch to 4 bytes requires an integer overflow check. 1638 FX_SAFE_UINT32 pitch = width; local 1639 pitch *= nComps; 1640 pitch *= bpc; 1641 pitch += 31; 1642 pitch /= 32; 1643 pitch *= 4; 1644 if (!pitch.IsValid()) { 1647 m_Pitch = pitch.ValueOrDie();
|
/external/sonic/ |
H A D | sonic.c | 28 float pitch; member in struct:sonicStreamStruct 102 /* Get the pitch of the stream. */ 106 return stream->pitch; 109 /* Set the pitch of the stream. */ 112 float pitch) 114 stream->pitch = pitch; 124 /* Set the playback rate of the stream. This scales pitch and speed at the same time. */ 135 /* Get the vocal chord pitch setting. */ 142 /* Set the vocal chord mode for pitch computatio 110 sonicSetPitch( sonicStream stream, float pitch) argument 845 float pitch = stream->pitch; local 1124 sonicChangeFloatSpeed( float *samples, int numSamples, float speed, float pitch, float rate, float volume, int useChordPitch, int sampleRate, int numChannels) argument 1151 sonicChangeShortSpeed( short *samples, int numSamples, float speed, float pitch, float rate, float volume, int useChordPitch, int sampleRate, int numChannels) argument [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | gen7_misc_state.c | 108 OUT_BATCH((depth_mt ? depth_mt->pitch - 1 : 0) | 154 (hiz_buf->aux_base.pitch - 1)); 174 /* The stencil buffer has quirky pitch requirements. From the 178 * The pitch must be set to 2x the value computed based on width, as 186 (2 * stencil_mt->pitch - 1));
|
H A D | intel_mipmap_tree.c | 577 /* This function computes Yf/Ys tiled bo size, alignment and pitch. */ 580 unsigned long *pitch) 601 *pitch = stride; 632 * pitch == 0 || height == 0 indicates the null texture 645 unsigned long pitch; local 651 size = intel_get_yf_ys_bo_size(mt, &alignment, &pitch); 661 mt->cpp, &mt->tiling, &pitch, 666 mt->cpp, &mt->tiling, &pitch, 671 mt->pitch = pitch; 579 intel_get_yf_ys_bo_size(struct intel_mipmap_tree *mt, unsigned *alignment, unsigned long *pitch) argument 700 unsigned long pitch = mt->pitch; local 761 intel_miptree_create_for_bo(struct brw_context *brw, drm_intel_bo *bo, mesa_format format, uint32_t offset, uint32_t width, uint32_t height, uint32_t depth, int pitch, uint32_t layout_flags) argument 824 intel_update_winsys_renderbuffer_miptree(struct brw_context *intel, struct intel_renderbuffer *irb, drm_intel_bo *bo, uint32_t width, uint32_t height, uint32_t pitch) argument 1232 uint32_t pitch = mt->pitch; local 1617 unsigned long pitch; local 1758 unsigned long pitch; local 1855 unsigned long pitch; local [all...] |
H A D | intel_screen.c | 152 irb->mt->pitch, 394 image->pitch = mt->pitch; 408 int name, int pitch, void *loaderPrivate) 425 image->pitch = pitch * cpp; 467 image->pitch = irb->mt->pitch; 552 unsigned long pitch; local 571 &pitch, 406 intel_create_image_from_name(__DRIscreen *dri_screen, int width, int height, int format, int name, int pitch, void *loaderPrivate) argument 1955 unsigned long pitch; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
H A D | radeon_tex_copy.c | 91 fprintf(stderr, "from (%dx%d) width %d, height %d, offset %d, pitch %d\n", 92 x, y, rrb->base.Base.Width, rrb->base.Base.Height, (uint32_t) src_offset, rrb->pitch/rrb->cpp); 101 if (!radeon->vtbl.check_blit(dst_mesaformat, rrb->pitch / rrb->cpp)) { 128 return radeon->vtbl.blit(ctx, rrb->bo, src_offset, src_mesaformat, rrb->pitch/rrb->cpp,
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
H A D | radeon_tex_copy.c | 91 fprintf(stderr, "from (%dx%d) width %d, height %d, offset %d, pitch %d\n", 92 x, y, rrb->base.Base.Width, rrb->base.Base.Height, (uint32_t) src_offset, rrb->pitch/rrb->cpp); 101 if (!radeon->vtbl.check_blit(dst_mesaformat, rrb->pitch / rrb->cpp)) { 128 return radeon->vtbl.blit(ctx, rrb->bo, src_offset, src_mesaformat, rrb->pitch/rrb->cpp,
|
/external/libdrm/radeon/ |
H A D | radeon_bo_gem.c | 236 uint32_t pitch) 243 args.pitch = pitch; 253 uint32_t *pitch) 269 *pitch = args.pitch; 235 bo_set_tiling(struct radeon_bo_int *boi, uint32_t tiling_flags, uint32_t pitch) argument 252 bo_get_tiling(struct radeon_bo_int *boi, uint32_t *tiling_flags, uint32_t *pitch) argument
|
/external/libvpx/libvpx/vp8/encoder/mips/msa/ |
H A D | dct_msa.c | 69 void vp8_short_fdct4x4_msa(int16_t *input, int16_t *output, int32_t pitch) { argument 77 LD_SH4(input, pitch / 2, in0, in1, in2, in3); 115 void vp8_short_fdct8x4_msa(int16_t *input, int16_t *output, int32_t pitch) { argument 123 LD_SH4(input, pitch / 2, in0, in1, in2, in3); 168 void vp8_short_walsh4x4_msa(int16_t *input, int16_t *output, int32_t pitch) { argument 172 LD_SH4(input, pitch / 2, in0_h, in1_h, in2_h, in3_h);
|
/external/libvpx/libvpx/vp8/encoder/x86/ |
H A D | dct_sse2.asm | 18 %define pitch rax 35 %define pitch r8 40 %define pitch rdx 48 %define pitch 65 ;void vp8_short_fdct4x4_sse2(short *input, short *output, int pitch) 72 movq xmm2, MMWORD PTR[input+ pitch] ;13 12 11 10 73 lea input, [input+2*pitch] 75 movq xmm3, MMWORD PTR[input+ pitch] ;33 32 31 30 170 ;void vp8_short_fdct8x4_sse2(short *input, short *output, int pitch) 178 movdqa xmm2, [input+ pitch] [all...] |
/external/libopus/ |
H A D | celt_sources.mk | 14 celt/pitch.c \
|
/external/libvpx/config/x86/ |
H A D | vp8_rtcd.h | 178 void vp8_short_fdct4x4_c(short *input, short *output, int pitch); 179 void vp8_short_fdct4x4_sse2(short *input, short *output, int pitch); 182 void vp8_short_fdct8x4_c(short *input, short *output, int pitch); 183 void vp8_short_fdct8x4_sse2(short *input, short *output, int pitch); 186 void vp8_short_idct4x4llm_c(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride); 187 void vp8_short_idct4x4llm_mmx(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride); 197 void vp8_short_walsh4x4_c(short *input, short *output, int pitch); 198 void vp8_short_walsh4x4_sse2(short *input, short *output, int pitch);
|
/external/libvpx/config/x86_64/ |
H A D | vp8_rtcd.h | 178 void vp8_short_fdct4x4_c(short *input, short *output, int pitch); 179 void vp8_short_fdct4x4_sse2(short *input, short *output, int pitch); 182 void vp8_short_fdct8x4_c(short *input, short *output, int pitch); 183 void vp8_short_fdct8x4_sse2(short *input, short *output, int pitch); 186 void vp8_short_idct4x4llm_c(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride); 187 void vp8_short_idct4x4llm_mmx(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride); 197 void vp8_short_walsh4x4_c(short *input, short *output, int pitch); 198 void vp8_short_walsh4x4_sse2(short *input, short *output, int pitch);
|
/external/libvpx/libvpx/vp8/common/arm/ |
H A D | loopfilter_arm.c | 16 typedef void loopfilter_y_neon(unsigned char *src, int pitch, 19 typedef void loopfilter_uv_neon(unsigned char *u, int pitch,
|
/external/mesa3d/src/gallium/auxiliary/renderonly/ |
H A D | renderonly.c | 101 scanout->stride = create_dumb.pitch; 114 handle.stride = create_dumb.pitch;
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_dma.c | 132 unsigned pitch, 158 pitch_tile_max = ((pitch / bpp) / 8) - 1; 181 addr += linear_y * pitch + linear_x * bpp; 193 size = copy_height * pitch; 199 if (cheight * pitch > SI_DMA_COPY_MAX_DWORD_ALIGNED_SIZE) { 200 cheight = SI_DMA_COPY_MAX_DWORD_ALIGNED_SIZE / pitch; 202 size = cheight * pitch; 215 addr += cheight * pitch; 120 si_dma_copy_tile(struct si_context *ctx, struct pipe_resource *dst, unsigned dst_level, unsigned dst_x, unsigned dst_y, unsigned dst_z, struct pipe_resource *src, unsigned src_level, unsigned src_x, unsigned src_y, unsigned src_z, unsigned copy_height, unsigned pitch, unsigned bpp) argument
|
/external/pdfium/core/fxge/dib/ |
H A D | cfx_dibitmap.h | 27 uint32_t pitch = 0); 101 uint32_t* pitch,
|
/external/vulkan-validation-layers/libs/glm/gtx/ |
H A D | euler_angles.hpp | 119 T const & pitch, 127 T const & pitch,
|
/external/freetype/src/pfr/ |
H A D | pfrsbit.c | 41 FT_Int pitch; /* line size in bytes */ member in struct:PFR_BitWriter_ 55 writer->pitch = target->pitch; 62 writer->line += writer->pitch * (FT_Int)( target->rows - 1 ); 63 writer->pitch = -writer->pitch; 104 writer->line += writer->pitch; 183 writer->line += writer->pitch; 249 writer->line += writer->pitch; 759 /* XXX: needs casts to fit FT_Bitmap.{width|rows|pitch} */ [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
H A D | nv04_surface.c | 258 PUSH_DATA (push, src->pitch | 261 PUSH_RELOC(push, src->bo, src->offset + (y + sy) * src->pitch + 287 unsigned dst_offset = dst->offset + dy * dst->pitch + dx * dst->cpp; 288 unsigned src_offset = src->offset + sy * src->pitch + sx * src->cpp; 303 PUSH_DATA (push, src->pitch); 304 PUSH_DATA (push, dst->pitch); 310 src_offset += src->pitch * count; 311 dst_offset += dst->pitch * count; 322 return x * s->cpp + y * s->pitch; 445 PUSH_DATA (push, (dst->pitch << 1 [all...] |
/external/libvncserver/test/ |
H A D | tjbench.c | 90 int pitch=scaledw*ps; local 103 bufsize=pitch*scaledh; 116 pitch, scaledh, pf, flags)==-1) 123 for(row=0, dstptr=dstbuf; row<ntilesh; row++, dstptr+=pitch*tileh) 130 pitch, height, pf, flags)==-1) 160 if(savebmp(tempstr, dstbuf, scaledw, scaledh, bmpPF[pf], pitch, 171 for(row=0, index=0; row<h; row++, index+=pitch) 192 dstbuf[pitch*row+col] 193 =abs(dstbuf[pitch*row+col]-srcbuf[pitch*ro 217 int ps=tjPixelSize[pf], ntilesw=1, ntilesh=1, pitch=w*ps; local [all...] |
/external/mesa3d/src/gallium/drivers/freedreno/ |
H A D | freedreno_resource.c | 306 (trans->base.box.y + box->y) * slice->pitch * 4 + (trans->base.box.x + box->x) * 4; 309 (trans->base.box.y + box->y) * sslice->pitch + trans->base.box.x + box->x; 313 depth, slice->pitch * 4, 318 stencil, sslice->pitch, 332 ((trans->base.box.y + box->y) * slice->pitch + 345 data, slice->pitch * rsc->cpp, 354 data, slice->pitch * rsc->cpp, 469 ptrans->stride = util_format_get_nblocksx(format, slice->pitch) * rsc->cpp; 588 box->y * slice->pitch * 4 + box->x * 4); 591 box->y * sslice->pitch [all...] |
/external/libdrm/libkms/ |
H A D | api.c | 108 *out = bo->pitch;
|