Searched defs:dstWidth (Results 1 - 25 of 37) sorted by relevance

12

/external/skia/src/effects/
H A DSkTableMaskFilter.cpp44 int dstWidth = dst->fBounds.width(); local
45 int extraZeros = dst->fRowBytes - dstWidth;
48 for (int x = dstWidth - 1; x >= 0; --x) {
56 dstP += dstWidth;
H A DSkBlurMask.cpp785 int dstWidth = dst->fBounds.width(); local
789 SkAutoTMalloc<uint8_t> horizontalScanline(dstWidth);
792 ComputeBlurredScanline(horizontalScanline, profile.get(), dstWidth, sigma);
796 for (int x = 0 ; x < dstWidth ; x++) {
810 uint8_t *blur_scanline = dp + (y+pad)*dstWidth + pad;
824 uint8_t *dst_scanline = dp + y*dstWidth + pad;
829 uint8_t *dst_scanline = dp + y*dstWidth + pad;
902 int dstWidth = dst->fBounds.width(); local
960 uint8_t *outPixel = dstPixels + (x-pad)*dstWidth + y; // transposed output
/external/mesa3d/src/mesa/state_tracker/
H A Dst_gen_mipmap.c223 uint dstWidth, dstHeight, dstDepth; local
225 dstWidth = u_minify(pt->width0, dstLevel);
249 _mesa_init_teximage_fields(ctx, dstImage, dstWidth, dstHeight,
/external/skia/samplecode/
H A DSampleStrokePath.cpp78 static void scale_to_width(SkPath* path, SkScalar dstWidth) { argument
80 SkScalar scale = dstWidth / bounds.width();
/external/webrtc/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/
H A DViESurfaceRenderer.java55 private void changeDestRect(int dstWidth, int dstHeight) { argument
56 dstRect.right = (int)(dstRect.left + dstRightScale * dstWidth);
/external/deqp/framework/delibs/deimage/
H A DdeImage.c117 deImage* deImage_scale (const deImage* srcImage, int dstWidth, int dstHeight) argument
121 deImage* result = deImage_create(dstWidth, dstHeight, srcImage->format);
126 for (x = 0; x < dstWidth; x++)
128 float xFloat = ((float)x + 0.5f) / (float)dstWidth * (float)srcImage->width - 0.5f;
/external/libgdx/gdx/jni/
H A Dcom.badlogic.gdx.graphics.g2d.Gdx2DPixmap.cpp150 JNIEXPORT void JNICALL Java_com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_drawPixmap(JNIEnv* env, jclass clazz, jlong src, jlong dst, jint srcX, jint srcY, jint srcWidth, jint srcHeight, jint dstX, jint dstY, jint dstWidth, jint dstHeight) { argument
155 gdx2d_draw_pixmap((gdx2d_pixmap*)src, (gdx2d_pixmap*)dst, srcX, srcY, srcWidth, srcHeight, dstX, dstY, dstWidth, dstHeight);
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowBitmap.java57 public static Bitmap createScaledBitmap(Bitmap src, int dstWidth, int dstHeight, boolean filter) { argument
61 shadowBitmap.appendDescription(" scaled to " + dstWidth + " x " + dstHeight);
65 shadowBitmap.setWidth(dstWidth);
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/
H A DPixmap.java246 * @param dstWidth The target width
248 public void drawPixmap (Pixmap pixmap, int srcx, int srcy, int srcWidth, int srcHeight, int dstx, int dsty, int dstWidth, argument
250 this.pixmap.drawPixmap(pixmap.pixmap, srcx, srcy, srcWidth, srcHeight, dstx, dsty, dstWidth, dstHeight);
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
H A DGdx2DPixmap.java201 public void drawPixmap (Gdx2DPixmap src, int srcX, int srcY, int srcWidth, int srcHeight, int dstX, int dstY, int dstWidth, argument
203 drawPixmap(src.basePtr, basePtr, srcX, srcY, srcWidth, srcHeight, dstX, dstY, dstWidth, dstHeight);
351 int dstY, int dstWidth, int dstHeight); /*
352 gdx2d_draw_pixmap((gdx2d_pixmap*)src, (gdx2d_pixmap*)dst, srcX, srcY, srcWidth, srcHeight, dstX, dstY, dstWidth, dstHeight);
350 drawPixmap(long src, long dst, int srcX, int srcY, int srcWidth, int srcHeight, int dstX, int dstY, int dstWidth, int dstHeight) argument
/external/skia/src/codec/
H A DSkJpegCodec.cpp247 const unsigned int dstWidth = size.width(); local
262 while (dinfo.output_width != dstWidth || dinfo.output_height != dstHeight) {
265 if (1 == num || dstWidth > dinfo.output_width || dstHeight > dinfo.output_height) {
H A DSkSwizzler.cpp62 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth,
74 for (int x = 1; x < dstWidth; x++) {
87 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth,
98 for (int x = 1; x < dstWidth; x++) {
108 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth,
119 for (int x = 1; x < dstWidth; x++) {
131 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth,
142 for (int x = 1; x < dstWidth; x++) {
156 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth,
167 for (int x = 1; x < dstWidth;
61 swizzle_bit_to_grayscale( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor* ) argument
86 swizzle_bit_to_index( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor* ) argument
107 swizzle_bit_to_n32( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor* ) argument
130 swizzle_bit_to_565( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor* ) argument
155 swizzle_small_index_to_index( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
176 swizzle_small_index_to_565( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
197 swizzle_small_index_to_n32( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
220 swizzle_index_to_n32( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
233 swizzle_index_to_n32_skipZ( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
248 swizzle_index_to_565( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bytesPerPixel, int deltaSrc, int offset, const SkPMColor ctable[]) argument
261 swizzle_gray_to_n32( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
286 swizzle_gray_to_565( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bytesPerPixel, int deltaSrc, int offset, const SkPMColor ctable[]) argument
353 swizzle_bgrx_to_n32( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
365 swizzle_bgrx_to_565( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
379 swizzle_bgra_to_n32_unpremul( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
407 swizzle_bgra_to_n32_premul( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
437 swizzle_rgb_to_n32( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
464 swizzle_rgb_to_565( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bytesPerPixel, int deltaSrc, int offset, const SkPMColor ctable[]) argument
478 swizzle_rgba_to_n32_premul( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
506 swizzle_rgba_to_n32_unpremul( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
579 swizzle_cmyk_to_n32( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
610 swizzle_cmyk_to_565( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
646 SkipLeading8888ZerosThen( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
895 int dstWidth = srcWidth; local
912 SkSwizzler(RowProc fastProc, RowProc proc, const SkPMColor* ctable, int srcOffset, int srcWidth, int dstOffset, int dstWidth, int srcBPP, int dstBPP) argument
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
H A DBlockFieldMatrix.java788 * @param dstWidth destination block width ({@link #BLOCK_SIZE} or smaller)
795 final T[] dstBlock, final int dstWidth,
799 int dstPos = dstStartRow * dstWidth + dstStartColumn;
803 dstPos += dstWidth;
792 copyBlockPart(final T[] srcBlock, final int srcWidth, final int srcStartRow, final int srcEndRow, final int srcStartColumn, final int srcEndColumn, final T[] dstBlock, final int dstWidth, final int dstStartRow, final int dstStartColumn) argument
H A DBlockRealMatrix.java814 * @param dstWidth destination block width ({@link #BLOCK_SIZE} or smaller)
821 final double[] dstBlock, final int dstWidth,
825 int dstPos = dstStartRow * dstWidth + dstStartColumn;
829 dstPos += dstWidth;
818 copyBlockPart(final double[] srcBlock, final int srcWidth, final int srcStartRow, final int srcEndRow, final int srcStartColumn, final int srcEndColumn, final double[] dstBlock, final int dstWidth, final int dstStartRow, final int dstStartColumn) argument
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/graphics/
H A DPixmap.java303 * @param dstWidth The target width
305 public void drawPixmap (Pixmap pixmap, int srcx, int srcy, int srcWidth, int srcHeight, int dstx, int dsty, int dstWidth, argument
307 image(pixmap.getCanvasElement(), srcx, srcy, srcWidth, srcHeight, dstx, dsty, dstWidth, dstHeight);
472 private void image (CanvasElement image, int srcX, int srcY, int srcWidth, int srcHeight, int dstX, int dstY, int dstWidth, int dstHeight) { argument
478 context.rect(dstX, dstY, dstWidth, dstHeight);
485 context.drawImage(image, srcX, srcY, srcWidth, srcHeight, dstX, dstY, dstWidth, dstHeight);
/external/mesa3d/src/mesa/swrast/
H A 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); local
142 typedef void (*resample_func)(GLint srcWidth, GLint dstWidth,
258 dstWidth, dstHeight,
273 dstBuffer = malloc(pixelSize * dstWidth);
317 (*resampleRow)(srcWidth, dstWidth, srcBuffe
373 resample_linear_row_ub(GLint srcWidth, GLint dstWidth, const GLvoid *srcBuffer0, const GLvoid *srcBuffer1, GLvoid *dstBuffer, GLboolean flip, GLfloat rowWeight) argument
430 resample_linear_row_float(GLint srcWidth, GLint dstWidth, const GLvoid *srcBuffer0, const GLvoid *srcBuffer1, GLvoid *dstBuffer, GLboolean flip, GLfloat rowWeight) argument
496 const GLint dstWidth = ABS(dstX1 - dstX0); local
[all...]
/external/opencv3/modules/cudalegacy/src/
H A DNCV.cpp817 Ncv32u dstWidth,
824 ncvAssertReturn(dstWidth > 0 && dstHeight > 0, NCV_DIMENSIONS_INVALID);
825 ncvAssertReturn(dstStride >= dstWidth, NCV_INVALID_STEP);
827 ncvAssertReturn(numRects <= dstWidth * dstHeight, NCV_DIMENSIONS_INVALID);
833 if (rect.x < dstWidth)
840 if (rect.x+rect.width-1 < dstWidth)
849 for (Ncv32u j=rect.x; j<rect.x+rect.width && j<dstWidth; j++)
856 for (Ncv32u j=rect.x; j<rect.x+rect.width && j<dstWidth; j++)
869 Ncv32u dstWidth,
875 return drawRectsWrapperHost(h_dst, dstStride, dstWidth, dstHeigh
815 drawRectsWrapperHost(T *h_dst, Ncv32u dstStride, Ncv32u dstWidth, Ncv32u dstHeight, NcvRect32u *h_rects, Ncv32u numRects, T color) argument
867 ncvDrawRects_8u_host(Ncv8u *h_dst, Ncv32u dstStride, Ncv32u dstWidth, Ncv32u dstHeight, NcvRect32u *h_rects, Ncv32u numRects, Ncv8u color) argument
879 ncvDrawRects_32u_host(Ncv32u *h_dst, Ncv32u dstStride, Ncv32u dstWidth, Ncv32u dstHeight, NcvRect32u *h_rects, Ncv32u numRects, Ncv32u color) argument
[all...]
/external/mesa3d/src/mesa/main/
H A Dmipmap.c151 GLint dstWidth, GLvoid *dstRow)
153 const GLuint k0 = (srcWidth == dstWidth) ? 0 : 1;
154 const GLuint colStride = (srcWidth == dstWidth) ? 1 : 2;
160 assert(srcWidth == dstWidth || srcWidth == 2 * dstWidth);
168 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
181 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
193 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
204 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
215 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
149 do_row(GLenum datatype, GLuint comps, GLint srcWidth, const GLvoid *srcRowA, const GLvoid *srcRowB, GLint dstWidth, GLvoid *dstRow) argument
782 do_row_3D(GLenum datatype, GLuint comps, GLint srcWidth, const GLvoid *srcRowA, const GLvoid *srcRowB, const GLvoid *srcRowC, const GLvoid *srcRowD, GLint dstWidth, GLvoid *dstRow) argument
1415 make_1d_mipmap(GLenum datatype, GLuint comps, GLint border, GLint srcWidth, const GLubyte *srcPtr, GLint dstWidth, GLubyte *dstPtr) argument
1445 make_2d_mipmap(GLenum datatype, GLuint comps, GLint border, GLint srcWidth, GLint srcHeight, const GLubyte *srcPtr, GLint srcRowStride, GLint dstWidth, GLint dstHeight, GLubyte *dstPtr, GLint dstRowStride) argument
1537 make_3d_mipmap(GLenum datatype, GLuint comps, GLint border, GLint srcWidth, GLint srcHeight, GLint srcDepth, const GLubyte **srcPtr, GLint srcRowStride, GLint dstWidth, GLint dstHeight, GLint dstDepth, GLubyte **dstPtr, GLint dstRowStride) argument
1703 _mesa_generate_mipmap_level(GLenum target, GLenum datatype, GLuint comps, GLint border, GLint srcWidth, GLint srcHeight, GLint srcDepth, const GLubyte **srcData, GLint srcRowStride, GLint dstWidth, GLint dstHeight, GLint dstDepth, GLubyte **dstData, GLint dstRowStride) argument
1771 next_mipmap_level_size(GLenum target, GLint border, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLint *dstWidth, GLint *dstHeight, GLint *dstDepth) argument
1899 GLint dstWidth, dstHeight, dstDepth; local
2084 GLint dstWidth, dstHeight, dstDepth; local
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_gen_mipmap.c171 int dstWidth, void *dstRow)
173 const uint k0 = (srcWidth == dstWidth) ? 0 : 1;
174 const uint colStride = (srcWidth == dstWidth) ? 1 : 2;
180 assert(srcWidth == dstWidth || srcWidth == 2 * dstWidth);
188 for (i = j = 0, k = k0; i < (uint) dstWidth;
201 for (i = j = 0, k = k0; i < (uint) dstWidth;
213 for (i = j = 0, k = k0; i < (uint) dstWidth;
224 for (i = j = 0, k = k0; i < (uint) dstWidth;
235 for (i = j = 0, k = k0; i < (uint) dstWidth;
169 do_row(enum dtype datatype, uint comps, int srcWidth, const void *srcRowA, const void *srcRowB, int dstWidth, void *dstRow) argument
545 do_row_3D(enum dtype datatype, uint comps, int srcWidth, const void *srcRowA, const void *srcRowB, const void *srcRowC, const void *srcRowD, int dstWidth, void *dstRow) argument
961 reduce_1d(enum pipe_format pformat, int srcWidth, const ubyte *srcPtr, int dstWidth, ubyte *dstPtr) argument
981 reduce_2d(enum pipe_format pformat, int srcWidth, int srcHeight, int srcRowStride, const ubyte *srcPtr, int dstWidth, int dstHeight, int dstRowStride, ubyte *dstPtr) argument
1022 reduce_3d(enum pipe_format pformat, int srcWidth, int srcHeight, int srcDepth, int srcRowStride, int srcImageStride, const ubyte *srcPtr, int dstWidth, int dstHeight, int dstDepth, int dstRowStride, int dstImageStride, ubyte *dstPtr) argument
[all...]
/external/mesa3d/src/gallium/drivers/svga/include/
H A Dsvga_reg.h809 uint32 dstWidth; member in struct:SVGAOverlayUnit
/external/mesa3d/src/mesa/drivers/common/
H A Dmeta.c3365 GLsizei dstWidth, dstHeight, dstDepth; local
3377 dstWidth = MAX2(1, srcWidth / 2);
3381 if (dstWidth == srcImage->Width &&
3394 dstWidth, dstHeight, dstDepth,
3442 assert(dstWidth == ctx->DrawBuffer->Width);
3446 _mesa_set_viewport(ctx, 0, 0, dstWidth, dstHeight);
/external/robolectric/v3/runtime/
H A Dshadows-core-3.1-SNAPSHOT-16.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-17.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-18.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-19.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...

Completed in 775 milliseconds

12