/external/pdfium/core/fpdfapi/render/ |
H A D | cpdf_type3cache.cpp | 58 int pitch = pBitmap->GetPitch(); local 69 if (IsScanLine1bpp(pBuf + line * pitch, width)) 72 if (IsScanLine8bpp(pBuf + line * pitch, width))
|
/external/pdfium/core/fxge/dib/ |
H A D | cfx_imagetransformer.cpp | 48 uint32_t pitch, 61 *(buf + pos_pixel[i + 4] * pitch + pos_pixel[j] * bpp + c_offset); 353 *dest = bicubic_interpol(cdata.buf, cdata.pitch, data.pos_pixel, data.u_w, 359 *dest = cdata.buf[data.src_row * cdata.pitch + data.src_col]; 375 *dest = bicubic_interpol(cdata.buf, cdata.pitch, data.pos_pixel, data.u_w, 382 cdata.buf + cdata.pitch * data.src_row + data.src_col; 418 cdata.buf, cdata.pitch, data.pos_pixel, data.u_w, data.v_w, 427 argb[cdata.buf[data.src_row * cdata.pitch + data.src_col]]; 454 return bicubic_interpol(cdata.buf, cdata.pitch, data.pos_pixel, 465 cdata.buf + data.src_row * cdata.pitch 47 bicubic_interpol(const uint8_t* buf, uint32_t pitch, const int pos_pixel[], const int u_w[], const int v_w[], int res_x, int res_y, int bpp, int c_offset) argument [all...] |
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/ |
H A D | StoreTile.h | 1183 const uint32_t dy = SIMD16_TILE_Y_DIM * pDstSurface->pitch - KNOB_TILE_X_DIM * DST_BYTES_PER_PIXEL; 1188 pDst + pDstSurface->pitch, // row 1, col 0 1190 pDst + pDstSurface->pitch + dx / 2 // row 1, col 1 1213 uint8_t* ppRows[] = { pDst, pDst + pDstSurface->pitch }; 1229 ppRows[0] = ppStartRows[0] + 2 * pDstSurface->pitch; 1230 ppRows[1] = ppStartRows[1] + 2 * pDstSurface->pitch; 1270 const uint32_t dy = SIMD16_TILE_Y_DIM * pDstSurface->pitch - KNOB_TILE_X_DIM * DST_BYTES_PER_PIXEL; 1275 pDst + pDstSurface->pitch, // row 1, col 0 1277 pDst + pDstSurface->pitch + dx / 2 // row 1, col 1 1300 uint8_t* ppRows[] = { pDst, pDst + pDstSurface->pitch }; [all...] |
/external/drm_gralloc/ |
H A D | gralloc_drm_radeon.c | 80 /* returns pitch alignment in pixels */ 104 * if the group sizes don't match as the pitch won't 190 int pitch, size, base_align; local 220 pitch = aligned_width * cpp; 221 size = ALIGN(aligned_height * pitch, RADEON_GPU_PAGE_SIZE); 232 radeon_bo_set_tiling(rbo, tiling, pitch); 241 handle->stride = pitch;
|
/external/aac/libAACdec/src/ |
H A D | block.cpp | 1087 INT pitch[NB_SUBFR_SUPERFR + SYN_SFD]; local 1098 pitch, 1100 pitch)); // added to prevent ferret errors in bass_pf_1sf_delay 1170 FDKmemcpy(pitch, pAacDecoderStaticChannelInfo->old_T_pf, 1176 pitch[i] = L_SUBFR; 1181 pitch[SynSfd] = pitch[SynSfd - 1]; 1184 pitch[SynSfd + 1] = pitch[SynSfd]; 1198 /* recalculate pitch gai [all...] |
/external/mesa3d/src/mesa/drivers/dri/i915/ |
H A D | intel_mipmap_tree.c | 180 * pitch == 0 || height == 0 indicates the null texture 236 int pitch, 251 /* miptrees can't handle negative pitch. If you need flipping of images, 254 assert(pitch >= 0); 267 region->pitch = pitch; 310 region->pitch, 347 region->pitch, 648 src_mt, src_x, src_y, src_mt->region->pitch, 650 dst_mt, dst_x, dst_y, dst_mt->region->pitch, 230 intel_miptree_create_for_bo(struct intel_context *intel, drm_intel_bo *bo, mesa_format format, uint32_t offset, uint32_t width, uint32_t height, int pitch, uint32_t tiling) argument [all...] |
/external/libvpx/libvpx/vpx_dsp/arm/ |
H A D | deblock_neon.c | 312 void vpx_mbpost_proc_across_ip_neon(uint8_t *src, int pitch, int rows, int cols, argument 386 src += pitch; 400 void vpx_mbpost_proc_down_neon(uint8_t *dst, int pitch, int rows, int cols, argument 435 const uint8x8_t a = vld1_u8(dst + i * pitch); 448 s = vld1_u8(dst + row * pitch); 452 below_context = vld1_u8(dst + (row + 7) * pitch); 471 vst1_u8(dst + row * pitch, output);
|
/external/mesa3d/src/amd/addrlib/core/ |
H A D | addrlib.h | 364 UINT_32 pitch, UINT_32 height, UINT_32 bpp, 448 UINT_32 pitch, UINT_32 height, UINT_32 x, UINT_32 y, UINT_32 slice, 454 UINT_64 addr, UINT_32 bitPosition, UINT_32 pitch, UINT_32 height, UINT_32 numSlices, 496 UINT_32 bpp, UINT_32 pitch, UINT_32 height, UINT_32 numSlices, 501 UINT_32 pitch, UINT_32 height, UINT_32 numSlices, 506 UINT_32 bpp, UINT_32 pitch, UINT_32 height, UINT_32 numSamples, 591 /// Adjusts pitch alignment for flipping surface 609 /// Pre-handler of 3x pitch (96 bit) adjustment 612 /// Post-handler of 3x pitch adjustment 641 UINT_32 pitch, UINT_3 [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
H A D | nv30_state_validate.c | 128 PUSH_DATA (push, zsf->pitch); 130 PUSH_DATA (push, rsf->pitch); 133 PUSH_DATA (push, (zsf->pitch << 16) | rsf->pitch); 148 PUSH_DATA (push, sf->pitch); 159 PUSH_DATA (push, sf->pitch); 170 PUSH_DATA (push, sf->pitch);
|
/external/libvpx/config/x86/ |
H A D | vpx_dsp_rtcd.h | 1115 void vpx_highbd_lpf_horizontal_16_c(uint16_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int bd); 1116 void vpx_highbd_lpf_horizontal_16_sse2(uint16_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int bd); 1119 void vpx_highbd_lpf_horizontal_16_dual_c(uint16_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int bd); 1120 void vpx_highbd_lpf_horizontal_16_dual_sse2(uint16_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int bd); 1123 void vpx_highbd_lpf_horizontal_4_c(uint16_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int bd); 1124 void vpx_highbd_lpf_horizontal_4_sse2(uint16_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int bd); 1127 void vpx_highbd_lpf_horizontal_4_dual_c(uint16_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1, int bd); 1128 void vpx_highbd_lpf_horizontal_4_dual_sse2(uint16_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1, int bd); 1131 void vpx_highbd_lpf_horizontal_8_c(uint16_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int bd); 1132 void vpx_highbd_lpf_horizontal_8_sse2(uint16_t *s, int pitch, cons [all...] |
/external/mesa3d/src/egl/drivers/dri2/ |
H A D | platform_android.c | 459 int fourcc, pitch; local 479 pitch = dri2_surf->buffer->stride * 482 if (fourcc == -1 || pitch == 0) { 483 _eglLog(_EGL_WARNING, "Invalid buffer fourcc(%x) or pitch(%d)", 484 fourcc, pitch); 495 &pitch, 684 unsigned int pitch; local 695 pitch = buf->stride * get_format_bpp(buf->format); 696 if (pitch == 0) { 706 EGL_DMA_BUF_PLANE0_PITCH_EXT, pitch, [all...] |
/external/libvpx/libvpx/vpx_dsp/mips/ |
H A D | loopfilter_mb_vert_dspr2.c | 22 void vpx_lpf_vertical_16_dspr2(uint8_t *s, int pitch, const uint8_t *blimit, argument 53 prefetch_store(s + pitch); 57 s2 = s + pitch; 58 s3 = s2 + pitch; 59 s4 = s3 + pitch; 60 s = s4 + pitch;
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_zscan.c | 359 unsigned x, y, i, pitch; local 395 pitch = buf_transfer->stride / sizeof(float); 405 f[i * VL_BLOCK_WIDTH + y * pitch + x] = addr; 537 unsigned x, y, i, pitch; local 562 pitch = buf_transfer->stride; 567 data[i * VL_BLOCK_WIDTH + y * pitch + x] = matrix[x + y * VL_BLOCK_WIDTH];
|
/external/mesa3d/src/gallium/drivers/swr/ |
H A D | swr_screen.cpp | 653 * |<------- pitch ------->| 676 * The overall width in bytes is known as the pitch, while the overall 681 * except that pitch never plays into it. All the levels are logically 683 * elements between array slices, while the pitch is unused. 716 res->swr.pitch = util_format_get_blocksize(fmt); 719 // The pitch is the overall width of the texture in bytes. Most of the 720 // time this is the pitch of level 0 since all the other levels fit 733 res->swr.pitch = util_format_get_stride(fmt, width); 785 (size_t)res->swr.depth * res->swr.qpitch * res->swr.pitch; 795 res->secondary.pitch [all...] |
/external/freetype/src/sfnt/ |
H A D | pngshim.c | 336 map->pitch = (int)( map->width * 4 ); 417 FT_ULong size = map->rows * (FT_ULong)map->pitch; 432 rows[i] = map->buffer + ( y_offset + i ) * map->pitch + x_offset * 4;
|
/external/libjpeg-turbo/java/ |
H A D | TJBench.java | 142 int pitch = scaledw * ps; 151 dstBuf = new byte[pitch * scaledh]; 180 tjd.decompress(dstBuf, x, y, width, pitch, height, pf, flags); 184 tjd.decompress(dstBuf, x, y, width, pitch, height, pf, flags); 250 for (int y = 0, index = 0; y < h; y++, index += pitch) { 268 dstBuf[pitch * y + x] = 269 (byte)Math.abs((dstBuf[pitch * y + x] & 0xff) - 270 (srcBuf[pitch * y + x] & 0xff)); 286 int ntilesw = 1, ntilesh = 1, pitch = w * ps; 290 tmpBuf = new byte[pitch * [all...] |
/external/libvpx/config/arm-neon/ |
H A D | vpx_dsp_rtcd.h | 985 void vpx_highbd_lpf_horizontal_16_c(uint16_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int bd); 986 void vpx_highbd_lpf_horizontal_16_neon(uint16_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int bd); 989 void vpx_highbd_lpf_horizontal_16_dual_c(uint16_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int bd); 990 void vpx_highbd_lpf_horizontal_16_dual_neon(uint16_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int bd); 993 void vpx_highbd_lpf_horizontal_4_c(uint16_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int bd); 994 void vpx_highbd_lpf_horizontal_4_neon(uint16_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int bd); 997 void vpx_highbd_lpf_horizontal_4_dual_c(uint16_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1, int bd); 998 void vpx_highbd_lpf_horizontal_4_dual_neon(uint16_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1, int bd); 1001 void vpx_highbd_lpf_horizontal_8_c(uint16_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int bd); 1002 void vpx_highbd_lpf_horizontal_8_neon(uint16_t *s, int pitch, cons [all...] |
/external/libvpx/config/arm64/ |
H A D | vpx_dsp_rtcd.h | 985 void vpx_highbd_lpf_horizontal_16_c(uint16_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int bd); 986 void vpx_highbd_lpf_horizontal_16_neon(uint16_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int bd); 989 void vpx_highbd_lpf_horizontal_16_dual_c(uint16_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int bd); 990 void vpx_highbd_lpf_horizontal_16_dual_neon(uint16_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int bd); 993 void vpx_highbd_lpf_horizontal_4_c(uint16_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int bd); 994 void vpx_highbd_lpf_horizontal_4_neon(uint16_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int bd); 997 void vpx_highbd_lpf_horizontal_4_dual_c(uint16_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1, int bd); 998 void vpx_highbd_lpf_horizontal_4_dual_neon(uint16_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1, int bd); 1001 void vpx_highbd_lpf_horizontal_8_c(uint16_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int bd); 1002 void vpx_highbd_lpf_horizontal_8_neon(uint16_t *s, int pitch, cons [all...] |
/external/libvpx/config/x86_64/ |
H A D | vp9_rtcd.h | 81 void vp9_highbd_iht16x16_256_add_c(const tran_low_t *input, uint16_t *output, int pitch, int tx_type, int bd); 99 void vp9_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch, int tx_type); 100 void vp9_iht16x16_256_add_sse2(const tran_low_t *input, uint8_t *output, int pitch, int tx_type);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | gen8_depth_state.c | 70 (depth_mt ? depth_mt->pitch - 1 : 0)); 96 OUT_BATCH((depth_mt->hiz_buf->aux_base.pitch - 1) | mocs_wb << 25); 114 /* The stencil buffer has quirky pitch requirements. From the Graphics 119 * The pitch must be set to 2x the value computed based on width, as 129 (2 * stencil_mt->pitch - 1));
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
H A D | pitch_filter_armv6.S | 11 @ Contains the core loop routine for the pitch filter function in iSAC, 70 @ Filter to get fractional pitch. 71 @ The pitch filter loop here is unrolled with 9 multipications.
|
/external/freetype/src/cache/ |
H A D | ftcimage.c | 126 size = bitg->bitmap.rows * (FT_Offset)FT_ABS( bitg->bitmap.pitch ) +
|
/external/freetype/src/winfonts/ |
H A D | winfnt.c | 1078 FT_UInt pitch = ( bitmap->width + 7 ) >> 3; local 1083 bitmap->pitch = (int)pitch; 1084 if ( !pitch || 1085 offset + pitch * bitmap->rows > font->header.file_size ) 1094 if ( FT_ALLOC_MULT( bitmap->buffer, bitmap->rows, pitch ) ) 1099 for ( ; pitch > 0; pitch--, column++ ) 1104 for ( write = column; p < limit; p++, write += bitmap->pitch )
|
/external/libdrm/intel/ |
H A D | intel_bufmgr_priv.h | 88 * 'tiling_mode' field on return, as well as the pitch value, which 95 unsigned long *pitch,
|
/external/libdrm/tests/kms/ |
H A D | kms-steal-crtc.c | 111 fb->height, fb->pitch);
|