Home
last modified time | relevance | path

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

12

/external/skia/src/codec/
DSkSwizzler.cpp84 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_grayscale() argument
96 for (int x = 1; x < dstWidth; x++) { in swizzle_bit_to_grayscale()
109 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_index() argument
120 for (int x = 1; x < dstWidth; x++) { in swizzle_bit_to_index()
130 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_n32() argument
141 for (int x = 1; x < dstWidth; x++) { in swizzle_bit_to_n32()
153 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_565() argument
164 for (int x = 1; x < dstWidth; x++) { in swizzle_bit_to_565()
176 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_f16() argument
196 for (int x = 1; x < dstWidth; x++) { in swizzle_bit_to_f16()
[all …]
DSkSwizzler.h103 int dstWidth, int bpp, int deltaSrc, int offset,
109 int dstWidth, int bpp, int deltaSrc, int offset,
211 int srcWidth, int dstOffset, int dstWidth, int srcBPP, int dstBPP);
DSkJpegCodec.cpp454 const unsigned int dstWidth = size.width(); in onDimensionsSupported() local
469 while (dinfo.output_width != dstWidth || dinfo.output_height != dstHeight) { in onDimensionsSupported()
472 if (1 == num || dstWidth > dinfo.output_width || dstHeight > dinfo.output_height) { in onDimensionsSupported()
504 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); in readRows() local
510 dstWidth = fSwizzler->swizzleWidth(); in readRows()
519 dstWidth = fSwizzler->swizzleWidth(); in readRows()
536 SkColorSpaceXform::kRGBA_8888_ColorFormat, swizzleDst, dstWidth, in readRows()
618 int dstWidth = dstInfo.width(); in allocateStorage() local
623 dstWidth = fSwizzler->swizzleWidth(); in allocateStorage()
630 xformBytes = dstWidth * sizeof(uint32_t); in allocateStorage()
/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.cpp784 int dstWidth = dst->fBounds.width(); in BlurRect() local
788 SkAutoTMalloc<uint8_t> horizontalScanline(dstWidth); in BlurRect()
791 ComputeBlurredScanline(horizontalScanline, profile.get(), dstWidth, sigma); in BlurRect()
795 for (int x = 0 ; x < dstWidth ; x++) { in BlurRect()
809 uint8_t *blur_scanline = dp + (y+pad)*dstWidth + pad; in BlurRect()
823 uint8_t *dst_scanline = dp + y*dstWidth + pad; in BlurRect()
828 uint8_t *dst_scanline = dp + y*dstWidth + pad; in BlurRect()
901 int dstWidth = dst->fBounds.width(); in BlurGroundTruth() local
959 uint8_t *outPixel = dstPixels + (x-pad)*dstWidth + y; // transposed output in BlurGroundTruth()
DSkAlphaThresholdFilter.cpp224 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local
229 for (int x = 0; x < dstWidth; ++x) { in onFilterImage()
255 dptr[y * dstWidth + x] = outputColor; in onFilterImage()
DSkMagnifierImageFilter.cpp408 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local
410 for (int x = 0; x < dstWidth; ++x) { in onFilterImage()
411 SkScalar x_dist = SkMin32(x, dstWidth - x - 1) * invInset; in onFilterImage()
/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/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/robolectric/v1/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/skia/src/core/
DSkImageInfo.cpp136 bool SkWritePixelsRec::trim(int dstWidth, int dstHeight) { in trim() argument
147 if (!dstR.intersect(0, 0, dstWidth, dstHeight)) { in trim()
DSkWritePixelsRec.h38 bool trim(int dstWidth, int dstHeight);
/external/webrtc/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/
DViESurfaceRenderer.java55 private void changeDestRect(int dstWidth, int dstHeight) { in changeDestRect() argument
56 dstRect.right = (int)(dstRect.left + dstRightScale * dstWidth); in changeDestRect()
/external/skia/samplecode/
DSampleStrokePath.cpp77 static void scale_to_width(SkPath* path, SkScalar dstWidth) { in scale_to_width() argument
79 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/skia/tests/
DCodecTest.cpp1066 const int dstWidth = subsetWidth / opts.fSampleSize; in check_color_xform() local
1071 SkImageInfo dstInfo = codec->getInfo().makeWH(dstWidth, dstHeight) in check_color_xform()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp1818 int dstWidth = pBitmap->GetWidth(); in GetDIBits() local
1820 int dstRowBytes = dstWidth * sizeof(uint32_t); in GetDIBits()
1822 dstWidth, dstHeight, SkColorType::kN32_SkColorType, kPremul_SkAlphaType); in GetDIBits()

12