/external/swiftshader/src/Renderer/ |
ETC_Decoder.hpp | 35 /// @param dstH dst image height 40 static bool Decode(const unsigned char* src, unsigned char *dst, int w, int h, int dstW, int dstH, int dstPitch, int dstBpp, InputType inputType);
|
ETC_Decoder.cpp | 648 bool ETC_Decoder::Decode(const unsigned char* src, unsigned char *dst, int w, int h, int dstW, int dstH, int dstPitch, int dstBpp, InputType inputType) 664 ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 1, x, y, dstW, dstH, dstPitch, inputType == ETC_R_SIGNED); 676 ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 2, x, y, dstW, dstH, dstPitch, inputType == ETC_RG_SIGNED); 687 sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, dstW, dstH, dstPitch, alphaValues, inputType == ETC_RGB_PUNCHTHROUGH_ALPHA); 698 ETC2::DecodeBlock(&sources[0], &(alphaValues[0][0]), 1, x, y, dstW, dstH, 4, false); 702 sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, dstW, dstH, dstPitch, alphaValues, false);
|
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
BitmapUtils.java | 30 * @param dstH the destination height 32 * exclude when cropping. You would typically pass dstH, unless 58 final int dstH, final int dstSliceH, int sampleSize, final float horizSliceFrac, 66 final float hScale = (float) srcH / dstH; 76 final int srcCroppedH = Math.round(dstH * scale); 101 * @param dstH 104 public static void calculateCroppedSrcRect(int srcW, int srcH, int dstW, int dstH, 106 calculateCroppedSrcRect(srcW, srcH, dstW, dstH, Integer.MAX_VALUE, outRect); 109 public static void calculateCroppedSrcRect(int srcW, int srcH, int dstW, int dstH, 116 (float) srcH / dstH); [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/ |
PlaneCapabilities.cpp | 171 int dstW, dstH; 176 dstH = dest.bottom - dest.top; 179 if ((dstW - 1) <= 0 || (dstH - 1) <= 0 || 181 (dstH - 1) >= SPRITE_PLANE_MAX_HEIGHT) { 183 DLOGTRACE("invalid destination size: %d x %d, fall back to GLES", dstW, dstH); 188 return ((srcW == dstW) && (srcH == dstH)) ? true : false; 196 if (dstW <= 1 || dstH <= 1 || srcW <= 1 || srcH <= 1) { 198 DLOGTRACE("invalid destination size: %dx%d, fall back to GLES", dstW, dstH); 215 float scaleY = (float)srcH / dstH;
|
AnnRGBPlane.cpp | 151 int dstX, dstY, dstW, dstH; 164 dstH = mPosition.h; 166 checkPosition(dstX, dstY, dstW, dstH); 231 mContext.ctx.sp_ctx.pos = ((mode->vdisplay - dstY - dstH) & 0xfff) << 16 | ((mode->hdisplay - dstX - dstW) & 0xfff); 239 ((dstH - 1) & 0xfff) << 16 | ((dstW - 1) & 0xfff);
|
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/ |
PlaneCapabilities.cpp | 191 int dstW, dstH; 196 dstH = dest.bottom - dest.top; 200 return ((srcW == dstW) && (srcH == dstH)) ? true : false; 216 if (dstW <= 100 || dstH <= 1 || srcW <= 100 || srcH <= 1) { 218 DTRACE("invalid destination size: %dx%d, fall back to GLES", dstW, dstH); 235 float scaleY = (float)srcH / dstH; 241 if (trans == HAL_TRANSFORM_ROT_90 && (float)srcW / srcH != (float)dstW / dstH) {
|
AnnRGBPlane.cpp | 92 int dstX, dstY, dstW, dstH; 105 dstH = mPosition.h; 107 checkPosition(dstX, dstY, dstW, dstH); 173 mContext.ctx.sp_ctx.pos = ((mode->vdisplay - dstY - dstH) & 0xfff) << 16 | ((mode->hdisplay - dstX - dstW) & 0xfff); 181 ((dstH - 1) & 0xfff) << 16 | ((dstW - 1) & 0xfff);
|
/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
PlaneCapabilities.cpp | 177 int dstW, dstH; 182 dstH = dest.bottom - dest.top; 186 return ((srcW == dstW) && (srcH == dstH)) ? true : false; 194 if (dstW <= 1 || dstH <= 1 || srcW <= 1 || srcH <= 1) {
|
/external/deqp/framework/opengl/ |
gluTextureTestUtil.cpp | 472 float dstH = (float)dst.getHeight(); 487 float ny = wy / dstH; 491 float triWy = triNdx ? dstH - wy : wy; 512 float dstH = (float)dst.getHeight(); 530 float ny = wy / dstH; 534 float triWy = triNdx ? dstH - wy : wy; 618 const float dstH = float(dstSize.y()); 636 const float ny = wy / dstH; 648 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx), 649 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx) [all...] |
/hardware/qcom/display/msm8909/liboverlay/ |
overlayRotator.h | 112 const int& dstW, const int& dstH, const uint32_t& mdpFormat, 180 const int& dstW, const int& dstH, const uint32_t& mdpFormat, 196 const int& dstW, const int& dstH, const uint32_t& mdpFormat, 257 const int& dstW, const int& dstH, const uint32_t& mdpFormat, 282 const int& dstW, const int& dstH, const uint32_t& mdpFormat,
|
overlayRotator.cpp | 58 const int& dstW, const int& dstH, const uint32_t& mdpFormat, 61 return MdssRot::getDownscaleFactor(srcW, srcH, dstW, dstH, 64 return MdpRot::getDownscaleFactor(srcW, srcH, dstW, dstH,
|
overlayMdssRot.cpp | 381 const int& dstW, const int& dstH, const uint32_t& mdpFormat, 383 if(not srcW or not srcH or not dstW or not dstH or isInterlaced) return 0; 389 uint32_t downscale = min((adjCrop.w / dstW), (adjCrop.h / dstH));
|
/hardware/qcom/display/msm8994/liboverlay/ |
overlayRotator.h | 112 const int& dstW, const int& dstH, const uint32_t& mdpFormat, 180 const int& dstW, const int& dstH, const uint32_t& mdpFormat, 196 const int& dstW, const int& dstH, const uint32_t& mdpFormat, 257 const int& dstW, const int& dstH, const uint32_t& mdpFormat, 282 const int& dstW, const int& dstH, const uint32_t& mdpFormat,
|
overlayRotator.cpp | 58 const int& dstW, const int& dstH, const uint32_t& mdpFormat, 61 return MdssRot::getDownscaleFactor(srcW, srcH, dstW, dstH, 64 return MdpRot::getDownscaleFactor(srcW, srcH, dstW, dstH,
|
overlayMdssRot.cpp | 381 const int& dstW, const int& dstH, const uint32_t& mdpFormat, 383 if(not srcW or not srcH or not dstW or not dstH or isInterlaced) return 0; 389 uint32_t downscale = min((adjCrop.w / dstW), (adjCrop.h / dstH));
|
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/ |
TngSpritePlane.cpp | 41 int dstX, dstY, dstW, dstH; 53 dstH = mPosition.h; 55 checkPosition(dstX, dstY, dstW, dstH); 102 ((dstH - 1) & 0xfff) << 16 | ((dstW - 1) & 0xfff);
|
/external/skia/src/core/ |
SkMaskBlurFilter.cpp | 85 size_t dstH = srcH + 2 * borderH; 87 dst->fBounds.set(0, 0, dstW, dstH); 99 dst->fImage = SkMask::AllocImage(dstW * dstH); 123 dstStart, dst->fRowBytes, dstStart + dst->fRowBytes * dstH); 142 auto dstEnd = &dst->fImage[dst->fRowBytes * dstH];
|
SkBitmapController.cpp | 130 const int dstH = SkScalarRoundToScalar(provider.height() / invScaleY); 131 const SkBitmapCacheDesc desc = provider.makeCacheDesc(dstW, dstH); 174 SkIntToScalar(dstH) / provider.height());
|
SkBitmapScaler.cpp | 202 static bool valid_for_resize(const SkPixmap& source, int dstW, int dstH) { 205 source.width() >= 1 && source.height() >= 1 && dstW >= 1 && dstH >= 1;
|
/external/mesa3d/src/mesa/drivers/common/ |
meta_blit.c | 617 const GLint dstH = abs(dstY1 - dstY0); 699 scaled_blit = dstW != srcW || dstH != srcH; [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/ |
HwcLayerList.cpp | 168 int dstH = dest.bottom - dest.top; 169 if (srcW != dstW || srcH != dstH) { 230 int dstH = dest.bottom - dest.top; 231 if (srcW != dstW || srcH != dstH) { 233 srcW, srcH, dstW, dstH); [all...] |
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_renderer.c | 307 float dstW, float dstH, struct xa_surface *srf[]) 329 add_vertex_1tex(r, dstX + dstW, dstY + dstH, s1, t1); 331 add_vertex_1tex(r, dstX, dstY + dstH, s0, t1);
|
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
DisplayAnalyzer.cpp | 289 int dstH = layer.displayFrame.bottom - layer.displayFrame.top; 292 abs(dstH - height) > 1 && 293 dstW * dstH * 10 < width * height * 9) {
|
/external/deqp/modules/gles2/accuracy/ |
es2aVaryingInterpolationTests.cpp | 67 float dstH = (float)dst.getHeight(); 81 float ny = wy / dstH;
|
/external/deqp/modules/gles3/accuracy/ |
es3aVaryingInterpolationTests.cpp | 69 float dstH = (float)dst.getHeight(); 83 float ny = wy / dstH;
|