Home
last modified time | relevance | path

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

12

/external/mesa3d/src/mesa/main/
Dtexstore.c322 GLint srcWidth, GLint srcHeight, GLint srcDepth, in _mesa_make_temp_float_image() argument
357 tempImage = (GLfloat *) malloc(srcWidth * srcHeight * srcDepth in _mesa_make_temp_float_image()
366 srcWidth, srcHeight, in _mesa_make_temp_float_image()
369 for (row = 0; row < srcHeight; row++) { in _mesa_make_temp_float_image()
395 newImage = (GLfloat *) malloc(srcWidth * srcHeight * srcDepth in _mesa_make_temp_float_image()
404 n = srcWidth * srcHeight * srcDepth; in _mesa_make_temp_float_image()
434 GLint srcWidth, GLint srcHeight, GLint srcDepth, in make_temp_uint_image() argument
466 tempImage = (GLuint *) malloc(srcWidth * srcHeight * srcDepth in make_temp_uint_image()
475 srcWidth, srcHeight, in make_temp_uint_image()
478 for (row = 0; row < srcHeight; row++) { in make_temp_uint_image()
[all …]
Dtexcompress_rgtc.c108 srcWidth, srcHeight, srcDepth, in _mesa_texstore_red_rgtc1()
118 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_red_rgtc1()
119 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_red_rgtc1()
120 else numypixels = srcHeight - j; in _mesa_texstore_red_rgtc1()
155 srcWidth, srcHeight, srcDepth, in _mesa_texstore_signed_red_rgtc1()
165 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_signed_red_rgtc1()
166 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_signed_red_rgtc1()
167 else numypixels = srcHeight - j; in _mesa_texstore_signed_red_rgtc1()
203 srcWidth, srcHeight, srcDepth, in _mesa_texstore_rg_rgtc2()
213 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_rg_rgtc2()
[all …]
Dtexcompress_s3tc.c182 srcWidth, srcHeight, srcDepth, in _mesa_texstore_rgb_dxt1()
191 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgb_dxt1()
198 (*ext_tx_compress_dxtn)(3, srcWidth, srcHeight, pixels, in _mesa_texstore_rgb_dxt1()
235 srcWidth, srcHeight, srcDepth, in _mesa_texstore_rgba_dxt1()
244 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgba_dxt1()
251 (*ext_tx_compress_dxtn)(4, srcWidth, srcHeight, pixels, in _mesa_texstore_rgba_dxt1()
288 srcWidth, srcHeight, srcDepth, in _mesa_texstore_rgba_dxt3()
296 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgba_dxt3()
303 (*ext_tx_compress_dxtn)(4, srcWidth, srcHeight, pixels, in _mesa_texstore_rgba_dxt3()
340 srcWidth, srcHeight, srcDepth, in _mesa_texstore_rgba_dxt5()
[all …]
Dtexstore.h63 GLint srcWidth, GLint srcHeight, GLint srcDepth, \
77 GLint srcWidth, GLint srcHeight, GLint srcDepth,
86 GLint srcWidth, GLint srcHeight, GLint srcDepth,
Dmipmap.c1446 GLint srcWidth, GLint srcHeight, in make_2d_mipmap() argument
1461 if (srcHeight > 1 && srcHeight > dstHeight) { in make_2d_mipmap()
1494 srcPtr + srcWidth * (srcHeight - 1) * bpt, bpt); in make_2d_mipmap()
1497 srcPtr + (srcWidth * srcHeight - 1) * bpt, bpt); in make_2d_mipmap()
1505 srcPtr + (srcWidth * (srcHeight - 1) + 1) * bpt, in make_2d_mipmap()
1506 srcPtr + (srcWidth * (srcHeight - 1) + 1) * bpt, in make_2d_mipmap()
1510 if (srcHeight == dstHeight) { in make_2d_mipmap()
1512 for (row = 1; row < srcHeight; row++) { in make_2d_mipmap()
1538 GLint srcWidth, GLint srcHeight, GLint srcDepth, in make_3d_mipmap() argument
1557 bytesPerSrcImage = srcWidth * srcHeight * bpt; in make_3d_mipmap()
[all …]
Dmipmap.h36 GLint srcWidth, GLint srcHeight, GLint srcDepth,
Dtexcompress_fxt1.c80 srcWidth, srcHeight, srcDepth, in _mesa_texstore_rgb_fxt1()
90 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgb_fxt1()
99 fxt1_encode(srcWidth, srcHeight, 3, pixels, srcRowStride, in _mesa_texstore_rgb_fxt1()
130 srcWidth, srcHeight, srcDepth, in _mesa_texstore_rgba_fxt1()
140 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgba_fxt1()
149 fxt1_encode(srcWidth, srcHeight, 4, pixels, srcRowStride, in _mesa_texstore_rgba_fxt1()
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJCompressor.java153 srcHeight = height; in setSourceImage()
201 srcHeight = (height == 0) ? srcImage.getHeight() : height; in setSourceImage()
346 srcHeight, srcPixelFormat, dstBuf, subsamp, in compress()
349 compressedSize = compress(srcBuf, srcWidth, srcPitch, srcHeight, in compress()
355 srcHeight, srcPixelFormat, dstBuf, subsamp, in compress()
358 compressedSize = compress(srcBufInt, srcWidth, srcStride, srcHeight, in compress()
376 if (srcWidth < 1 || srcHeight < 1) in compress()
378 byte[] buf = new byte[TJ.bufSize(srcWidth, srcHeight, subsamp)]; in compress()
429 if (srcWidth != dstImage.getWidth() || srcHeight != dstImage.getHeight()) in encodeYUV()
433 encodeYUV(srcBufInt, srcX, srcY, srcWidth, srcStride, srcHeight, in encodeYUV()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_blit.c117 const GLint srcHeight = ABS(srcY1 - srcY0); in blit_nearest() local
250 srcWidth, srcHeight, in blit_nearest()
281 GLint srcRow = (dstRow * srcHeight) / dstHeight; in blit_nearest()
285 ASSERT(srcRow < srcHeight); in blit_nearest()
288 srcRow = srcHeight - 1 - srcRow; in blit_nearest()
497 const GLint srcHeight = ABS(srcY1 - srcY0); in blit_linear() local
609 const GLfloat srcRow = (dstRow * srcHeight) / dstHeightF; in blit_linear()
615 ASSERT(srcRow < srcHeight); in blit_linear()
617 if (srcRow1 == srcHeight) { in blit_linear()
624 srcRow0 = srcHeight - 1 - srcRow0; in blit_linear()
[all …]
/external/skia/src/core/
DSkImageInfo.cpp86 bool SkReadPixelsRec::trim(int srcWidth, int srcHeight) { in trim() argument
104 if (!srcR.intersect(0, 0, srcWidth, srcHeight)) { in trim()
/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/skia/src/image/
DSkReadPixelsRec.h38 bool trim(int srcWidth, int srcHeight);
/external/skia/src/effects/
DSkBlurMask.cpp901 int srcHeight = src.fBounds.height(); in BlurGroundTruth() local
912 int padHeight = srcHeight; in BlurGroundTruth()
918 for (int y = 0 ; y < srcHeight; ++y) { in BlurGroundTruth()
979 dst->fRowBytes, srcWidth, srcHeight); in BlurGroundTruth()
983 dst->fRowBytes, srcPixels, src.fRowBytes, srcWidth, srcHeight, style); in BlurGroundTruth()
/external/opencv3/modules/stitching/src/opencl/
Dmultibandblend.cl49 // if (x < srcWidth && y < srcHeight)
245 if (x < srcWidth && y < srcHeight)
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga_reg.h806 uint32 srcHeight; member
/external/mesa3d/src/gallium/auxiliary/util/
Du_gen_mipmap.c982 int srcWidth, int srcHeight, in reduce_2d() argument
1004 if (srcHeight > 1) in reduce_2d()
1023 int srcWidth, int srcHeight, int srcDepth, in reduce_3d() argument
1038 srcImageStride = srcWidth * srcHeight * bpt; in reduce_3d()
1051 srcRowOffset = (srcHeight == dstHeight) ? 0 : srcRowStride; in reduce_3d()
/external/deqp/modules/gles3/functional/
Des3fVertexTextureTests.cpp1630 const int srcHeight = refTexture.getHeight(); in calculateLod() local
1641 const float dvdx = (trans10.y() - trans00.y()) * (float)srcHeight / dstSize.x(); in calculateLod()
1642 const float dvdy = (trans01.y() - trans00.y()) * (float)srcHeight / dstSize.y(); in calculateLod()
/external/deqp/modules/gles31/functional/
Des31fPrimitiveBoundingBoxTests.cpp3264 const int srcHeight = rnd.getInt(1, unionSize.y()); in init() local
3266 const int srcY = rnd.getInt(0, unionSize.y() - srcHeight); in init()
3271 args.src.w() = srcY + srcHeight; in init()
3278 const int srcHeight = rnd.getInt(1, srcSize.y()); in init() local
3280 const int srcY = rnd.getInt(0, srcSize.y() - srcHeight); in init()
3289 args.src.w() = srcY + srcHeight; in init()
/external/mesa3d/include/GL/
Dglxext.h851 int srcXOrigin, srcYOrigin, srcWidth, srcHeight; member
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c3364 GLsizei srcWidth, srcHeight, srcDepth; in _mesa_meta_GenerateMipmap() local
3373 srcHeight = srcImage->Height; in _mesa_meta_GenerateMipmap()
3378 dstHeight = MAX2(1, srcHeight / 2); in _mesa_meta_GenerateMipmap()
/external/deqp/framework/platform/null/
DtcuNullRenderContextFuncs.inl723 …dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDept… argument
738 DE_UNREF(srcHeight);
/external/deqp/framework/opengl/
DgluCallLogWrapper.inl583 …, glw::GLint dstY, glw::GLint dstZ, glw::GLsizei srcWidth, glw::GLsizei srcHeight, glw::GLsizei sr… argument
586 … << dstX << ", " << dstY << ", " << dstZ << ", " << srcWidth << ", " << srcHeight << ", " << srcDe…
587 …, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth);
DgluCallLogWrapperApi.inl87 …, glw::GLint dstY, glw::GLint dstZ, glw::GLsizei srcWidth, glw::GLsizei srcHeight, glw::GLsizei sr…
/external/deqp/framework/opengl/wrapper/
DglwImpl.inl655 …dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDept… argument
660 …, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth);
DglwApi.inl747 …dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDept…

12