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

12

/external/skia/samplecode/
H A DSampleStrokePath.cpp77 static void scale_to_width(SkPath* path, SkScalar dstWidth) { argument
79 SkScalar scale = dstWidth / bounds.width();
/external/skqp/samplecode/
H A DSampleStrokePath.cpp77 static void scale_to_width(SkPath* path, SkScalar dstWidth) { argument
79 SkScalar scale = dstWidth / bounds.width();
/external/mesa3d/src/mesa/drivers/common/
H A Dmeta_generate_mipmap.c277 GLsizei dstWidth, dstHeight, dstDepth; local
293 dstWidth = minify(srcWidth, 1);
297 if (dstWidth == srcWidth &&
323 _mesa_set_viewport(ctx, 0, 0, 0, dstWidth, dstHeight);
354 assert(dstWidth == ctx->DrawBuffer->Width);
/external/skia/src/effects/
H A DSkTableMaskFilter.cpp66 int dstWidth = dst->fBounds.width(); local
67 int extraZeros = dst->fRowBytes - dstWidth;
70 for (int x = dstWidth - 1; x >= 0; --x) {
78 dstP += dstWidth;
H A DSkAlphaThresholdFilter.cpp231 int dstWidth = dst.width(), dstHeight = dst.height(); local
236 for (int x = 0; x < dstWidth; ++x) {
262 dptr[y * dstWidth + x] = outputColor;
H A DSkMagnifierImageFilter.cpp152 int dstWidth = dst.width(), dstHeight = dst.height(); local
154 for (int x = 0; x < dstWidth; ++x) {
155 SkScalar x_dist = SkMin32(x, dstWidth - x - 1) * invInset;
H A DSkBlurMask.cpp328 int dstWidth = dst->fBounds.width(); local
332 SkAutoTMalloc<uint8_t> horizontalScanline(dstWidth);
335 ComputeBlurredScanline(horizontalScanline, profile, dstWidth, sigma);
339 for (int x = 0 ; x < dstWidth ; x++) {
353 uint8_t *blur_scanline = dp + (y+pad)*dstWidth + pad;
367 uint8_t *dst_scanline = dp + y*dstWidth + pad;
372 uint8_t *dst_scanline = dp + y*dstWidth + pad;
445 int dstWidth = dst->fBounds.width(); local
503 uint8_t *outPixel = dstPixels + (x-pad)*dstWidth + y; // transposed output
/external/skqp/src/effects/
H A DSkTableMaskFilter.cpp66 int dstWidth = dst->fBounds.width(); local
67 int extraZeros = dst->fRowBytes - dstWidth;
70 for (int x = dstWidth - 1; x >= 0; --x) {
78 dstP += dstWidth;
H A DSkAlphaThresholdFilter.cpp231 int dstWidth = dst.width(), dstHeight = dst.height(); local
236 for (int x = 0; x < dstWidth; ++x) {
262 dptr[y * dstWidth + x] = outputColor;
H A DSkMagnifierImageFilter.cpp152 int dstWidth = dst.width(), dstHeight = dst.height(); local
154 for (int x = 0; x < dstWidth; ++x) {
155 SkScalar x_dist = SkMin32(x, dstWidth - x - 1) * invInset;
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/env/
H A DImageUtils.java285 * @param dstWidth Width of destination frame.
296 final int dstWidth,
322 if (inWidth != dstWidth || inHeight != dstHeight) {
323 final float scaleFactorX = dstWidth / (float) inWidth;
339 matrix.postTranslate(dstWidth / 2.0f, dstHeight / 2.0f);
293 getTransformationMatrix( final int srcWidth, final int srcHeight, final int dstWidth, final int dstHeight, final int applyRotation, final boolean maintainAspectRatio) argument
/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/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/skia/src/codec/
H A DSkHeifCodec.cpp219 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); local
225 dstWidth = fSwizzler->swizzleWidth();
234 dstWidth = fSwizzler->swizzleWidth();
247 this->applyColorXform(dst, swizzleDst, dstWidth, kOpaque_SkAlphaType);
294 int dstWidth = dstInfo.width(); local
299 dstWidth = fSwizzler->swizzleWidth();
306 xformBytes = dstWidth * sizeof(uint32_t);
H A DSkSwizzler.cpp84 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth,
96 for (int x = 1; x < dstWidth; x++) {
109 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth,
120 for (int x = 1; x < dstWidth; x++) {
132 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth,
143 for (int x = 1; x < dstWidth; x++) {
155 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth,
175 for (int x = 1; x < dstWidth; x++) {
186 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth,
197 for (int x = 1; x < dstWidth;
83 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
108 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
131 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
154 swizzle_bit_to_f16( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor* ) argument
185 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
206 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
229 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
242 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
257 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
270 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
295 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
372 swizzle_bgr_to_565( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
386 swizzle_rgb_to_rgba( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
398 swizzle_rgb_to_bgra( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
432 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
446 swizzle_rgba_to_rgba_premul( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
458 swizzle_rgba_to_bgra_premul( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
492 swizzle_rgba_to_bgra_unpremul( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
668 swizzle_cmyk_to_rgba( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
684 swizzle_cmyk_to_bgra( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
722 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
758 SkipLeading8888ZerosThen( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
1169 int dstWidth = srcWidth; local
1186 SkSwizzler(RowProc fastProc, RowProc proc, const SkPMColor* ctable, int srcOffset, int srcWidth, int dstOffset, int dstWidth, int srcBPP, int dstBPP) argument
[all...]
/external/skia/src/core/
H A DSkImageInfo.cpp243 bool SkWritePixelsRec::trim(int dstWidth, int dstHeight) { argument
254 if (!dstR.intersect(0, 0, dstWidth, dstHeight)) {
/external/skqp/src/codec/
H A DSkHeifCodec.cpp219 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); local
225 dstWidth = fSwizzler->swizzleWidth();
234 dstWidth = fSwizzler->swizzleWidth();
247 this->applyColorXform(dst, swizzleDst, dstWidth, kOpaque_SkAlphaType);
294 int dstWidth = dstInfo.width(); local
299 dstWidth = fSwizzler->swizzleWidth();
306 xformBytes = dstWidth * sizeof(uint32_t);
H A DSkSwizzler.cpp84 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth,
96 for (int x = 1; x < dstWidth; x++) {
109 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth,
120 for (int x = 1; x < dstWidth; x++) {
132 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth,
143 for (int x = 1; x < dstWidth; x++) {
155 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth,
175 for (int x = 1; x < dstWidth; x++) {
186 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth,
197 for (int x = 1; x < dstWidth;
83 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
108 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
131 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
154 swizzle_bit_to_f16( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor* ) argument
185 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
206 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
229 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
242 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
257 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
270 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
295 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
372 swizzle_bgr_to_565( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
386 swizzle_rgb_to_rgba( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
398 swizzle_rgb_to_bgra( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
432 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
446 swizzle_rgba_to_rgba_premul( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
458 swizzle_rgba_to_bgra_premul( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
492 swizzle_rgba_to_bgra_unpremul( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
668 swizzle_cmyk_to_rgba( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
684 swizzle_cmyk_to_bgra( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
722 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
758 SkipLeading8888ZerosThen( void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) argument
1169 int dstWidth = srcWidth; local
1186 SkSwizzler(RowProc fastProc, RowProc proc, const SkPMColor* ctable, int srcOffset, int srcWidth, int dstOffset, int dstWidth, int srcBPP, int dstBPP) argument
[all...]
/external/skqp/src/core/
H A DSkImageInfo.cpp203 bool SkWritePixelsRec::trim(int dstWidth, int dstHeight) { argument
214 if (!dstR.intersect(0, 0, dstWidth, dstHeight)) {
/external/mesa3d/src/mesa/main/
H A Dcopyimage.c468 int dstWidth, dstHeight, dstDepth; local
550 dstWidth = srcWidth * dst_bw / src_bw;
560 dstX, dstY, dstZ, dstWidth, dstHeight, dstDepth,
/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/mesa3d/src/mesa/swrast/
H A Ds_blit.c44 NAME(GLint srcWidth, GLint dstWidth, \
53 for (dstCol = 0; dstCol < dstWidth; dstCol++) { \
54 GLint srcCol = (dstCol * srcWidth) / dstWidth; \
74 for (dstCol = 0; dstCol < dstWidth; dstCol++) { \
75 GLint srcCol = (dstCol * srcWidth) / dstWidth; \
122 const GLint dstWidth = ABS(dstX1 - dstX0); local
148 typedef void (*resample_func)(GLint srcWidth, GLint dstWidth,
194 dstBuffer = malloc(MAX_PIXEL_BYTES * dstWidth);
289 dstWidth, dstHeight,
335 (*resampleRow)(srcWidth, dstWidth, srcBuffe
399 resample_linear_row_ub(GLint srcWidth, GLint dstWidth, const GLvoid *srcBuffer0, const GLvoid *srcBuffer1, GLvoid *dstBuffer, GLboolean flip, GLfloat rowWeight) argument
454 resample_linear_row_float(GLint srcWidth, GLint dstWidth, const GLvoid *srcBuffer0, const GLvoid *srcBuffer1, GLvoid *dstBuffer, GLboolean flip, GLfloat rowWeight) argument
521 const GLint dstWidth = ABS(dstX1 - dstX0); local
[all...]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowBitmap.java229 public static Bitmap createScaledBitmap(Bitmap src, int dstWidth, int dstHeight, boolean filter) { argument
230 if (dstWidth == src.getWidth() && dstHeight == src.getHeight() && !filter) {
238 shadowBitmap.appendDescription(" scaled to " + dstWidth + " x " + dstHeight);
245 shadowBitmap.width = dstWidth;

Completed in 3095 milliseconds

12