Home
last modified time | relevance | path

Searched refs:dstWidth (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/mesa/main/
Dmipmap.c151 GLint dstWidth, GLvoid *dstRow) in do_row() argument
153 const GLuint k0 = (srcWidth == dstWidth) ? 0 : 1; in do_row()
154 const GLuint colStride = (srcWidth == dstWidth) ? 1 : 2; in do_row()
168 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row()
181 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row()
193 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row()
204 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row()
215 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row()
228 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row()
240 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row()
[all …]
Dmipmap.h39 GLint dstWidth, GLint dstHeight, GLint dstDepth,
/external/mesa3d/src/mesa/swrast/
Ds_blit.c43 NAME(GLint srcWidth, GLint dstWidth, \
52 for (dstCol = 0; dstCol < dstWidth; dstCol++) { \
53 GLint srcCol = (dstCol * srcWidth) / dstWidth; \
73 for (dstCol = 0; dstCol < dstWidth; dstCol++) { \
74 GLint srcCol = (dstCol * srcWidth) / dstWidth; \
116 const GLint dstWidth = ABS(dstX1 - dstX0); in blit_nearest() local
142 typedef void (*resample_func)(GLint srcWidth, GLint dstWidth, in blit_nearest()
258 dstWidth, dstHeight, in blit_nearest()
273 dstBuffer = malloc(pixelSize * dstWidth); in blit_nearest()
317 (*resampleRow)(srcWidth, dstWidth, srcBuffer, dstBuffer, invertX); in blit_nearest()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_gen_mipmap.c171 int dstWidth, void *dstRow) in do_row() argument
173 const uint k0 = (srcWidth == dstWidth) ? 0 : 1; in do_row()
174 const uint colStride = (srcWidth == dstWidth) ? 1 : 2; in do_row()
188 for (i = j = 0, k = k0; i < (uint) dstWidth; in do_row()
201 for (i = j = 0, k = k0; i < (uint) dstWidth; in do_row()
213 for (i = j = 0, k = k0; i < (uint) dstWidth; in do_row()
224 for (i = j = 0, k = k0; i < (uint) dstWidth; in do_row()
235 for (i = j = 0, k = k0; i < (uint) dstWidth; in do_row()
248 for (i = j = 0, k = k0; i < (uint) dstWidth; in do_row()
260 for (i = j = 0, k = k0; i < (uint) dstWidth; in do_row()
[all …]
/external/skia/src/effects/
DSkTableMaskFilter.cpp44 int dstWidth = dst->fBounds.width(); in filterMask() local
45 int extraZeros = dst->fRowBytes - dstWidth; in filterMask()
48 for (int x = dstWidth - 1; x >= 0; --x) { in filterMask()
56 dstP += dstWidth; in filterMask()
DSkBlurMask.cpp787 int dstWidth = dst->fBounds.width(); in BlurRect() local
791 SkAutoTMalloc<uint8_t> horizontalScanline(dstWidth); in BlurRect()
794 ComputeBlurredScanline(horizontalScanline, profile, dstWidth, sigma); in BlurRect()
798 for (int x = 0 ; x < dstWidth ; x++) { in BlurRect()
812 uint8_t *blur_scanline = dp + (y+pad)*dstWidth + pad; in BlurRect()
826 uint8_t *dst_scanline = dp + y*dstWidth + pad; in BlurRect()
831 uint8_t *dst_scanline = dp + y*dstWidth + pad; in BlurRect()
904 int dstWidth = dst->fBounds.width(); in BlurGroundTruth() local
962 uint8_t *outPixel = dstPixels + (x-pad)*dstWidth + y; // transposed output in BlurGroundTruth()
/external/deqp/framework/delibs/deimage/
DdeImage.c117 deImage* deImage_scale (const deImage* srcImage, int dstWidth, int dstHeight) in deImage_scale() argument
121 deImage* result = deImage_create(dstWidth, dstHeight, srcImage->format); in deImage_scale()
126 for (x = 0; x < dstWidth; x++) in deImage_scale()
128 float xFloat = (float)(x + 0.5f) / (float)dstWidth * (float)srcImage->width - 0.5f; in deImage_scale()
DdeImage.h59 deImage* deImage_scale (const deImage* image, int dstWidth, int dstHeight);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowBitmap.java57 … public static Bitmap createScaledBitmap(Bitmap src, int dstWidth, int dstHeight, boolean filter) { in createScaledBitmap() argument
61 shadowBitmap.appendDescription(" scaled to " + dstWidth + " x " + dstHeight); in createScaledBitmap()
65 shadowBitmap.setWidth(dstWidth); in createScaledBitmap()
/external/mesa3d/src/mesa/state_tracker/
Dst_gen_mipmap.c223 uint dstWidth, dstHeight, dstDepth; in st_generate_mipmap() local
225 dstWidth = u_minify(pt->width0, dstLevel); in st_generate_mipmap()
249 _mesa_init_teximage_fields(ctx, dstImage, dstWidth, dstHeight, in st_generate_mipmap()
/external/skia/src/codec/
DSkJpegCodec.cpp259 bool SkJpegCodec::scaleToDimensions(uint32_t dstWidth, uint32_t dstHeight) { in scaleToDimensions() argument
264 while (fDecoderMgr->dinfo()->output_width != dstWidth || in scaleToDimensions()
269 dstWidth > fDecoderMgr->dinfo()->output_width || in scaleToDimensions()
/external/skia/samplecode/
DSampleStrokePath.cpp78 static void scale_to_width(SkPath* path, SkScalar dstWidth) { in scale_to_width() argument
80 SkScalar scale = dstWidth / bounds.width(); in scale_to_width()
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga_reg.h809 uint32 dstWidth; member
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DBlockRealMatrix.java821 final double[] dstBlock, final int dstWidth, in copyBlockPart() argument
825 int dstPos = dstStartRow * dstWidth + dstStartColumn; in copyBlockPart()
829 dstPos += dstWidth; in copyBlockPart()
DBlockFieldMatrix.java795 final T[] dstBlock, final int dstWidth, in copyBlockPart() argument
799 int dstPos = dstStartRow * dstWidth + dstStartColumn; in copyBlockPart()
803 dstPos += dstWidth; in copyBlockPart()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c3365 GLsizei dstWidth, dstHeight, dstDepth; in _mesa_meta_GenerateMipmap() local
3377 dstWidth = MAX2(1, srcWidth / 2); in _mesa_meta_GenerateMipmap()
3381 if (dstWidth == srcImage->Width && in _mesa_meta_GenerateMipmap()
3394 dstWidth, dstHeight, dstDepth, in _mesa_meta_GenerateMipmap()
3442 assert(dstWidth == ctx->DrawBuffer->Width); in _mesa_meta_GenerateMipmap()
3446 _mesa_set_viewport(ctx, 0, 0, dstWidth, dstHeight); in _mesa_meta_GenerateMipmap()
/external/deqp/modules/gles31/functional/
Des31fPrimitiveBoundingBoxTests.cpp3280 const int dstWidth = rnd.getInt(1, dstSize.x()); in init() local
3282 …const int dstX = rnd.getInt(-(dstWidth / 2), dstSize.x() - (dstWidth+1) / 2); // allow dst go ou… in init()
3291 args.dst.z() = dstX + dstWidth; in init()