/third_party/mesa3d/src/mesa/main/ |
H A 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 in _mesa_texstore_signed_red_rgtc1() [all...] |
H A D | texstore.c | 105 GLint srcWidth, GLint srcHeight, GLint srcDepth, in _mesa_memcpy_texture() 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; ro in _mesa_texstore_z24_x8() 100 _mesa_memcpy_texture(struct gl_context *ctx, GLuint dimensions, mesa_format dstFormat, GLint dstRowStride, GLubyte **dstSlices, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking) _mesa_memcpy_texture() argument [all...] |
H A 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, srcDept in _mesa_texstore_bptc_rgb_unsigned_float() [all...] |
H A D | copyimage.c | 547 int srcWidth, int srcHeight, int srcDepth) in copy_image_subdata() 577 srcWidth, srcHeight); in copy_image_subdata() 586 GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) in _mesa_CopyImageSubData_no_error() 601 dstLevel, srcWidth, srcHeight, srcDepth); in _mesa_CopyImageSubData_no_error() 609 GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) in _mesa_CopyImageSubData() 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, srcDept in _mesa_CopyImageSubData() 540 copy_image_subdata(struct gl_context *ctx, struct gl_texture_image *srcTexImage, struct gl_renderbuffer *srcRenderbuffer, int srcX, int srcY, int srcZ, int srcLevel, struct gl_texture_image *dstTexImage, struct gl_renderbuffer *dstRenderbuffer, int dstX, int dstY, int dstZ, int dstLevel, int srcWidth, int srcHeight, int srcDepth) copy_image_subdata() argument 582 _mesa_CopyImageSubData_no_error(GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) _mesa_CopyImageSubData_no_error() argument 605 _mesa_CopyImageSubData(GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) _mesa_CopyImageSubData() argument 741 _mesa_CopyImageSubDataNV_no_error(GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) _mesa_CopyImageSubDataNV_no_error() argument 764 _mesa_CopyImageSubDataNV(GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) _mesa_CopyImageSubDataNV() argument [all...] |
H A 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, srcDept in _mesa_texstore_rgba_dxt3() [all...] |
H A 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 util_format_fxt1_rgb_pack_rgba_8unorm(dst, dstRowStride, pixels, srcRowStride, srcWidth, srcHeight); in _mesa_texstore_fxt1() 92 util_format_fxt1_rgba_pack_rgba_8unorm(dst, dstRowStride, pixels, srcRowStride, srcWidth, srcHeight); in _mesa_texstore_fxt1()
|
H A 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,
|
H A D | mipmap.c | 1473 GLint srcWidth, GLint srcHeight, in make_2d_mipmap() 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, GLin in make_3d_mipmap() 1472 make_2d_mipmap(GLenum datatype, GLuint comps, GLint border, GLint srcWidth, GLint srcHeight, const GLubyte *srcPtr, GLint srcRowStride, GLint dstWidth, GLint dstHeight, GLubyte *dstPtr, GLint dstRowStride) make_2d_mipmap() argument 1564 make_3d_mipmap(GLenum datatype, GLuint comps, GLint border, GLint srcWidth, GLint srcHeight, GLint srcDepth, const GLubyte **srcPtr, GLint srcRowStride, GLint dstWidth, GLint dstHeight, GLint dstDepth, GLubyte **dstPtr, GLint dstRowStride) make_3d_mipmap() argument 1725 _mesa_generate_mipmap_level(GLenum target, GLenum datatype, GLuint comps, GLint border, GLint srcWidth, GLint srcHeight, GLint srcDepth, const GLubyte **srcData, GLint srcRowStride, GLint dstWidth, GLint dstHeight, GLint dstDepth, GLubyte **dstData, GLint dstRowStride) _mesa_generate_mipmap_level() argument 1793 _mesa_next_mipmap_level_size(GLenum target, GLint border, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLint *dstWidth, GLint *dstHeight, GLint *dstDepth) _mesa_next_mipmap_level_size() argument 1967 GLint srcWidth, srcHeight, srcDepth; generate_mipmap_uncompressed() local 2154 GLint srcWidth, srcHeight, srcDepth; generate_mipmap_compressed() local [all...] |
H A D | pack.h | 103 int srcWidth, int srcHeight, int srcDepth, 110 int srcWidth, int srcHeight, int srcDepth,
|
H A D | mipmap.h | 50 GLint srcWidth, GLint srcHeight, GLint srcDepth,
|
H A D | pack.c | 1553 int srcWidth, int srcHeight, int srcDepth, in _mesa_unpack_color_index_to_rgba_float() 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() 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() 1551 _mesa_unpack_color_index_to_rgba_float(struct gl_context *ctx, GLuint dims, const void *src, GLenum srcFormat, GLenum srcType, int srcWidth, int srcHeight, int srcDepth, const struct gl_pixelstore_attrib *srcPacking, GLbitfield transferOps) _mesa_unpack_color_index_to_rgba_float() argument 1606 _mesa_unpack_color_index_to_rgba_ubyte(struct gl_context *ctx, GLuint dims, const void *src, GLenum srcFormat, GLenum srcType, int srcWidth, int srcHeight, int srcDepth, const struct gl_pixelstore_attrib *srcPacking, GLbitfield transferOps) _mesa_unpack_color_index_to_rgba_ubyte() argument
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
H A D | RenderbufferImpl.h | 63 GLsizei srcHeight, 77 GLsizei srcHeight, 108 GLsizei srcHeight, in copyRenderbufferSubData() 126 GLsizei srcHeight, in copyTextureSubData() 97 copyRenderbufferSubData(const gl::Context *context, const gl::Renderbuffer *srcBuffer, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) copyRenderbufferSubData() argument 115 copyTextureSubData(const gl::Context *context, const gl::Texture *srcTexture, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) copyTextureSubData() argument
|
H A D | TextureImpl.cpp | 58 GLsizei srcHeight, in copyRenderbufferSubData() 76 GLsizei srcHeight, in copyTextureSubData() 47 copyRenderbufferSubData(const gl::Context *context, const gl::Renderbuffer *srcBuffer, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) copyRenderbufferSubData() argument 65 copyTextureSubData(const gl::Context *context, const gl::Texture *srcTexture, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) copyTextureSubData() argument
|
H A D | TextureImpl.h | 123 GLsizei srcHeight, 137 GLsizei srcHeight,
|
/third_party/vk-gl-cts/framework/delibs/deimage/ |
H A 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/src/core/ |
H A 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()
|
H A 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/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | RenderbufferVk.h | 51 GLsizei srcHeight, 65 GLsizei srcHeight,
|
H A D | RenderbufferVk.cpp | 205 GLsizei srcHeight, in copyRenderbufferSubData() 216 srcHeight, srcDepth); in copyRenderbufferSubData() 230 GLsizei srcHeight, in copyTextureSubData() 242 srcHeight, srcDepth); in copyTextureSubData() 194 copyRenderbufferSubData(const gl::Context *context, const gl::Renderbuffer *srcBuffer, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) copyRenderbufferSubData() argument 219 copyTextureSubData(const gl::Context *context, const gl::Texture *srcTexture, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) copyTextureSubData() argument
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Renderbuffer.h | 106 GLsizei srcHeight, 120 GLsizei srcHeight,
|
H A D | Renderbuffer.cpp | 206 GLsizei srcHeight, in copyRenderbufferSubData() 211 srcHeight, srcDepth)); in copyRenderbufferSubData() 227 GLsizei srcHeight, in copyTextureSubData() 231 dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, in copyTextureSubData() 195 copyRenderbufferSubData(Context *context, const gl::Renderbuffer *srcBuffer, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) copyRenderbufferSubData() argument 216 copyTextureSubData(Context *context, const gl::Texture *srcTexture, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) copyTextureSubData() argument
|
H A D | validationES32.cpp | 151 GLsizei srcHeight, in ValidateCopyImageSubData() 162 srcWidth, srcHeight, srcDepth); in ValidateCopyImageSubData() 136 ValidateCopyImageSubData(const Context *context, angle::EntryPoint entryPoint, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) ValidateCopyImageSubData() argument
|
/third_party/skia/src/image/ |
H A D | SkReadPixelsRec.h | 47 bool trim(int srcWidth, int srcHeight);
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/null/ |
H A D | TextureNULL.h | 98 GLsizei srcHeight, 112 GLsizei srcHeight,
|
H A D | TextureNULL.cpp | 125 GLsizei srcHeight, in copyRenderbufferSubData() 142 GLsizei srcHeight, in copyTextureSubData() 114 copyRenderbufferSubData(const gl::Context *context, const gl::Renderbuffer *srcBuffer, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) copyRenderbufferSubData() argument 131 copyTextureSubData(const gl::Context *context, const gl::Texture *srcTexture, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) copyTextureSubData() argument
|