Home
last modified time | relevance | path

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

123

/external/mesa3d/src/mesa/main/
Dtexcompress_rgtc.c93 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 …]
Dtexstore.c104 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 …]
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()
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 …]
Dtexcompress_bptc.c139 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()
Dcopyimage.c545 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 …]
Dcopyimage.h43 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);
Dmipmap.h43 GLint srcWidth, GLint srcHeight, GLint srcDepth,
61 GLint srcWidth, GLint srcHeight, GLint srcDepth,
Dtexstore.h67 GLint srcWidth, GLint srcHeight, GLint srcDepth, \
82 UNUSED GLint srcWidth, UNUSED GLint srcHeight, UNUSED GLint srcDepth, \
101 GLint srcWidth, GLint srcHeight, GLint srcDepth,
Dmipmap.c1472 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 …]
Dpack.h103 int srcWidth, int srcHeight, int srcDepth,
110 int srcWidth, int srcHeight, int srcDepth,
Dtexcompress_fxt1.c75 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()
Dpack.c1552 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/
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.c275 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/
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()
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/
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/
DSkImageInfo.cpp102 bool SkReadPixelsRec::trim(int srcWidth, int srcHeight) { in trim() argument
113 if (!srcR.intersect(0, 0, srcWidth, srcHeight)) { in trim()
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()
/external/skia/src/core/
DSkBlurMask.cpp554 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()
DSkImageInfo.cpp128 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/
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.h47 bool trim(int srcWidth, int srcHeight);
/external/skqp/src/image/
DSkReadPixelsRec.h46 bool trim(int srcWidth, int srcHeight);

123