Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/mesa/src/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.c1453 GLint srcWidth, GLint srcHeight, in make_2d_mipmap() argument
1468 if (srcHeight > 1 && srcHeight > dstHeight) { in make_2d_mipmap()
1501 srcPtr + srcWidth * (srcHeight - 1) * bpt, bpt); in make_2d_mipmap()
1504 srcPtr + (srcWidth * srcHeight - 1) * bpt, bpt); in make_2d_mipmap()
1512 srcPtr + (srcWidth * (srcHeight - 1) + 1) * bpt, in make_2d_mipmap()
1513 srcPtr + (srcWidth * (srcHeight - 1) + 1) * bpt, in make_2d_mipmap()
1517 if (srcHeight == dstHeight) { in make_2d_mipmap()
1519 for (row = 1; row < srcHeight; row++) { in make_2d_mipmap()
1545 GLint srcWidth, GLint srcHeight, GLint srcDepth, in make_3d_mipmap() argument
1564 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/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/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/chromium_org/third_party/mesa/src/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/chromium_org/chrome/browser/resources/file_manager/foreground/js/image_editor/
Dfilter.js158 var srcHeight = src.height;
161 offsetY < 0 || offsetY + dstHeight > srcHeight)
229 var srcHeight = src.height;
234 offsetY < 0 || offsetY + dstHeight > srcHeight)
248 var endY = Math.min(dstHeight, srcHeight - margin - offsetY);
378 var srcHeight = src.height;
381 offsetY < 0 || offsetY + dstHeight > srcHeight)
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/
DNativeImageSkia.cpp59 …ia::computeResamplingMode(const SkMatrix& matrix, float srcWidth, float srcHeight, float destWidth… in computeResamplingMode() argument
79 float diffHeight = fabs(destHeight - srcHeight); in computeResamplingMode()
87 || srcHeight <= kSmallImageSizeThreshold in computeResamplingMode()
96 … || (!nearlyIntegral(destHeight) && srcHeight > 1 + std::numeric_limits<float>::epsilon())) in computeResamplingMode()
104 if (srcHeight * kLargeStretch <= destHeight || srcWidth * kLargeStretch <= destWidth) { in computeResamplingMode()
120 && (diffHeight / srcHeight < kFractionalChangeThreshold)) { in computeResamplingMode()
DNativeImageSkia.h176 …ResamplingMode computeResamplingMode(const SkMatrix&, float srcWidth, float srcHeight, float destW…
/external/chromium_org/third_party/angle/samples/gles2_book/MipMap2D/
DMipMap2D.c43 GLboolean GenMipMap2D( GLubyte *src, GLubyte **dst, int srcWidth, int srcHeight, int *dstWidth, int… in GenMipMap2D() argument
53 *dstHeight = srcHeight / 2; in GenMipMap2D()
/external/skia/src/effects/
DSkBlurMask.cpp908 int srcHeight = src.fBounds.height(); in BlurGroundTruth() local
919 int padHeight = srcHeight; in BlurGroundTruth()
925 for (int y = 0 ; y < srcHeight; ++y) { in BlurGroundTruth()
986 dst->fRowBytes, srcWidth, srcHeight); in BlurGroundTruth()
990 dst->fRowBytes, srcPixels, src.fRowBytes, srcWidth, srcHeight, style); in BlurGroundTruth()
/external/chromium_org/third_party/skia/src/effects/
DSkBlurMask.cpp908 int srcHeight = src.fBounds.height(); in BlurGroundTruth() local
919 int padHeight = srcHeight; in BlurGroundTruth()
925 for (int y = 0 ; y < srcHeight; ++y) { in BlurGroundTruth()
986 dst->fRowBytes, srcWidth, srcHeight); in BlurGroundTruth()
990 dst->fRowBytes, srcPixels, src.fRowBytes, srcWidth, srcHeight, style); in BlurGroundTruth()
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga_reg.h806 uint32 srcHeight; member
/external/chromium_org/third_party/mesa/src/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()

12