/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 31 final int chromaWidth = (dstWidth + 1) / 2; 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 77 final int chromaWidth = (dstWidth + 1) / 2; in I420ToNV12() 96 chromaWidth * 2, dstWidth, dstHeight); in I420ToNV12() 101 ByteBuffer srcV, int srcStrideV, ByteBuffer dst, int dstWidth, int dstHeight) { in I420ToNV12() argument [all …]
|
/external/skia/src/codec/ |
D | SkSwizzler.cpp | 100 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_grayscale() argument 112 for (int x = 1; x < dstWidth; x++) { in swizzle_bit_to_grayscale() 125 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_n32() argument 136 for (int x = 1; x < dstWidth; x++) { in swizzle_bit_to_n32() 148 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_565() argument 159 for (int x = 1; x < dstWidth; x++) { in swizzle_bit_to_565() 171 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_f16() argument 191 for (int x = 1; x < dstWidth; x++) { in swizzle_bit_to_f16() 202 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_small_index_to_565() argument 213 for (int x = 1; x < dstWidth; x++) { in swizzle_small_index_to_565() [all …]
|
D | SkSwizzler.h | 114 int dstWidth, int bpp, int deltaSrc, int offset, 120 int dstWidth, int bpp, int deltaSrc, int offset, 222 int srcWidth, int dstOffset, int dstWidth, int srcBPP, int dstBPP);
|
D | SkHeifCodec.cpp | 270 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); in readRows() local 276 dstWidth = fSwizzler->swizzleWidth(); in readRows() 285 dstWidth = fSwizzler->swizzleWidth(); in readRows() 298 this->applyColorXform(dst, swizzleDst, dstWidth); in readRows() 420 int dstWidth = dstInfo.width(); in allocateStorage() local 425 dstWidth = fSwizzler->swizzleWidth(); in allocateStorage() 432 xformBytes = dstWidth * sizeof(uint32_t); in allocateStorage()
|
D | SkJpegCodec.cpp | 508 const unsigned int dstWidth = size.width(); 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() 560 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); in readRows() local 566 dstWidth = fSwizzler->swizzleWidth(); in readRows() 575 dstWidth = fSwizzler->swizzleWidth(); in readRows() 589 this->applyColorXform(dst, swizzleDst, dstWidth); in readRows() 665 int dstWidth = dstInfo.width(); in allocateStorage() local 670 dstWidth = fSwizzler->swizzleWidth(); in allocateStorage() 677 xformBytes = dstWidth * sizeof(uint32_t); in allocateStorage()
|
/external/mesa3d/src/mesa/main/ |
D | mipmap.c | 177 GLint dstWidth, GLvoid *dstRow) in do_row() argument 179 const GLuint k0 = (srcWidth == dstWidth) ? 0 : 1; in do_row() 180 const GLuint colStride = (srcWidth == dstWidth) ? 1 : 2; in do_row() 194 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row() 207 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row() 219 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row() 230 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row() 241 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row() 254 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row() 266 for (i = j = 0, k = k0; i < (GLuint) dstWidth; in do_row() [all …]
|
D | mipmap.h | 46 GLint dstWidth, GLint dstHeight, GLint dstDepth, 62 GLint *dstWidth, GLint *dstHeight, GLint *dstDepth);
|
/external/mesa3d/src/mesa/swrast/ |
D | s_blit.c | 44 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); in blit_nearest() local 148 typedef void (*resample_func)(GLint srcWidth, GLint dstWidth, in blit_nearest() 194 dstBuffer = malloc(MAX_PIXEL_BYTES * dstWidth); in blit_nearest() 290 dstWidth, dstHeight, in blit_nearest() 337 resampleRow(srcWidth, dstWidth, srcBuffer, dstBuffer, invertX); in blit_nearest() [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 | 141 int dstWidth = dst.getWidth(); 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() 275 shadowBitmap.width = dstWidth; in createScaledBitmap() 281 new BufferedImage(dstWidth, dstHeight, BufferedImage.TYPE_INT_ARGB); in createScaledBitmap()
|
/external/skia/src/effects/ |
D | SkTableMaskFilter.cpp | 83 int dstWidth = dst->fBounds.width(); in filterMask() local 84 int extraZeros = dst->fRowBytes - dstWidth; in filterMask() 87 for (int x = dstWidth - 1; x >= 0; --x) { in filterMask() 95 dstP += dstWidth; in filterMask()
|
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/env/ |
D | ImageUtils.java | 296 final int dstWidth, in getTransformationMatrix() argument 322 if (inWidth != dstWidth || inHeight != dstHeight) { in getTransformationMatrix() 323 final float scaleFactorX = dstWidth / (float) inWidth; 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 | 444 int dstWidth = dst->fBounds.width(); in BlurRect() local 448 AutoTMalloc<uint8_t> horizontalScanline(dstWidth); in BlurRect() 451 ComputeBlurredScanline(horizontalScanline, profile, dstWidth, sigma); in BlurRect() 455 for (int x = 0 ; x < dstWidth ; x++) { in BlurRect() 469 uint8_t *blur_scanline = dp + (y+pad)*dstWidth + pad; in BlurRect() 480 uint8_t *dst_scanline = dp + y*dstWidth + pad; in BlurRect() 485 uint8_t *dst_scanline = dp + y*dstWidth + pad; in BlurRect() 558 int dstWidth = dst->fBounds.width(); in BlurGroundTruth() local 616 uint8_t *outPixel = dstPixels + (x-pad)*dstWidth + y; // transposed output in BlurGroundTruth()
|
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() 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()
|
D | deImage.h | 59 deImage* deImage_scale (const deImage* image, int dstWidth, int dstHeight);
|
/external/mesa3d/src/mesa/drivers/common/ |
D | meta_generate_mipmap.c | 276 GLsizei dstWidth, dstHeight, dstDepth; in _mesa_meta_GenerateMipmap() local 292 dstWidth = minify(srcWidth, 1); in _mesa_meta_GenerateMipmap() 296 if (dstWidth == srcWidth && in _mesa_meta_GenerateMipmap() 322 _mesa_set_viewport(ctx, 0, 0, 0, dstWidth, dstHeight); in _mesa_meta_GenerateMipmap() 353 assert(dstWidth == ctx->DrawBuffer->Width); in _mesa_meta_GenerateMipmap()
|
/external/webrtc/sdk/objc/components/video_frame_buffer/ |
D | RTCCVPixelBuffer.mm | 131 size_t dstWidth = CVPixelBufferGetWidth(outputPixelBuffer); 133 if (dstWidth > 0 && dstHeight > 0) { 136 if ([self requiresScalingToWidth:dstWidth height:dstHeight]) { 292 const int dstWidth = CVPixelBufferGetWidth(outputPixelBuffer); 323 dstWidth, 336 const int dstWidth = CVPixelBufferGetWidth(outputPixelBuffer); 359 dstWidth,
|
/external/armnn/src/backends/backendsCommon/ |
D | WorkloadUtils.hpp | 92 size_t dstWidth = 1; in CopyTensorContentsGeneric() local 98 dstWidth, in CopyTensorContentsGeneric() 126 size_t copyWidth = std::min(srcWidth, dstWidth); in CopyTensorContentsGeneric()
|
/external/skia/src/effects/imagefilters/ |
D | SkMagnifierImageFilter.cpp | 254 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local 256 for (int x = 0; x < dstWidth; ++x) { in onFilterImage() 257 SkScalar x_dist = std::min(x, dstWidth - x - 1) * invInset; in onFilterImage()
|
D | SkAlphaThresholdImageFilter.cpp | 292 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local 297 for (int x = 0; x < dstWidth; ++x) { in onFilterImage() 323 dptr[y * dstWidth + x] = outputColor; 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() 254 shadowBitmap.width = dstWidth; in createScaledBitmap()
|
/external/skia/bench/ |
D | CompositingImagesBench.cpp | 282 float dstWidth = srcRect.width() * 1.25f; in getEntry() local 284 SkRect dstRect = SkRect::MakeXYWH(dstWidth * x, dstHeight * y, dstWidth, dstHeight); in getEntry()
|