Home
last modified time | relevance | path

Searched refs:srcHeight (Results 1 – 25 of 48) sorted by relevance

12

/external/mesa3d/src/mesa/main/
Dtexcompress_rgtc.c91 tempImage = malloc(srcWidth * srcHeight * 1 * sizeof(GLubyte)); in _mesa_texstore_red_rgtc1()
100 srcWidth, srcHeight, srcDepth, in _mesa_texstore_red_rgtc1()
108 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_red_rgtc1()
109 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_red_rgtc1()
110 else numypixels = srcHeight - j; in _mesa_texstore_red_rgtc1()
145 tempImage = malloc(srcWidth * srcHeight * 1 * sizeof(GLfloat)); in _mesa_texstore_signed_red_rgtc1()
153 srcWidth, srcHeight, srcDepth, in _mesa_texstore_signed_red_rgtc1()
161 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_signed_red_rgtc1()
162 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_signed_red_rgtc1()
163 else numypixels = srcHeight - j; in _mesa_texstore_signed_red_rgtc1()
[all …]
Dtexstore.c103 GLint srcWidth, GLint srcHeight, GLint srcDepth, in _mesa_memcpy_texture() argument
111 srcWidth, srcHeight, srcFormat, srcType); in _mesa_memcpy_texture()
113 srcPacking, srcAddr, srcWidth, srcHeight, srcFormat, srcType, 0, 0, 0); in _mesa_memcpy_texture()
123 memcpy(dstImage, srcImage, bytesPerRow * srcHeight); in _mesa_memcpy_texture()
133 for (row = 0; row < srcHeight; row++) { in _mesa_memcpy_texture()
167 for (row = 0; row < srcHeight; row++) { in _mesa_texstore_z32()
169 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0); in _mesa_texstore_z32()
197 for (row = 0; row < srcHeight; row++) { in _mesa_texstore_x8_z24()
199 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0); in _mesa_texstore_x8_z24()
227 for (row = 0; row < srcHeight; row++) { in _mesa_texstore_z24_x8()
[all …]
Dtexcompress_s3tc.c66 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()
127 srcWidth, srcHeight, srcDepth, in _mesa_texstore_rgba_dxt1()
134 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgba_dxt1()
140 tx_compress_dxtn(4, srcWidth, srcHeight, pixels, in _mesa_texstore_rgba_dxt1()
171 tempImage = malloc(srcWidth * srcHeight * 4 * sizeof(GLubyte)); in _mesa_texstore_rgba_dxt3()
180 srcWidth, srcHeight, srcDepth, in _mesa_texstore_rgba_dxt3()
[all …]
Dcopyimage.c540 int srcWidth, int srcHeight, int srcDepth) in copy_image_subdata() argument
570 srcWidth, srcHeight); in copy_image_subdata()
579 GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) in _mesa_CopyImageSubData_no_error() argument
594 dstLevel, srcWidth, srcHeight, srcDepth); in _mesa_CopyImageSubData_no_error()
602 GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) in _mesa_CopyImageSubData() argument
622 srcWidth, srcHeight, srcDepth); in _mesa_CopyImageSubData()
668 (srcHeight % src_bh != 0 && (srcY + srcHeight) != src_h)) { in _mesa_CopyImageSubData()
696 dstHeight = srcHeight * dst_bh / src_bh; in _mesa_CopyImageSubData()
700 srcX, srcY, srcZ, srcWidth, srcHeight, srcDepth, in _mesa_CopyImageSubData()
730 dstLevel, srcWidth, srcHeight, srcDepth); in _mesa_CopyImageSubData()
Dmipmap.h36 GLint srcWidth, GLint srcHeight, GLint srcDepth,
54 GLint srcWidth, GLint srcHeight, GLint srcDepth,
Dcopyimage.h43 GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
50 GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
Dmipmap.c1447 GLint srcWidth, GLint srcHeight, in make_2d_mipmap() argument
1462 if (srcHeight > 1 && srcHeight > dstHeight) { in make_2d_mipmap()
1495 srcPtr + srcWidth * (srcHeight - 1) * bpt, bpt); in make_2d_mipmap()
1498 srcPtr + (srcWidth * srcHeight - 1) * bpt, bpt); in make_2d_mipmap()
1506 srcPtr + (srcWidth * (srcHeight - 1) + 1) * bpt, in make_2d_mipmap()
1507 srcPtr + (srcWidth * (srcHeight - 1) + 1) * bpt, in make_2d_mipmap()
1511 if (srcHeight == dstHeight) { in make_2d_mipmap()
1513 for (row = 1; row < srcHeight; row++) { in make_2d_mipmap()
1539 GLint srcWidth, GLint srcHeight, GLint srcDepth, in make_3d_mipmap() argument
1556 bytesPerSrcImage = srcRowStride * srcHeight * bpt; in make_3d_mipmap()
[all …]
Dtexcompress_bptc.c1289 tempImage = malloc(srcWidth * srcHeight * 4 * sizeof(GLubyte)); in _mesa_texstore_bptc_rgba_unorm()
1298 srcWidth, srcHeight, srcDepth, in _mesa_texstore_bptc_rgba_unorm()
1305 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_bptc_rgba_unorm()
1311 compress_rgba_unorm(srcWidth, srcHeight, in _mesa_texstore_bptc_rgba_unorm()
1601 tempImage = malloc(srcWidth * srcHeight * 3 * sizeof(GLfloat)); in texstore_bptc_rgb_float()
1609 srcWidth, srcHeight, srcDepth, in texstore_bptc_rgb_float()
1616 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in texstore_bptc_rgb_float()
1622 compress_rgb_float(srcWidth, srcHeight, in texstore_bptc_rgb_float()
1639 srcWidth, srcHeight, srcDepth, in _mesa_texstore_bptc_rgb_signed_float()
1652 srcWidth, srcHeight, srcDepth, in _mesa_texstore_bptc_rgb_unsigned_float()
Dpack.h101 int srcWidth, int srcHeight, int srcDepth,
108 int srcWidth, int srcHeight, int srcDepth,
Dtexstore.h63 GLint srcWidth, GLint srcHeight, GLint srcDepth, \
83 GLint srcWidth, GLint srcHeight, GLint srcDepth,
Dtexcompress_fxt1.c73 tempImage = malloc(srcWidth * srcHeight * 3 * sizeof(GLubyte)); in _mesa_texstore_rgb_fxt1()
81 srcWidth, srcHeight, srcDepth, in _mesa_texstore_rgb_fxt1()
89 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgb_fxt1()
98 fxt1_encode(srcWidth, srcHeight, 3, pixels, srcRowStride, in _mesa_texstore_rgb_fxt1()
127 tempImage = malloc(srcWidth * srcHeight * 4 * sizeof(GLubyte)); in _mesa_texstore_rgba_fxt1()
136 srcWidth, srcHeight, srcDepth, in _mesa_texstore_rgba_fxt1()
144 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgba_fxt1()
153 fxt1_encode(srcWidth, srcHeight, 4, pixels, srcRowStride, in _mesa_texstore_rgba_fxt1()
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJCompressor.java156 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/
Dmeta_generate_mipmap.c276 GLsizei srcWidth, srcHeight, srcDepth; in _mesa_meta_GenerateMipmap() local
285 srcHeight = 1; in _mesa_meta_GenerateMipmap()
288 srcHeight = srcImage->Height; in _mesa_meta_GenerateMipmap()
294 dstHeight = minify(srcHeight, 1); in _mesa_meta_GenerateMipmap()
298 dstHeight == srcHeight && in _mesa_meta_GenerateMipmap()
331 srcWidth, srcHeight, /* img size */ in _mesa_meta_GenerateMipmap()
332 srcWidth, srcHeight, srcDepth, in _mesa_meta_GenerateMipmap()
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/env/
DImageUtils.java295 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/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/env/
DImageUtils.java295 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/
Ds_blit.c123 const GLint srcHeight = ABS(srcY1 - srcY0); in blit_nearest() local
282 srcWidth, srcHeight, in blit_nearest()
298 GLfloat srcRowF = (dstRow + 0.5F) / dstHeight * srcHeight - 0.5F; in blit_nearest()
303 assert(srcRow < srcHeight); in blit_nearest()
306 srcRow = srcHeight - 1 - srcRow; in blit_nearest()
522 const GLint srcHeight = ABS(srcY1 - srcY0); in blit_linear() local
627 GLfloat srcRow = (dstRow + 0.5F) / dstHeight * srcHeight - 0.5F; in blit_linear()
632 if (srcRow1 == srcHeight) { in blit_linear()
639 srcRow0 = srcHeight - 1 - srcRow0; in blit_linear()
640 srcRow1 = srcHeight - 1 - srcRow1; in blit_linear()
/external/deqp/framework/delibs/deimage/
DdeImage.c120 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/
DSkBlurMask.cpp560 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()
DSkImageInfo.cpp102 bool SkReadPixelsRec::trim(int srcWidth, int srcHeight) { in trim() argument
113 if (!srcR.intersect(0, 0, srcWidth, srcHeight)) { in trim()
/external/skia/src/core/
DSkBlurMask.cpp560 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()
DSkImageInfo.cpp104 bool SkReadPixelsRec::trim(int srcWidth, int srcHeight) { in trim() argument
115 if (!srcR.intersect(0, 0, srcWidth, srcHeight)) { in trim()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Hexagon/
Dswp-stages4.ll19 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
Dswp-stages5.ll14 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/
DSkReadPixelsRec.h46 bool trim(int srcWidth, int srcHeight);
/external/skqp/src/image/
DSkReadPixelsRec.h46 bool trim(int srcWidth, int srcHeight);

12