/external/webrtc/sdk/android/api/org/webrtc/ |
D | YuvHelper.java | 29 ByteBuffer srcV, int srcStrideV, ByteBuffer dst, int dstWidth, int dstHeight, int dstStrideY, in I420Copy() argument 32 final int chromaHeight = (dstHeight + 1) / 2; in I420Copy() 35 final int dstEndY = dstStartY + dstStrideY * dstHeight; in I420Copy() 58 dstStrideU, dstV, dstStrideU, dstWidth, dstHeight); in I420Copy() 63 ByteBuffer srcV, int srcStrideV, ByteBuffer dst, int dstWidth, int dstHeight) { in I420Copy() argument 64 I420Copy(srcY, srcStrideY, srcU, srcStrideU, srcV, srcStrideV, dst, dstWidth, dstHeight, in I420Copy() 65 dstWidth, dstHeight, (dstWidth + 1) / 2, (dstHeight + 1) / 2); in I420Copy() 74 ByteBuffer srcV, int srcStrideV, ByteBuffer dst, int dstWidth, int dstHeight, int dstStrideY, in I420ToNV12() argument 76 final int chromaHeight = (dstHeight + 1) / 2; in I420ToNV12() 80 final int dstEndY = dstStartY + dstStrideY * dstHeight; in I420ToNV12() [all …]
|
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowMediaMetadataRetriever.java | 81 protected Bitmap getScaledFrameAtTime(long timeUs, int option, int dstWidth, int dstHeight) { in getScaledFrameAtTime() argument 83 ? scaledFrames.get(dataSource).get(getScaledFrameKey(timeUs, dstWidth, dstHeight)) in getScaledFrameAtTime() 128 DataSource ds, long time, int dstWidth, int dstHeight, Bitmap bitmap) { in addScaledFrame() argument 132 scaledFrames.get(ds).put(getScaledFrameKey(time, dstWidth, dstHeight), bitmap); in addScaledFrame() 219 private static String getScaledFrameKey(long time, int dstWidth, int dstHeight) { in getScaledFrameKey() argument 220 return String.format("%d_%dx%d", time, dstWidth, dstHeight); in getScaledFrameKey()
|
D | ImageUtil.java | 142 int dstHeight = dst.getHeight(); in scaledBitmap() local 143 if (srcWidth <= 0 || srcHeight <= 0 || dstWidth <= 0 || dstHeight <= 0) { in scaledBitmap() 151 BufferedImage after = new BufferedImage(dstWidth, dstHeight, imageType); in scaledBitmap() 156 graphics2D.drawImage(before, 0, 0, dstWidth, dstHeight, 0, 0, srcWidth, srcHeight, null); in scaledBitmap()
|
D | ShadowLegacyBitmap.java | 255 Bitmap src, int dstWidth, int dstHeight, boolean filter) { in createScaledBitmap() argument 256 if (dstWidth == src.getWidth() && dstHeight == src.getHeight() && !filter) { in createScaledBitmap() 259 if (dstWidth <= 0 || dstHeight <= 0) { in createScaledBitmap() 267 shadowBitmap.appendDescription(" scaled to " + dstWidth + " x " + dstHeight); in createScaledBitmap() 276 shadowBitmap.height = dstHeight; in createScaledBitmap() 281 new BufferedImage(dstWidth, dstHeight, BufferedImage.TYPE_INT_ARGB); in createScaledBitmap()
|
/external/skia/src/codec/ |
D | SkSampledCodec.cpp | 209 const int dstHeight = info.height(); in sampledDecode() local 291 dstHeight, 0); in sampledDecode() 295 for (int y = 0; y < dstHeight; y++) { in sampledDecode() 298 options.fZeroInitialized, dstHeight, y + 1); in sampledDecode() 301 if (y < dstHeight - 1) { in sampledDecode() 304 options.fZeroInitialized, dstHeight, y + 1); in sampledDecode() 318 if (is_coord_necessary(srcY, sampleY, dstHeight)) { in sampledDecode() 340 if (!is_coord_necessary(srcY, sampleY, dstHeight)) { in sampledDecode()
|
D | SkJpegCodec.cpp | 509 const unsigned int dstHeight = size.height(); in onDimensionsSupported() local 523 while (dinfo.output_width != dstWidth || dinfo.output_height != dstHeight) { in onDimensionsSupported() 526 if (1 == num || dstWidth > dinfo.output_width || dstHeight > dinfo.output_height) { in onDimensionsSupported()
|
/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/skia/src/core/ |
D | SkWritePixelsRec.cpp | 12 bool SkWritePixelsRec::trim(int dstWidth, int dstHeight) { in trim() argument 23 if (!dstR.intersect({0, 0, dstWidth, dstHeight})) { in trim()
|
D | SkBlurMask.cpp | 443 int dstHeight = dst->fBounds.height(); in BlurRect() local 449 AutoTMalloc<uint8_t> verticalScanline(dstHeight); in BlurRect() 452 ComputeBlurredScanline(verticalScanline, profile, dstHeight, sigma); in BlurRect() 454 for (int y = 0 ; y < dstHeight ; ++y) { in BlurRect() 479 for (int y = pad ; y < dstHeight-pad ; y++) { in BlurRect() 484 for (int y = pad ; y < dstHeight-pad ; y++) { in BlurRect()
|
D | SkWritePixelsRec.h | 49 bool trim(int dstWidth, int dstHeight);
|
/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/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/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]) { 293 const int dstHeight = CVPixelBufferGetHeight(outputPixelBuffer); 324 dstHeight); 337 const int dstHeight = CVPixelBufferGetHeight(outputPixelBuffer); 360 dstHeight,
|
/external/armnn/src/backends/backendsCommon/ |
D | WorkloadUtils.hpp | 91 size_t dstHeight = 1; in CopyTensorContentsGeneric() local 99 dstHeight, in CopyTensorContentsGeneric() 127 size_t copyHeight = std::min(srcHeight, dstHeight); in CopyTensorContentsGeneric()
|
/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/skia/src/effects/imagefilters/ |
D | SkMagnifierImageFilter.cpp | 254 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local 255 for (int y = 0; y < dstHeight; ++y) { in onFilterImage() 258 SkScalar y_dist = std::min(y, dstHeight - y - 1) * invInset; in onFilterImage()
|
D | SkAlphaThresholdImageFilter.cpp | 292 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local 294 for (int y = 0; y < dstHeight; ++y) { in onFilterImage()
|
/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 | 283 float dstHeight = srcRect.height() * 1.25f; in getEntry() local 284 SkRect dstRect = SkRect::MakeXYWH(dstWidth * x, dstHeight * y, dstWidth, dstHeight); in getEntry()
|
/external/swiftshader/src/Device/ |
D | BC_Decoder.cpp | 942 …void decode(uint8_t *dst, int dstX, int dstY, int dstWidth, int dstHeight, size_t dstPitch, size_t… in decode() 961 for(int y = 0; y < 4 && y + dstY < dstHeight; y++) in decode() 1077 if((y + dstY >= dstHeight) || (x + dstX >= dstWidth)) in decode() 1448 void decode(uint8_t *dst, int dstX, int dstY, int dstWidth, int dstHeight, size_t dstPitch) const in decode() 1454 for(int y = 0; y < 4 && y + dstY < dstHeight; y++) in decode() 1548 if(y + dstY >= dstHeight || x + dstX >= dstWidth) in decode()
|
/external/skia/src/gpu/ganesh/dawn/ |
D | GrDawnGpu.cpp | 821 int dstHeight = std::max(1, srcHeight / 2); in onRegenerateMipMapLevels() local 853 wgpu::Extent3D copySize = {(uint32_t)dstWidth, (uint32_t)dstHeight, 1}; in onRegenerateMipMapLevels() 862 srcHeight = dstHeight; in onRegenerateMipMapLevels()
|