/external/mesa3d/src/mesa/main/ |
D | texcompress_rgtc.c | 108 srcWidth, srcHeight, srcDepth, in _mesa_texstore_red_rgtc1() 117 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0; in _mesa_texstore_red_rgtc1() 121 srcaddr = tempImage + j * srcWidth; in _mesa_texstore_red_rgtc1() 122 for (i = 0; i < srcWidth; i += 4) { in _mesa_texstore_red_rgtc1() 123 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_red_rgtc1() 124 else numxpixels = srcWidth - i; in _mesa_texstore_red_rgtc1() 125 extractsrc_u(srcpixels, srcaddr, srcWidth, numxpixels, numypixels, 1); in _mesa_texstore_red_rgtc1() 155 srcWidth, srcHeight, srcDepth, in _mesa_texstore_signed_red_rgtc1() 164 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0; in _mesa_texstore_signed_red_rgtc1() 168 srcaddr = tempImage + j * srcWidth; in _mesa_texstore_signed_red_rgtc1() [all …]
|
D | texstore.c | 322 GLint srcWidth, GLint srcHeight, GLint srcDepth, in _mesa_make_temp_float_image() argument 331 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType); in _mesa_make_temp_float_image() 357 tempImage = (GLfloat *) malloc(srcWidth * srcHeight * srcDepth in _mesa_make_temp_float_image() 366 srcWidth, srcHeight, in _mesa_make_temp_float_image() 370 _mesa_unpack_color_span_float(ctx, srcWidth, logicalBaseFormat, in _mesa_make_temp_float_image() 373 dst += srcWidth * components; in _mesa_make_temp_float_image() 395 newImage = (GLfloat *) malloc(srcWidth * srcHeight * srcDepth in _mesa_make_temp_float_image() 404 n = srcWidth * srcHeight * srcDepth; in _mesa_make_temp_float_image() 434 GLint srcWidth, GLint srcHeight, GLint srcDepth, in make_temp_uint_image() argument 442 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType); in make_temp_uint_image() [all …]
|
D | texcompress_s3tc.c | 176 srcPacking->RowLength != srcWidth || in _mesa_texstore_rgb_dxt1() 182 srcWidth, srcHeight, srcDepth, in _mesa_texstore_rgb_dxt1() 191 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgb_dxt1() 198 (*ext_tx_compress_dxtn)(3, srcWidth, srcHeight, pixels, in _mesa_texstore_rgb_dxt1() 229 srcPacking->RowLength != srcWidth || in _mesa_texstore_rgba_dxt1() 235 srcWidth, srcHeight, srcDepth, in _mesa_texstore_rgba_dxt1() 244 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgba_dxt1() 251 (*ext_tx_compress_dxtn)(4, srcWidth, srcHeight, pixels, in _mesa_texstore_rgba_dxt1() 282 srcPacking->RowLength != srcWidth || in _mesa_texstore_rgba_dxt3() 288 srcWidth, srcHeight, srcDepth, in _mesa_texstore_rgba_dxt3() [all …]
|
D | mipmap.c | 149 do_row(GLenum datatype, GLuint comps, GLint srcWidth, in do_row() argument 153 const GLuint k0 = (srcWidth == dstWidth) ? 0 : 1; in do_row() 154 const GLuint colStride = (srcWidth == dstWidth) ? 1 : 2; in do_row() 782 do_row_3D(GLenum datatype, GLuint comps, GLint srcWidth, in do_row_3D() argument 787 const GLuint k0 = (srcWidth == dstWidth) ? 0 : 1; in do_row_3D() 788 const GLuint colStride = (srcWidth == dstWidth) ? 1 : 2; in do_row_3D() 1416 GLint srcWidth, const GLubyte *srcPtr, in make_1d_mipmap() argument 1428 do_row(datatype, comps, srcWidth - 2 * border, src, src, in make_1d_mipmap() 1438 srcPtr + (srcWidth - 1) * bpt, in make_1d_mipmap() 1446 GLint srcWidth, GLint srcHeight, in make_2d_mipmap() argument [all …]
|
D | texstore.h | 63 GLint srcWidth, GLint srcHeight, GLint srcDepth, \ 77 GLint srcWidth, GLint srcHeight, GLint srcDepth, 86 GLint srcWidth, GLint srcHeight, GLint srcDepth,
|
D | texcompress_fxt1.c | 74 srcPacking->RowLength != srcWidth || in _mesa_texstore_rgb_fxt1() 80 srcWidth, srcHeight, srcDepth, in _mesa_texstore_rgb_fxt1() 86 srcRowStride = 3 * srcWidth; in _mesa_texstore_rgb_fxt1() 90 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgb_fxt1() 93 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, in _mesa_texstore_rgb_fxt1() 99 fxt1_encode(srcWidth, srcHeight, 3, pixels, srcRowStride, in _mesa_texstore_rgb_fxt1() 130 srcWidth, srcHeight, srcDepth, in _mesa_texstore_rgba_fxt1() 136 srcRowStride = 4 * srcWidth; in _mesa_texstore_rgba_fxt1() 140 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgba_fxt1() 143 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, in _mesa_texstore_rgba_fxt1() [all …]
|
D | mipmap.h | 36 GLint srcWidth, GLint srcHeight, GLint srcDepth,
|
/external/mesa3d/src/mesa/swrast/ |
D | s_blit.c | 43 NAME(GLint srcWidth, GLint dstWidth, \ 53 GLint srcCol = (dstCol * srcWidth) / dstWidth; \ 55 ASSERT(srcCol < srcWidth); \ 56 srcCol = srcWidth - 1 - srcCol; /* flip */ \ 74 GLint srcCol = (dstCol * srcWidth) / dstWidth; \ 76 ASSERT(srcCol < srcWidth); \ 115 const GLint srcWidth = ABS(srcX1 - srcX0); in blit_nearest() local 142 typedef void (*resample_func)(GLint srcWidth, GLint dstWidth, in blit_nearest() 250 srcWidth, srcHeight, in blit_nearest() 268 srcBuffer = malloc(pixelSize * srcWidth); in blit_nearest() [all …]
|
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
D | TJCompressor.java | 148 srcWidth = width; in setSourceImage() 200 srcWidth = (width == 0) ? srcImage.getWidth(): width; in setSourceImage() 345 compressedSize = compress(srcBuf, srcX, srcY, srcWidth, srcPitch, in compress() 349 compressedSize = compress(srcBuf, srcWidth, srcPitch, srcHeight, in compress() 354 compressedSize = compress(srcBufInt, srcX, srcY, srcWidth, srcStride, in compress() 358 compressedSize = compress(srcBufInt, srcWidth, srcStride, srcHeight, in compress() 376 if (srcWidth < 1 || srcHeight < 1) in compress() 378 byte[] buf = new byte[TJ.bufSize(srcWidth, srcHeight, subsamp)]; in compress() 429 if (srcWidth != dstImage.getWidth() || srcHeight != dstImage.getHeight()) in encodeYUV() 433 encodeYUV(srcBufInt, srcX, srcY, srcWidth, srcStride, srcHeight, in encodeYUV() [all …]
|
/external/skia/src/core/ |
D | SkImageInfo.cpp | 86 bool SkReadPixelsRec::trim(int srcWidth, int srcHeight) { in trim() argument 104 if (!srcR.intersect(0, 0, srcWidth, srcHeight)) { in trim()
|
/external/deqp/framework/delibs/deimage/ |
D | deImage.c | 119 int srcWidth = srcImage->width; in deImage_scale() local 140 int x1 = deClamp32(x0+1, 0, srcWidth-1); in deImage_scale() 142 DE_ASSERT(deInBounds32(x0, 0, srcWidth)); in deImage_scale()
|
/external/skia/src/codec/ |
D | SkSwizzler.cpp | 893 int srcWidth = dstInfo.width(); in CreateSwizzler() local 895 int dstWidth = srcWidth; in CreateSwizzler() 901 srcWidth = options.fSubset->width(); in CreateSwizzler() 902 dstWidth = srcWidth; in CreateSwizzler() 905 srcWidth = frame->width(); in CreateSwizzler() 908 return new SkSwizzler(fastProc, proc, ctable, srcOffset, srcWidth, dstOffset, dstWidth, in CreateSwizzler() 913 int srcWidth, int dstOffset, int dstWidth, int srcBPP, int dstBPP) in SkSwizzler() argument 922 , fSrcWidth(srcWidth) in SkSwizzler() 924 , fSwizzleWidth(srcWidth) in SkSwizzler()
|
D | SkMaskSwizzler.cpp | 316 int srcWidth = dstInfo.width(); in CreateMaskSwizzler() local 319 srcWidth = options.fSubset->width(); in CreateMaskSwizzler() 322 return new SkMaskSwizzler(masks, proc, srcOffset, srcWidth); in CreateMaskSwizzler()
|
D | SkSwizzler.h | 266 int srcWidth, int dstOffset, int dstWidth, int srcBPP, int dstBPP);
|
/external/skia/src/image/ |
D | SkReadPixelsRec.h | 38 bool trim(int srcWidth, int srcHeight);
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_gen_mipmap.c | 169 do_row(enum dtype datatype, uint comps, int srcWidth, in do_row() argument 173 const uint k0 = (srcWidth == dstWidth) ? 0 : 1; in do_row() 174 const uint colStride = (srcWidth == dstWidth) ? 1 : 2; in do_row() 545 do_row_3D(enum dtype datatype, uint comps, int srcWidth, in do_row_3D() argument 550 const uint k0 = (srcWidth == dstWidth) ? 0 : 1; in do_row_3D() 551 const uint colStride = (srcWidth == dstWidth) ? 1 : 2; in do_row_3D() 962 int srcWidth, const ubyte *srcPtr, in reduce_1d() argument 972 srcWidth, srcPtr, srcPtr, in reduce_1d() 982 int srcWidth, int srcHeight, in reduce_2d() argument 997 srcRowStride = bpt * srcWidth; in reduce_2d() [all …]
|
/external/skia/src/effects/ |
D | SkBlurMask.cpp | 900 int srcWidth = src.fBounds.width(); in BlurGroundTruth() local 911 int padWidth = srcWidth + 4*pad; in BlurGroundTruth() 920 const uint8_t* srcptr = srcPixels + y * srcWidth; in BlurGroundTruth() 921 memcpy(padptr, srcptr, srcWidth); in BlurGroundTruth() 979 dst->fRowBytes, srcWidth, srcHeight); in BlurGroundTruth() 983 dst->fRowBytes, srcPixels, src.fRowBytes, srcWidth, srcHeight, style); in BlurGroundTruth()
|
/external/opencv3/modules/stitching/src/opencl/ |
D | multibandblend.cl | 49 // if (x < srcWidth && y < srcHeight) 245 if (x < srcWidth && y < srcHeight)
|
/external/mesa3d/src/gallium/drivers/svga/include/ |
D | svga_reg.h | 805 uint32 srcWidth; member
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
D | BlockRealMatrix.java | 818 private void copyBlockPart(final double[] srcBlock, final int srcWidth, in copyBlockPart() argument 824 int srcPos = srcStartRow * srcWidth + srcStartColumn; in copyBlockPart() 828 srcPos += srcWidth; in copyBlockPart()
|
D | BlockFieldMatrix.java | 792 private void copyBlockPart(final T[] srcBlock, final int srcWidth, in copyBlockPart() argument 798 int srcPos = srcStartRow * srcWidth + srcStartColumn; in copyBlockPart() 802 srcPos += srcWidth; in copyBlockPart()
|
/external/opencv3/modules/cudalegacy/src/cuda/ |
D | NPP_staging.cu | 269 __global__ void scanRows(T_in *d_src, Ncv32u texOffs, Ncv32u srcWidth, Ncv32u srcStride, in scanRows() argument 280 Ncv32u numBuckets = (srcWidth + NUM_SCAN_THREADS - 1) >> LOG2_NUM_SCAN_THREADS; in scanRows() 296 if (curElemOffs < srcWidth) in scanRows() 306 if (curElemOffs <= srcWidth) in scanRows() 322 if (offsetX == srcWidth && !threadIdx.x) in scanRows()
|
/external/deqp/modules/gles3/functional/ |
D | es3fVertexTextureTests.cpp | 1629 const int srcWidth = refTexture.getWidth(); in calculateLod() local 1639 const float dudx = (trans10.x() - trans00.x()) * (float)srcWidth / dstSize.x(); in calculateLod() 1640 const float dudy = (trans01.x() - trans00.x()) * (float)srcWidth / dstSize.y(); in calculateLod()
|
/external/deqp/modules/gles31/functional/ |
D | es31fPrimitiveBoundingBoxTests.cpp | 3263 const int srcWidth = rnd.getInt(1, unionSize.x()); in init() local 3265 const int srcX = rnd.getInt(0, unionSize.x() - srcWidth); in init() 3270 args.src.z() = srcX + srcWidth; in init() 3277 const int srcWidth = rnd.getInt(1, srcSize.x()); in init() local 3279 const int srcX = rnd.getInt(0, srcSize.x() - srcWidth); in init() 3288 args.src.z() = srcX + srcWidth; in init()
|
/external/mesa3d/include/GL/ |
D | glxext.h | 851 int srcXOrigin, srcYOrigin, srcWidth, srcHeight; member
|