Home
last modified time | relevance | path

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

12345

/third_party/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.c105 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 …]
Dtexcompress_s3tc.c68 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 …]
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.c547 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 …]
Dtexcompress_fxt1.c64 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()
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.c1473 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 …]
Dpack.h103 int srcWidth, int srcHeight, int srcDepth,
110 int srcWidth, int srcHeight, int srcDepth,
Dmipmap.h50 GLint srcWidth, GLint srcHeight, GLint srcDepth,
Dpack.c1553 int srcWidth, int srcHeight, int srcDepth, in _mesa_unpack_color_index_to_rgba_float() argument
1561 count = srcWidth * srcHeight; in _mesa_unpack_color_index_to_rgba_float()
1580 srcWidth, srcHeight, in _mesa_unpack_color_index_to_rgba_float()
1597 dstPtr += srcHeight * srcWidth * 4; in _mesa_unpack_color_index_to_rgba_float()
1608 int srcWidth, int srcHeight, int srcDepth, in _mesa_unpack_color_index_to_rgba_ubyte() argument
1619 srcWidth, srcHeight, srcDepth, in _mesa_unpack_color_index_to_rgba_ubyte()
1622 count = srcWidth * srcHeight * srcDepth; in _mesa_unpack_color_index_to_rgba_ubyte()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DRenderbufferImpl.h63 GLsizei srcHeight,
77 GLsizei srcHeight,
108 GLsizei srcHeight, in copyRenderbufferSubData() argument
126 GLsizei srcHeight, in copyTextureSubData() argument
DTextureImpl.cpp58 GLsizei srcHeight, in copyRenderbufferSubData() argument
76 GLsizei srcHeight, in copyTextureSubData() argument
DTextureImpl.h123 GLsizei srcHeight,
137 GLsizei srcHeight,
/third_party/vk-gl-cts/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()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DRenderbuffer.cpp206 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()
DRenderbuffer.h106 GLsizei srcHeight,
120 GLsizei srcHeight,
DvalidationES32.cpp151 GLsizei srcHeight, in ValidateCopyImageSubData() argument
162 srcWidth, srcHeight, srcDepth); in ValidateCopyImageSubData()
/third_party/skia/src/core/
DSkBlurMask.cpp555 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()
DSkImageInfo.cpp146 bool SkReadPixelsRec::trim(int srcWidth, int srcHeight) { in trim() argument
157 if (!srcR.intersect({0, 0, srcWidth, srcHeight})) { in trim()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DRenderbufferVk.cpp205 GLsizei srcHeight, in copyRenderbufferSubData() argument
216 srcHeight, srcDepth); in copyRenderbufferSubData()
230 GLsizei srcHeight, in copyTextureSubData() argument
242 srcHeight, srcDepth); in copyTextureSubData()
DRenderbufferVk.h51 GLsizei srcHeight,
65 GLsizei srcHeight,
/third_party/skia/src/image/
DSkReadPixelsRec.h47 bool trim(int srcWidth, int srcHeight);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/null/
DTextureNULL.h98 GLsizei srcHeight,
112 GLsizei srcHeight,
DTextureNULL.cpp125 GLsizei srcHeight, in copyRenderbufferSubData() argument
142 GLsizei srcHeight, in copyTextureSubData() argument

12345