/external/mesa3d/src/mesa/main/ |
D | texcompress_rgtc.c | 93 tempImage = malloc(srcWidth * srcHeight * 1 * sizeof(GLubyte)); in _mesa_texstore_red_rgtc1() 102 srcWidth, srcHeight, srcDepth, in _mesa_texstore_red_rgtc1() 110 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_red_rgtc1() 111 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_red_rgtc1() 112 else numypixels = srcHeight - j; in _mesa_texstore_red_rgtc1() 147 tempImage = malloc(srcWidth * srcHeight * 1 * sizeof(GLfloat)); in _mesa_texstore_signed_red_rgtc1() 155 srcWidth, srcHeight, srcDepth, in _mesa_texstore_signed_red_rgtc1() 163 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_signed_red_rgtc1() 164 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_signed_red_rgtc1() 165 else numypixels = srcHeight - j; in _mesa_texstore_signed_red_rgtc1() [all …]
|
D | texstore.c | 104 GLint srcWidth, GLint srcHeight, GLint srcDepth, in _mesa_memcpy_texture() argument 112 srcWidth, srcHeight, srcFormat, srcType); in _mesa_memcpy_texture() 114 srcPacking, srcAddr, srcWidth, srcHeight, srcFormat, srcType, 0, 0, 0); in _mesa_memcpy_texture() 124 memcpy(dstImage, srcImage, bytesPerRow * srcHeight); in _mesa_memcpy_texture() 134 for (row = 0; row < srcHeight; row++) { in _mesa_memcpy_texture() 168 for (row = 0; row < srcHeight; row++) { in _mesa_texstore_z32() 170 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0); in _mesa_texstore_z32() 198 for (row = 0; row < srcHeight; row++) { in _mesa_texstore_x8_z24() 200 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0); in _mesa_texstore_x8_z24() 228 for (row = 0; row < srcHeight; row++) { in _mesa_texstore_z24_x8() [all …]
|
D | texcompress_s3tc.c | 66 tempImage = malloc(srcWidth * srcHeight * 3 * sizeof(GLubyte)); in _mesa_texstore_rgb_dxt1() 74 srcWidth, srcHeight, srcDepth, in _mesa_texstore_rgb_dxt1() 81 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgb_dxt1() 87 tx_compress_dxtn(3, srcWidth, srcHeight, pixels, in _mesa_texstore_rgb_dxt1() 118 tempImage = malloc(srcWidth * srcHeight * 4 * sizeof(GLubyte)); in _mesa_texstore_rgba_dxt1() 130 srcWidth, srcHeight, srcDepth, in _mesa_texstore_rgba_dxt1() 137 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgba_dxt1() 143 tx_compress_dxtn(4, srcWidth, srcHeight, pixels, in _mesa_texstore_rgba_dxt1() 174 tempImage = malloc(srcWidth * srcHeight * 4 * sizeof(GLubyte)); in _mesa_texstore_rgba_dxt3() 186 srcWidth, srcHeight, srcDepth, in _mesa_texstore_rgba_dxt3() [all …]
|
D | texcompress_bptc.c | 139 tempImage = malloc(srcWidth * srcHeight * 4 * sizeof(GLubyte)); in _mesa_texstore_bptc_rgba_unorm() 151 srcWidth, srcHeight, srcDepth, in _mesa_texstore_bptc_rgba_unorm() 158 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_bptc_rgba_unorm() 164 compress_rgba_unorm(srcWidth, srcHeight, in _mesa_texstore_bptc_rgba_unorm() 188 tempImage = malloc(srcWidth * srcHeight * 3 * sizeof(GLfloat)); in texstore_bptc_rgb_float() 196 srcWidth, srcHeight, srcDepth, in texstore_bptc_rgb_float() 203 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in texstore_bptc_rgb_float() 209 compress_rgb_float(srcWidth, srcHeight, in texstore_bptc_rgb_float() 226 srcWidth, srcHeight, srcDepth, in _mesa_texstore_bptc_rgb_signed_float() 239 srcWidth, srcHeight, srcDepth, in _mesa_texstore_bptc_rgb_unsigned_float()
|
D | copyimage.c | 545 int srcWidth, int srcHeight, int srcDepth) in copy_image_subdata() argument 575 srcWidth, srcHeight); in copy_image_subdata() 584 GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) in _mesa_CopyImageSubData_no_error() argument 599 dstLevel, srcWidth, srcHeight, srcDepth); in _mesa_CopyImageSubData_no_error() 607 GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) in _mesa_CopyImageSubData() argument 627 srcWidth, srcHeight, srcDepth); in _mesa_CopyImageSubData() 673 (srcHeight % src_bh != 0 && (srcY + srcHeight) != src_h)) { in _mesa_CopyImageSubData() 701 dstHeight = srcHeight * dst_bh / src_bh; in _mesa_CopyImageSubData() 705 srcX, srcY, srcZ, srcWidth, srcHeight, srcDepth, in _mesa_CopyImageSubData() 735 dstLevel, srcWidth, srcHeight, srcDepth); in _mesa_CopyImageSubData() [all …]
|
D | copyimage.h | 43 GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); 50 GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); 57 GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); 64 GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
|
D | mipmap.h | 43 GLint srcWidth, GLint srcHeight, GLint srcDepth, 61 GLint srcWidth, GLint srcHeight, GLint srcDepth,
|
D | texstore.h | 67 GLint srcWidth, GLint srcHeight, GLint srcDepth, \ 82 UNUSED GLint srcWidth, UNUSED GLint srcHeight, UNUSED GLint srcDepth, \ 101 GLint srcWidth, GLint srcHeight, GLint srcDepth,
|
D | mipmap.c | 1472 GLint srcWidth, GLint srcHeight, in make_2d_mipmap() argument 1487 if (srcHeight > 1 && srcHeight > dstHeight) { in make_2d_mipmap() 1520 srcPtr + srcWidth * (srcHeight - 1) * bpt, bpt); in make_2d_mipmap() 1523 srcPtr + (srcWidth * srcHeight - 1) * bpt, bpt); in make_2d_mipmap() 1531 srcPtr + (srcWidth * (srcHeight - 1) + 1) * bpt, in make_2d_mipmap() 1532 srcPtr + (srcWidth * (srcHeight - 1) + 1) * bpt, in make_2d_mipmap() 1536 if (srcHeight == dstHeight) { in make_2d_mipmap() 1538 for (row = 1; row < srcHeight; row++) { in make_2d_mipmap() 1564 GLint srcWidth, GLint srcHeight, GLint srcDepth, in make_3d_mipmap() argument 1581 bytesPerSrcImage = srcRowStride * srcHeight * bpt; in make_3d_mipmap() [all …]
|
D | pack.h | 103 int srcWidth, int srcHeight, int srcDepth, 110 int srcWidth, int srcHeight, int srcDepth,
|
D | texcompress_fxt1.c | 75 tempImage = malloc(srcWidth * srcHeight * 3 * sizeof(GLubyte)); in _mesa_texstore_rgb_fxt1() 83 srcWidth, srcHeight, srcDepth, in _mesa_texstore_rgb_fxt1() 91 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgb_fxt1() 100 fxt1_encode(srcWidth, srcHeight, 3, pixels, srcRowStride, in _mesa_texstore_rgb_fxt1() 129 tempImage = malloc(srcWidth * srcHeight * 4 * sizeof(GLubyte)); in _mesa_texstore_rgba_fxt1() 141 srcWidth, srcHeight, srcDepth, in _mesa_texstore_rgba_fxt1() 149 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgba_fxt1() 158 fxt1_encode(srcWidth, srcHeight, 4, pixels, srcRowStride, in _mesa_texstore_rgba_fxt1()
|
D | pack.c | 1552 int srcWidth, int srcHeight, int srcDepth, in _mesa_unpack_color_index_to_rgba_float() argument 1560 count = srcWidth * srcHeight; in _mesa_unpack_color_index_to_rgba_float() 1579 srcWidth, srcHeight, in _mesa_unpack_color_index_to_rgba_float() 1596 dstPtr += srcHeight * srcWidth * 4; in _mesa_unpack_color_index_to_rgba_float() 1607 int srcWidth, int srcHeight, int srcDepth, in _mesa_unpack_color_index_to_rgba_ubyte() argument 1618 srcWidth, srcHeight, srcDepth, in _mesa_unpack_color_index_to_rgba_ubyte() 1621 count = srcWidth * srcHeight * srcDepth; in _mesa_unpack_color_index_to_rgba_ubyte()
|
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
D | TJCompressor.java | 156 srcHeight = height; in setSourceImage() 205 srcHeight = (height == 0) ? srcImage.getHeight() : height; in setSourceImage() 350 srcHeight, srcPixelFormat, dstBuf, subsamp, in compress() 353 compressedSize = compress(srcBuf, srcWidth, srcPitch, srcHeight, in compress() 359 srcHeight, srcPixelFormat, dstBuf, subsamp, in compress() 362 compressedSize = compress(srcBufInt, srcWidth, srcStride, srcHeight, in compress() 381 byte[] buf = new byte[TJ.bufSize(srcWidth, srcHeight, subsamp)]; in compress() 434 if (srcWidth != dstImage.getWidth() || srcHeight != dstImage.getHeight()) in encodeYUV() 438 encodeYUV(srcBufInt, srcX, srcY, srcWidth, srcStride, srcHeight, in encodeYUV() 442 encodeYUV(srcBuf, srcX, srcY, srcWidth, srcPitch, srcHeight, in encodeYUV() [all …]
|
/external/mesa3d/src/mesa/drivers/common/ |
D | meta_generate_mipmap.c | 275 GLsizei srcWidth, srcHeight, srcDepth; in _mesa_meta_GenerateMipmap() local 284 srcHeight = 1; in _mesa_meta_GenerateMipmap() 287 srcHeight = srcImage->Height; in _mesa_meta_GenerateMipmap() 293 dstHeight = minify(srcHeight, 1); in _mesa_meta_GenerateMipmap() 297 dstHeight == srcHeight && in _mesa_meta_GenerateMipmap() 330 srcWidth, srcHeight, /* img size */ in _mesa_meta_GenerateMipmap() 331 srcWidth, srcHeight, srcDepth, in _mesa_meta_GenerateMipmap()
|
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/env/ |
D | ImageUtils.java | 295 final int srcHeight, in getTransformationMatrix() argument 308 matrix.postTranslate(-srcWidth / 2.0f, -srcHeight / 2.0f); in getTransformationMatrix() 318 final int inWidth = transpose ? srcHeight : srcWidth; in getTransformationMatrix() 319 final int inHeight = transpose ? srcWidth : srcHeight; in getTransformationMatrix()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_blit.c | 123 const GLint srcHeight = ABS(srcY1 - srcY0); in blit_nearest() local 282 srcWidth, srcHeight, in blit_nearest() 300 GLfloat srcRowF = (dstRow + 0.5F) / dstHeight * srcHeight - 0.5F; in blit_nearest() 305 assert(srcRow < srcHeight); in blit_nearest() 308 srcRow = srcHeight - 1 - srcRow; in blit_nearest() 524 const GLint srcHeight = ABS(srcY1 - srcY0); in blit_linear() local 632 GLfloat srcRow = (dstRow + 0.5F) / dstHeight * srcHeight - 0.5F; in blit_linear() 637 if (srcRow1 == srcHeight) { in blit_linear() 644 srcRow0 = srcHeight - 1 - srcRow0; in blit_linear() 645 srcRow1 = srcHeight - 1 - srcRow1; in blit_linear()
|
/external/deqp/framework/delibs/deimage/ |
D | deImage.c | 120 int srcHeight = srcImage->height; in deImage_scale() local 141 int y1 = deClamp32(y0+1, 0, srcHeight-1); in deImage_scale() 143 DE_ASSERT(deInBounds32(y0, 0, srcHeight)); in deImage_scale()
|
/external/skqp/src/core/ |
D | SkImageInfo.cpp | 102 bool SkReadPixelsRec::trim(int srcWidth, int srcHeight) { in trim() argument 113 if (!srcR.intersect(0, 0, srcWidth, srcHeight)) { in trim()
|
D | SkBlurMask.cpp | 560 int srcHeight = src.fBounds.height(); in BlurGroundTruth() local 571 int padHeight = srcHeight; in BlurGroundTruth() 577 for (int y = 0 ; y < srcHeight; ++y) { in BlurGroundTruth() 633 srcWidth, srcHeight); in BlurGroundTruth() 639 srcWidth, srcHeight); in BlurGroundTruth() 651 dst->fRowBytes, srcWidth, srcHeight); in BlurGroundTruth()
|
/external/skia/src/core/ |
D | SkBlurMask.cpp | 554 int srcHeight = src.fBounds.height(); in BlurGroundTruth() local 565 int padHeight = srcHeight; in BlurGroundTruth() 571 for (int y = 0 ; y < srcHeight; ++y) { in BlurGroundTruth() 627 srcWidth, srcHeight); in BlurGroundTruth() 633 srcWidth, srcHeight); in BlurGroundTruth() 645 dst->fRowBytes, srcWidth, srcHeight); in BlurGroundTruth()
|
D | SkImageInfo.cpp | 128 bool SkReadPixelsRec::trim(int srcWidth, int srcHeight) { in trim() argument 139 if (!srcR.intersect({0, 0, srcWidth, srcHeight})) { in trim()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Hexagon/ |
D | swp-stages4.ll | 19 define void @test(i8* noalias nocapture %src, i32 %srcWidth, i32 %srcHeight, i32 %srcStride, i8* no… 22 %sub1 = add i32 %srcHeight, -1 29 %0 = add i32 %srcHeight, -2
|
D | swp-stages5.ll | 14 define void @fred(i8* noalias nocapture %src, i32 %srcWidth, i32 %srcHeight, i32 %srcStride, i8* no… 17 %sub1 = add i32 %srcHeight, -1
|
/external/skia/src/image/ |
D | SkReadPixelsRec.h | 47 bool trim(int srcWidth, int srcHeight);
|
/external/skqp/src/image/ |
D | SkReadPixelsRec.h | 46 bool trim(int srcWidth, int srcHeight);
|