/external/skia/src/codec/ |
D | SkSampledCodec.cpp | 205 const int dstHeight = info.height(); in sampledDecode() local 287 dstHeight, 0); in sampledDecode() 291 for (int y = 0; y < dstHeight; y++) { in sampledDecode() 294 options.fZeroInitialized, dstHeight, y + 1); in sampledDecode() 297 if (y < dstHeight - 1) { in sampledDecode() 300 options.fZeroInitialized, dstHeight, y + 1); in sampledDecode() 314 if (is_coord_necessary(srcY, sampleY, dstHeight)) { in sampledDecode() 336 if (!is_coord_necessary(srcY, sampleY, dstHeight)) { in sampledDecode()
|
/external/skqp/src/codec/ |
D | SkSampledCodec.cpp | 212 const int dstHeight = info.height(); in sampledDecode() local 290 dstHeight, 0); in sampledDecode() 294 for (int y = 0; y < dstHeight; y++) { in sampledDecode() 297 options.fZeroInitialized, dstHeight, y + 1); in sampledDecode() 300 if (y < dstHeight - 1) { in sampledDecode() 303 options.fZeroInitialized, dstHeight, y + 1); in sampledDecode() 317 if (is_coord_necessary(srcY, sampleY, dstHeight)) { in sampledDecode() 339 if (!is_coord_necessary(srcY, sampleY, dstHeight)) { in sampledDecode()
|
/external/mesa3d/src/mesa/drivers/common/ |
D | meta_generate_mipmap.c | 276 GLsizei dstWidth, dstHeight, dstDepth; in _mesa_meta_GenerateMipmap() local 293 dstHeight = minify(srcHeight, 1); in _mesa_meta_GenerateMipmap() 297 dstHeight == srcHeight && in _mesa_meta_GenerateMipmap() 322 _mesa_set_viewport(ctx, 0, 0, 0, dstWidth, dstHeight); in _mesa_meta_GenerateMipmap() 355 assert(dstHeight == 1); in _mesa_meta_GenerateMipmap() 357 assert(dstHeight == ctx->DrawBuffer->Height); in _mesa_meta_GenerateMipmap()
|
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/env/ |
D | ImageUtils.java | 297 final int dstHeight, in getTransformationMatrix() argument 322 if (inWidth != dstWidth || inHeight != dstHeight) { in getTransformationMatrix() 324 final float scaleFactorY = dstHeight / (float) inHeight; in getTransformationMatrix() 339 matrix.postTranslate(dstWidth / 2.0f, dstHeight / 2.0f); in getTransformationMatrix()
|
/external/mesa3d/src/mesa/main/ |
D | mipmap.h | 46 GLint dstWidth, GLint dstHeight, GLint dstDepth, 62 GLint *dstWidth, GLint *dstHeight, GLint *dstDepth);
|
D | mipmap.c | 1474 GLint dstWidth, GLint dstHeight, in make_2d_mipmap() argument 1480 const GLint dstHeightNB = dstHeight - 2 * border; in make_2d_mipmap() 1487 if (srcHeight > 1 && srcHeight > dstHeight) { in make_2d_mipmap() 1519 memcpy(dstPtr + dstWidth * (dstHeight - 1) * bpt, in make_2d_mipmap() 1522 memcpy(dstPtr + (dstWidth * dstHeight - 1) * bpt, in make_2d_mipmap() 1534 dstPtr + (dstWidth * (dstHeight - 1) + 1) * bpt); in make_2d_mipmap() 1536 if (srcHeight == dstHeight) { in make_2d_mipmap() 1566 GLint dstWidth, GLint dstHeight, GLint dstDepth, in make_3d_mipmap() argument 1573 const GLint dstHeightNB = dstHeight - 2 * border; in make_3d_mipmap() 1582 bytesPerDstImage = dstRowStride * dstHeight * bpt; in make_3d_mipmap() [all …]
|
D | copyimage.c | 617 int dstWidth, dstHeight, dstDepth; in _mesa_CopyImageSubData() local 701 dstHeight = srcHeight * dst_bh / src_bh; in _mesa_CopyImageSubData() 710 dstX, dstY, dstZ, dstWidth, dstHeight, dstDepth, in _mesa_CopyImageSubData()
|
/external/deqp/framework/delibs/deimage/ |
D | deImage.c | 117 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() 124 for (y = 0; y < dstHeight; y++) in deImage_scale() 129 float yFloat = ((float)y + 0.5f) / (float)dstHeight * (float)srcImage->height - 0.5f; in deImage_scale()
|
D | deImage.h | 59 deImage* deImage_scale (const deImage* image, int dstWidth, int dstHeight);
|
/external/webrtc/sdk/objc/components/video_frame_buffer/ |
D | RTCCVPixelBuffer.mm | 132 size_t dstHeight = CVPixelBufferGetHeight(outputPixelBuffer); 133 if (dstWidth > 0 && dstHeight > 0) { 136 if ([self requiresScalingToWidth:dstWidth height:dstHeight]) { 274 const int dstHeight = CVPixelBufferGetHeight(outputPixelBuffer); 305 dstHeight); 318 const int dstHeight = CVPixelBufferGetHeight(outputPixelBuffer); 341 dstHeight,
|
/external/webrtc/sdk/android/api/org/webrtc/ |
D | YuvHelper.java | 73 final int dstHeight = rotationMode % 180 == 0 ? srcHeight : srcWidth; in I420Rotate() local 75 final int dstChromaHeight = (dstHeight + 1) / 2; in I420Rotate() 78 final int minSize = dstWidth * dstHeight + dstChromaWidth * dstChromaHeight * 2; in I420Rotate() 85 final int startU = dstHeight * dstWidth; in I420Rotate()
|
/external/skqp/src/effects/imagefilters/ |
D | SkMagnifierImageFilter.cpp | 150 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local 151 for (int y = 0; y < dstHeight; ++y) { in onFilterImage() 154 SkScalar y_dist = SkMin32(y, dstHeight - y - 1) * invInset; in onFilterImage()
|
D | SkAlphaThresholdFilter.cpp | 237 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local 239 for (int y = 0; y < dstHeight; ++y) { in onFilterImage()
|
/external/skqp/src/core/ |
D | SkImageInfo.cpp | 139 bool SkWritePixelsRec::trim(int dstWidth, int dstHeight) { in trim() argument 150 if (!dstR.intersect(0, 0, dstWidth, dstHeight)) { in trim()
|
D | SkBlurMask.cpp | 443 int dstHeight = dst->fBounds.height(); in BlurRect() local 449 SkAutoTMalloc<uint8_t> verticalScanline(dstHeight); in BlurRect() 452 ComputeBlurredScanline(verticalScanline, profile, dstHeight, sigma); in BlurRect() 454 for (int y = 0 ; y < dstHeight ; ++y) { in BlurRect() 482 for (int y = pad ; y < dstHeight-pad ; y++) { in BlurRect() 487 for (int y = pad ; y < dstHeight-pad ; y++) { in BlurRect()
|
D | SkWritePixelsRec.h | 46 bool trim(int dstWidth, int dstHeight);
|
/external/skia/src/effects/imagefilters/ |
D | SkMagnifierImageFilter.cpp | 182 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local 183 for (int y = 0; y < dstHeight; ++y) { in onFilterImage() 186 SkScalar y_dist = std::min(y, dstHeight - y - 1) * invInset; in onFilterImage()
|
D | SkAlphaThresholdImageFilter.cpp | 221 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local 223 for (int y = 0; y < dstHeight; ++y) { in onFilterImage()
|
/external/skia/src/core/ |
D | SkBlurMask.cpp | 441 int dstHeight = dst->fBounds.height(); in BlurRect() local 447 SkAutoTMalloc<uint8_t> verticalScanline(dstHeight); in BlurRect() 450 ComputeBlurredScanline(verticalScanline, profile, dstHeight, sigma); in BlurRect() 452 for (int y = 0 ; y < dstHeight ; ++y) { in BlurRect() 477 for (int y = pad ; y < dstHeight-pad ; y++) { in BlurRect() 482 for (int y = pad ; y < dstHeight-pad ; y++) { in BlurRect()
|
D | SkImageInfo.cpp | 165 bool SkWritePixelsRec::trim(int dstWidth, int dstHeight) { in trim() argument 176 if (!dstR.intersect({0, 0, dstWidth, dstHeight})) { in trim()
|
D | SkWritePixelsRec.h | 47 bool trim(int dstWidth, int dstHeight);
|
/external/mesa3d/src/mesa/swrast/ |
D | s_blit.c | 124 const GLint dstHeight = ABS(dstY1 - dstY0); in blit_nearest() local 290 dstWidth, dstHeight, in blit_nearest() 299 for (dstRow = 0; dstRow < dstHeight; dstRow++) { in blit_nearest() 300 GLfloat srcRowF = (dstRow + 0.5F) / dstHeight * srcHeight - 0.5F; in blit_nearest() 525 const GLint dstHeight = ABS(dstY1 - dstY0); in blit_linear() local 630 for (dstRow = 0; dstRow < dstHeight; dstRow++) { in blit_linear() 632 GLfloat srcRow = (dstRow + 0.5F) / dstHeight * srcHeight - 0.5F; in blit_linear()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowBitmap.java | 237 Bitmap src, int dstWidth, int dstHeight, boolean filter) { in createScaledBitmap() argument 238 if (dstWidth == src.getWidth() && dstHeight == src.getHeight() && !filter) { in createScaledBitmap() 247 shadowBitmap.appendDescription(" scaled to " + dstWidth + " x " + dstHeight); in createScaledBitmap() 255 shadowBitmap.height = dstHeight; in createScaledBitmap()
|
/external/skia/bench/ |
D | CompositingImagesBench.cpp | 281 float dstHeight = srcRect.height() * 1.25f; in getEntry() local 282 SkRect dstRect = SkRect::MakeXYWH(dstWidth * x, dstHeight * y, dstWidth, dstHeight); in getEntry()
|
/external/swiftshader/src/Device/ |
D | BC_Decoder.cpp | 913 …void decode(uint8_t *dst, int dstX, int dstY, int dstWidth, int dstHeight, size_t dstPitch, size_t… in decode() 931 for(int y = 0; y < 4 && y + dstY < dstHeight; y++) in decode() 1048 if((y + dstY >= dstHeight) || (x + dstX >= dstWidth)) in decode() 1419 void decode(uint8_t *dst, int dstX, int dstY, int dstWidth, int dstHeight, size_t dstPitch) const in decode() 1425 for(int y = 0; y < 4 && y + dstY < dstHeight; y++) in decode() 1519 if(y + dstY >= dstHeight || x + dstX >= dstWidth) in decode()
|