HomeSort by relevance Sort by last modified time
    Searched refs:srcWidth (Results 1 - 25 of 46) sorted by null

1 2

  /external/chromium_org/third_party/mesa/src/src/mesa/main/
texcompress_rgtc.c 108 srcWidth, srcHeight, srcDepth,
117 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0;
121 srcaddr = tempImage + j * srcWidth;
122 for (i = 0; i < srcWidth; i += 4) {
123 if (srcWidth > i + 3) numxpixels = 4;
124 else numxpixels = srcWidth - i;
125 extractsrc_u(srcpixels, srcaddr, srcWidth, numxpixels, numypixels, 1);
155 srcWidth, srcHeight, srcDepth,
164 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0
    [all...]
texstore.c 309 * \param srcWidth source image width
322 GLint srcWidth, GLint srcHeight, GLint srcDepth,
331 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType);
357 tempImage = (GLfloat *) malloc(srcWidth * srcHeight * srcDepth
366 srcWidth, srcHeight,
370 _mesa_unpack_color_span_float(ctx, srcWidth, logicalBaseFormat,
373 dst += srcWidth * components;
395 newImage = (GLfloat *) malloc(srcWidth * srcHeight * srcDepth
404 n = srcWidth * srcHeight * srcDepth;
434 GLint srcWidth, GLint srcHeight, GLint srcDepth
    [all...]
texstore.h 51 * \param srcWidth/Height/Depth source image size, in pixels
63 GLint srcWidth, GLint srcHeight, GLint srcDepth, \
77 GLint srcWidth, GLint srcHeight, GLint srcDepth,
86 GLint srcWidth, GLint srcHeight, GLint srcDepth,
texcompress_s3tc.c 176 srcPacking->RowLength != srcWidth ||
182 srcWidth, srcHeight, srcDepth,
191 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight,
198 (*ext_tx_compress_dxtn)(3, srcWidth, srcHeight, pixels,
229 srcPacking->RowLength != srcWidth ||
235 srcWidth, srcHeight, srcDepth,
244 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight,
251 (*ext_tx_compress_dxtn)(4, srcWidth, srcHeight, pixels,
282 srcPacking->RowLength != srcWidth ||
288 srcWidth, srcHeight, srcDepth
    [all...]
mipmap.h 36 GLint srcWidth, GLint srcHeight, GLint srcDepth,
mipmap.c 156 do_row(GLenum datatype, GLuint comps, GLint srcWidth,
160 const GLuint k0 = (srcWidth == dstWidth) ? 0 : 1;
161 const GLuint colStride = (srcWidth == dstWidth) ? 1 : 2;
167 assert(srcWidth == dstWidth || srcWidth == 2 * dstWidth);
    [all...]
texcompress_fxt1.c 74 srcPacking->RowLength != srcWidth ||
80 srcWidth, srcHeight, srcDepth,
86 srcRowStride = 3 * srcWidth;
90 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight,
93 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat,
99 fxt1_encode(srcWidth, srcHeight, 3, pixels, srcRowStride,
130 srcWidth, srcHeight, srcDepth,
136 srcRowStride = 4 * srcWidth;
140 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight,
143 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat
    [all...]
  /external/mesa3d/src/mesa/main/
texcompress_rgtc.c 108 srcWidth, srcHeight, srcDepth,
117 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0;
121 srcaddr = tempImage + j * srcWidth;
122 for (i = 0; i < srcWidth; i += 4) {
123 if (srcWidth > i + 3) numxpixels = 4;
124 else numxpixels = srcWidth - i;
125 extractsrc_u(srcpixels, srcaddr, srcWidth, numxpixels, numypixels, 1);
155 srcWidth, srcHeight, srcDepth,
164 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0
    [all...]
texstore.c 309 * \param srcWidth source image width
322 GLint srcWidth, GLint srcHeight, GLint srcDepth,
331 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType);
357 tempImage = (GLfloat *) malloc(srcWidth * srcHeight * srcDepth
366 srcWidth, srcHeight,
370 _mesa_unpack_color_span_float(ctx, srcWidth, logicalBaseFormat,
373 dst += srcWidth * components;
395 newImage = (GLfloat *) malloc(srcWidth * srcHeight * srcDepth
404 n = srcWidth * srcHeight * srcDepth;
434 GLint srcWidth, GLint srcHeight, GLint srcDepth
    [all...]
texstore.h 51 * \param srcWidth/Height/Depth source image size, in pixels
63 GLint srcWidth, GLint srcHeight, GLint srcDepth, \
77 GLint srcWidth, GLint srcHeight, GLint srcDepth,
86 GLint srcWidth, GLint srcHeight, GLint srcDepth,
texcompress_s3tc.c 176 srcPacking->RowLength != srcWidth ||
182 srcWidth, srcHeight, srcDepth,
191 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight,
198 (*ext_tx_compress_dxtn)(3, srcWidth, srcHeight, pixels,
229 srcPacking->RowLength != srcWidth ||
235 srcWidth, srcHeight, srcDepth,
244 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight,
251 (*ext_tx_compress_dxtn)(4, srcWidth, srcHeight, pixels,
282 srcPacking->RowLength != srcWidth ||
288 srcWidth, srcHeight, srcDepth
    [all...]
mipmap.h 36 GLint srcWidth, GLint srcHeight, GLint srcDepth,
mipmap.c 149 do_row(GLenum datatype, GLuint comps, GLint srcWidth,
153 const GLuint k0 = (srcWidth == dstWidth) ? 0 : 1;
154 const GLuint colStride = (srcWidth == dstWidth) ? 1 : 2;
160 assert(srcWidth == dstWidth || srcWidth == 2 * dstWidth);
    [all...]
texcompress_fxt1.c 74 srcPacking->RowLength != srcWidth ||
80 srcWidth, srcHeight, srcDepth,
86 srcRowStride = 3 * srcWidth;
90 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight,
93 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat,
99 fxt1_encode(srcWidth, srcHeight, 3, pixels, srcRowStride,
130 srcWidth, srcHeight, srcDepth,
136 srcRowStride = 4 * srcWidth;
140 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight,
143 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/swrast/
s_blit.c 43 NAME(GLint srcWidth, GLint dstWidth, \
53 GLint srcCol = (dstCol * srcWidth) / dstWidth; \
55 ASSERT(srcCol < srcWidth); \
56 srcCol = srcWidth - 1 - srcCol; /* flip */ \
74 GLint srcCol = (dstCol * srcWidth) / dstWidth; \
76 ASSERT(srcCol < srcWidth); \
115 const GLint srcWidth = ABS(srcX1 - srcX0);
142 typedef void (*resample_func)(GLint srcWidth, GLint dstWidth,
250 srcWidth, srcHeight,
268 srcBuffer = malloc(pixelSize * srcWidth);
    [all...]
  /external/mesa3d/src/mesa/swrast/
s_blit.c 43 NAME(GLint srcWidth, GLint dstWidth, \
53 GLint srcCol = (dstCol * srcWidth) / dstWidth; \
55 ASSERT(srcCol < srcWidth); \
56 srcCol = srcWidth - 1 - srcCol; /* flip */ \
74 GLint srcCol = (dstCol * srcWidth) / dstWidth; \
76 ASSERT(srcCol < srcWidth); \
115 const GLint srcWidth = ABS(srcX1 - srcX0);
142 typedef void (*resample_func)(GLint srcWidth, GLint dstWidth,
250 srcWidth, srcHeight,
268 srcBuffer = malloc(pixelSize * srcWidth);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/
SkiaUtils.cpp 201 float srcWidth,
224 float diffWidth = fabs(destWidth - srcWidth);
232 if (srcWidth <= kSmallImageSizeThreshold
241 if ((!nearlyIntegral(destWidth) && srcWidth > 1 + std::numeric_limits<float>::epsilon())
250 if (srcHeight * kLargeStretch <= destHeight || srcWidth * kLargeStretch <= destWidth) {
265 if ((diffWidth / srcWidth < kFractionalChangeThreshold)
SkiaUtils.h 101 float srcWidth,
  /external/deqp/framework/delibs/deimage/
deImage.c 119 int srcWidth = srcImage->width;
140 int x1 = deClamp32(x0+1, 0, srcWidth-1);
142 DE_ASSERT(deInBounds32(x0, 0, srcWidth));
  /external/chromium_org/ui/file_manager/gallery/js/image_editor/
filter.js 157 var srcWidth = src.width;
160 if (offsetX < 0 || offsetX + dstWidth > srcWidth ||
166 var srcIndex = (offsetX + (offsetY + y) * srcWidth) * 4;
228 var srcWidth = src.width;
230 var srcStride = srcWidth * 4;
233 if (offsetX < 0 || offsetX + dstWidth > srcWidth ||
245 var endX = Math.min(dstWidth, srcWidth - margin - offsetX);
377 var srcWidth = src.width;
380 if (offsetX < 0 || offsetX + dstWidth > srcWidth ||
391 var srcIndex = (offsetX + (offsetY + y) * srcWidth) * 4
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
MockTvInputService.java 199 int srcWidth = b.getWidth();
204 c.drawBitmap(b, new Rect(0, 0, srcWidth, srcHeight),
  /developers/build/lib/
assetstudio.jar 
  /external/chromium_org/third_party/skia/src/effects/
SkBlurMask.cpp 902 int srcWidth = src.fBounds.width();
913 int padWidth = srcWidth + 4*pad;
922 const uint8_t* srcptr = srcPixels + y * srcWidth;
923 memcpy(padptr, srcptr, srcWidth);
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
u_gen_mipmap.c 169 do_row(enum dtype datatype, uint comps, int srcWidth,
173 const uint k0 = (srcWidth == dstWidth) ? 0 : 1;
174 const uint colStride = (srcWidth == dstWidth) ? 1 : 2;
180 assert(srcWidth == dstWidth || srcWidth == 2 * dstWidth);
536 * \param srcWidth Width of a row in the source data
545 do_row_3D(enum dtype datatype, uint comps, int srcWidth,
550 const uint k0 = (srcWidth == dstWidth) ? 0 : 1;
551 const uint colStride = (srcWidth == dstWidth) ? 1 : 2;
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_gen_mipmap.c 169 do_row(enum dtype datatype, uint comps, int srcWidth,
173 const uint k0 = (srcWidth == dstWidth) ? 0 : 1;
174 const uint colStride = (srcWidth == dstWidth) ? 1 : 2;
180 assert(srcWidth == dstWidth || srcWidth == 2 * dstWidth);
536 * \param srcWidth Width of a row in the source data
545 do_row_3D(enum dtype datatype, uint comps, int srcWidth,
550 const uint k0 = (srcWidth == dstWidth) ? 0 : 1;
551 const uint colStride = (srcWidth == dstWidth) ? 1 : 2;
    [all...]

Completed in 1438 milliseconds

1 2