/third_party/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 | 105 GLint srcWidth, GLint srcHeight, GLint srcDepth, in _mesa_memcpy_texture() argument 113 srcWidth, srcHeight, srcFormat, srcType); in _mesa_memcpy_texture() 115 srcPacking, srcAddr, srcWidth, srcHeight, srcFormat, srcType, 0, 0, 0); in _mesa_memcpy_texture() 125 memcpy(dstImage, srcImage, bytesPerRow * srcHeight); in _mesa_memcpy_texture() 135 for (row = 0; row < srcHeight; row++) { in _mesa_memcpy_texture() 169 for (row = 0; row < srcHeight; row++) { in _mesa_texstore_z32() 171 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0); in _mesa_texstore_z32() 199 for (row = 0; row < srcHeight; row++) { in _mesa_texstore_x8_z24() 201 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0); in _mesa_texstore_x8_z24() 229 for (row = 0; row < srcHeight; row++) { in _mesa_texstore_z24_x8() [all …]
|
D | texcompress_s3tc.c | 68 tempImage = malloc(srcWidth * srcHeight * 3 * sizeof(GLubyte)); in _mesa_texstore_rgb_dxt1() 76 srcWidth, srcHeight, srcDepth, in _mesa_texstore_rgb_dxt1() 84 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgb_dxt1() 90 tx_compress_dxt1(srccomps, srcWidth, srcHeight, pixels, in _mesa_texstore_rgb_dxt1() 121 tempImage = malloc(srcWidth * srcHeight * 4 * sizeof(GLubyte)); in _mesa_texstore_rgba_dxt1() 133 srcWidth, srcHeight, srcDepth, in _mesa_texstore_rgba_dxt1() 140 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgba_dxt1() 146 tx_compress_dxt1(4, srcWidth, srcHeight, pixels, dst, dstRowStride, 4); in _mesa_texstore_rgba_dxt1() 176 tempImage = malloc(srcWidth * srcHeight * 4 * sizeof(GLubyte)); in _mesa_texstore_rgba_dxt3() 188 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 | 547 int srcWidth, int srcHeight, int srcDepth) in copy_image_subdata() argument 577 srcWidth, srcHeight); in copy_image_subdata() 586 GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) in _mesa_CopyImageSubData_no_error() argument 601 dstLevel, srcWidth, srcHeight, srcDepth); in _mesa_CopyImageSubData_no_error() 609 GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) in _mesa_CopyImageSubData() argument 629 srcWidth, srcHeight, srcDepth); in _mesa_CopyImageSubData() 675 (srcHeight % src_bh != 0 && (srcY + srcHeight) != src_h)) { in _mesa_CopyImageSubData() 703 dstHeight = srcHeight * dst_bh / src_bh; in _mesa_CopyImageSubData() 707 srcX, srcY, srcZ, srcWidth, srcHeight, srcDepth, in _mesa_CopyImageSubData() 737 dstLevel, srcWidth, srcHeight, srcDepth); in _mesa_CopyImageSubData() [all …]
|
D | texcompress_fxt1.c | 64 tempImage = malloc(srcWidth * srcHeight * 4 * sizeof(uint8_t)); in _mesa_texstore_fxt1() 72 srcWidth, srcHeight, srcDepth, in _mesa_texstore_fxt1() 80 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_fxt1() 90 …til_format_fxt1_rgb_pack_rgba_8unorm(dst, dstRowStride, pixels, srcRowStride, srcWidth, srcHeight); in _mesa_texstore_fxt1() 92 …il_format_fxt1_rgba_pack_rgba_8unorm(dst, dstRowStride, pixels, srcRowStride, srcWidth, srcHeight); in _mesa_texstore_fxt1()
|
D | mipmap.c | 1473 GLint srcWidth, GLint srcHeight, in make_2d_mipmap() argument 1488 if (srcHeight > 1 && srcHeight > dstHeight) { in make_2d_mipmap() 1521 srcPtr + srcWidth * (srcHeight - 1) * bpt, bpt); in make_2d_mipmap() 1524 srcPtr + (srcWidth * srcHeight - 1) * bpt, bpt); in make_2d_mipmap() 1532 srcPtr + (srcWidth * (srcHeight - 1) + 1) * bpt, in make_2d_mipmap() 1533 srcPtr + (srcWidth * (srcHeight - 1) + 1) * bpt, in make_2d_mipmap() 1537 if (srcHeight == dstHeight) { in make_2d_mipmap() 1539 for (row = 1; row < srcHeight; row++) { in make_2d_mipmap() 1565 GLint srcWidth, GLint srcHeight, GLint srcDepth, in make_3d_mipmap() argument 1582 bytesPerSrcImage = srcRowStride * srcHeight * bpt; in make_3d_mipmap() [all …]
|
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 | pack.h | 103 int srcWidth, int srcHeight, int srcDepth, 110 int srcWidth, int srcHeight, int srcDepth,
|
D | mipmap.h | 50 GLint srcWidth, GLint srcHeight, GLint srcDepth,
|
/third_party/flutter/skia/third_party/externals/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 …]
|
/third_party/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() 387 buf = new byte[TJ.bufSize(srcWidth, srcHeight, subsamp)]; in compress() 441 if (srcWidth != dstImage.getWidth() || srcHeight != dstImage.getHeight()) in encodeYUV() 445 encodeYUV(srcBufInt, srcX, srcY, srcWidth, srcStride, srcHeight, in encodeYUV() 449 encodeYUV(srcBuf, srcX, srcY, srcWidth, srcPitch, srcHeight, in encodeYUV() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | RenderbufferImpl.h | 63 GLsizei srcHeight, 77 GLsizei srcHeight, 108 GLsizei srcHeight, in copyRenderbufferSubData() argument 126 GLsizei srcHeight, in copyTextureSubData() argument
|
D | TextureImpl.cpp | 58 GLsizei srcHeight, in copyRenderbufferSubData() argument 76 GLsizei srcHeight, in copyTextureSubData() argument
|
/third_party/vk-gl-cts/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()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | Renderbuffer.cpp | 206 GLsizei srcHeight, in copyRenderbufferSubData() argument 211 srcHeight, srcDepth)); in copyRenderbufferSubData() 227 GLsizei srcHeight, in copyTextureSubData() argument 231 dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, in copyTextureSubData()
|
D | Renderbuffer.h | 106 GLsizei srcHeight, 120 GLsizei srcHeight,
|
/third_party/skia/src/core/ |
D | SkBlurMask.cpp | 555 int srcHeight = src.fBounds.height(); in BlurGroundTruth() local 566 int padHeight = srcHeight; in BlurGroundTruth() 572 for (int y = 0 ; y < srcHeight; ++y) { in BlurGroundTruth() 628 srcWidth, srcHeight); in BlurGroundTruth() 634 srcWidth, srcHeight); in BlurGroundTruth() 646 dst->fRowBytes, srcWidth, srcHeight); in BlurGroundTruth()
|
D | SkImageInfo.cpp | 146 bool SkReadPixelsRec::trim(int srcWidth, int srcHeight) { in trim() argument 157 if (!srcR.intersect({0, 0, srcWidth, srcHeight})) { in trim()
|
/third_party/flutter/skia/src/core/ |
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()
|
D | SkImageInfo.cpp | 104 bool SkReadPixelsRec::trim(int srcWidth, int srcHeight) { in trim() argument 115 if (!srcR.intersect(0, 0, srcWidth, srcHeight)) { in trim()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | RenderbufferVk.cpp | 205 GLsizei srcHeight, in copyRenderbufferSubData() argument 216 srcHeight, srcDepth); in copyRenderbufferSubData() 230 GLsizei srcHeight, in copyTextureSubData() argument 242 srcHeight, srcDepth); in copyTextureSubData()
|
D | RenderbufferVk.h | 51 GLsizei srcHeight, 65 GLsizei srcHeight,
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/null/ |
D | TextureNULL.h | 98 GLsizei srcHeight, 112 GLsizei srcHeight,
|
/third_party/flutter/skia/src/image/ |
D | SkReadPixelsRec.h | 47 bool trim(int srcWidth, int srcHeight);
|