Home
last modified time | relevance | path

Searched refs:dstHeight (Results 1 – 25 of 30) sorted by relevance

12

/external/skqp/src/codec/
DSkSampledCodec.cpp212 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()
DSkJpegCodec.cpp464 const unsigned int dstHeight = size.height(); in onDimensionsSupported() local
478 while (dinfo.output_width != dstWidth || dinfo.output_height != dstHeight) { in onDimensionsSupported()
481 if (1 == num || dstWidth > dinfo.output_width || dstHeight > dinfo.output_height) { in onDimensionsSupported()
/external/skia/src/codec/
DSkSampledCodec.cpp212 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()
DSkJpegCodec.cpp464 const unsigned int dstHeight = size.height(); in onDimensionsSupported() local
478 while (dinfo.output_width != dstWidth || dinfo.output_height != dstHeight) { in onDimensionsSupported()
481 if (1 == num || dstWidth > dinfo.output_width || dstHeight > dinfo.output_height) { in onDimensionsSupported()
/external/mesa3d/src/mesa/drivers/common/
Dmeta_generate_mipmap.c277 GLsizei dstWidth, dstHeight, dstDepth; in _mesa_meta_GenerateMipmap() local
294 dstHeight = minify(srcHeight, 1); in _mesa_meta_GenerateMipmap()
298 dstHeight == srcHeight && in _mesa_meta_GenerateMipmap()
323 _mesa_set_viewport(ctx, 0, 0, 0, dstWidth, dstHeight); in _mesa_meta_GenerateMipmap()
356 assert(dstHeight == 1); in _mesa_meta_GenerateMipmap()
358 assert(dstHeight == ctx->DrawBuffer->Height); in _mesa_meta_GenerateMipmap()
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/env/
DImageUtils.java297 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/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/env/
DImageUtils.java297 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/deqp/framework/delibs/deimage/
DdeImage.c117 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()
DdeImage.h59 deImage* deImage_scale (const deImage* image, int dstWidth, int dstHeight);
/external/mesa3d/src/mesa/main/
Dmipmap.h39 GLint dstWidth, GLint dstHeight, GLint dstDepth,
55 GLint *dstWidth, GLint *dstHeight, GLint *dstDepth);
Dmipmap.c1449 GLint dstWidth, GLint dstHeight, in make_2d_mipmap() argument
1455 const GLint dstHeightNB = dstHeight - 2 * border; in make_2d_mipmap()
1462 if (srcHeight > 1 && srcHeight > dstHeight) { in make_2d_mipmap()
1494 memcpy(dstPtr + dstWidth * (dstHeight - 1) * bpt, in make_2d_mipmap()
1497 memcpy(dstPtr + (dstWidth * dstHeight - 1) * bpt, in make_2d_mipmap()
1509 dstPtr + (dstWidth * (dstHeight - 1) + 1) * bpt); in make_2d_mipmap()
1511 if (srcHeight == dstHeight) { in make_2d_mipmap()
1541 GLint dstWidth, GLint dstHeight, GLint dstDepth, in make_3d_mipmap() argument
1548 const GLint dstHeightNB = dstHeight - 2 * border; in make_3d_mipmap()
1557 bytesPerDstImage = dstRowStride * dstHeight * bpt; in make_3d_mipmap()
[all …]
Dcopyimage.c612 int dstWidth, dstHeight, dstDepth; in _mesa_CopyImageSubData() local
696 dstHeight = srcHeight * dst_bh / src_bh; in _mesa_CopyImageSubData()
705 dstX, dstY, dstZ, dstWidth, dstHeight, dstDepth, in _mesa_CopyImageSubData()
/external/skqp/src/effects/imagefilters/
DSkMagnifierImageFilter.cpp150 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()
DSkAlphaThresholdFilter.cpp237 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local
239 for (int y = 0; y < dstHeight; ++y) { in onFilterImage()
/external/skia/src/effects/imagefilters/
DSkMagnifierImageFilter.cpp150 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()
DSkAlphaThresholdFilter.cpp240 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local
242 for (int y = 0; y < dstHeight; ++y) { in onFilterImage()
/external/skqp/src/core/
DSkBlurMask.cpp443 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()
DSkImageInfo.cpp139 bool SkWritePixelsRec::trim(int dstWidth, int dstHeight) { in trim() argument
150 if (!dstR.intersect(0, 0, dstWidth, dstHeight)) { in trim()
DSkWritePixelsRec.h46 bool trim(int dstWidth, int dstHeight);
/external/skia/src/core/
DSkBlurMask.cpp443 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()
DSkImageInfo.cpp141 bool SkWritePixelsRec::trim(int dstWidth, int dstHeight) { in trim() argument
152 if (!dstR.intersect(0, 0, dstWidth, dstHeight)) { in trim()
DSkWritePixelsRec.h46 bool trim(int dstWidth, int dstHeight);
/external/mesa3d/src/mesa/swrast/
Ds_blit.c124 const GLint dstHeight = ABS(dstY1 - dstY0); in blit_nearest() local
289 dstWidth, dstHeight, in blit_nearest()
297 for (dstRow = 0; dstRow < dstHeight; dstRow++) { in blit_nearest()
298 GLfloat srcRowF = (dstRow + 0.5F) / dstHeight * srcHeight - 0.5F; in blit_nearest()
523 const GLint dstHeight = ABS(dstY1 - dstY0); in blit_linear() local
625 for (dstRow = 0; dstRow < dstHeight; dstRow++) { in blit_linear()
627 GLfloat srcRow = (dstRow + 0.5F) / dstHeight * srcHeight - 0.5F; in blit_linear()
/external/webrtc/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/
DViESurfaceRenderer.java55 private void changeDestRect(int dstWidth, int dstHeight) { in changeDestRect() argument
57 dstRect.bottom = (int)(dstRect.top + dstBottomScale * dstHeight); in changeDestRect()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowBitmap.java237 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()

12