HomeSort by relevance Sort by last modified time
    Searched refs:dstW (Results 1 - 25 of 29) sorted by null

1 2

  /external/swiftshader/src/Renderer/
ETC_Decoder.hpp 34 /// @param dstW dst image width
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 677 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)
693 ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 1, x, y, dstW, dstH, dstPitch, inputType == ETC_R_SIGNED, true);
705 ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 2, x, y, dstW, dstH, dstPitch, inputType == ETC_RG_SIGNED, true);
716 sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, dstW, dstH, dstPitch, alphaValues, inputType == ETC_RGB_PUNCHTHROUGH_ALPHA);
727 ETC2::DecodeBlock(&sources[0], &(alphaValues[0][0]), 1, x, y, dstW, dstH, 4, false, false);
731 sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, dstW, dstH, dstPitch, alphaValues, false);
  /frameworks/opt/bitmap/src/com/android/bitmap/util/
BitmapUtils.java 29 * @param dstW the destination width
57 public static void calculateCroppedSrcRect(final int srcW, final int srcH, final int dstW,
65 final float wScale = (float) srcW / dstW;
75 final int srcCroppedW = Math.round(dstW * scale);
100 * @param dstW
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,
115 (float) srcW / dstW,
120 final int srcCroppedW = Math.round(dstW * scale)
    [all...]
  /hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
PlaneCapabilities.cpp 171 int dstW, dstH;
175 dstW = dest.right - dest.left;
179 if ((dstW - 1) <= 0 || (dstH - 1) <= 0 ||
180 (dstW - 1) >= SPRITE_PLANE_MAX_WIDTH ||
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);
214 float scaleX = (float)srcW / dstW;
AnnRGBPlane.cpp 151 int dstX, dstY, dstW, dstH;
163 dstW = mPosition.w;
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;
195 dstW = dest.right - dest.left;
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);
234 float scaleX = (float)srcW / dstW;
241 if (trans == HAL_TRANSFORM_ROT_90 && (float)srcW / srcH != (float)dstW / dstH) {
AnnRGBPlane.cpp 92 int dstX, dstY, dstW, dstH;
104 dstW = mPosition.w;
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;
181 dstW = dest.right - dest.left;
186 return ((srcW == dstW) && (srcH == dstH)) ? true : false;
194 if (dstW <= 1 || dstH <= 1 || srcW <= 1 || srcH <= 1) {
  /external/deqp/framework/opengl/
gluTextureTestUtil.cpp 471 float dstW = (float)dst.getWidth();
486 float nx = wx / dstW;
490 float triWx = triNdx ? dstW - wx : wx;
511 float dstW = (float)dst.getWidth();
529 float nx = wx / dstW;
533 float triWx = triNdx ? dstW - wx : wx;
617 const float dstW = float(dstSize.x());
635 const float nx = wx / dstW;
645 const tcu::Vec3 coordDx (triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy),
646 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy)
    [all...]
  /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;
52 dstW = mPosition.w;
55 checkPosition(dstX, dstY, dstW, dstH);
102 ((dstH - 1) & 0xfff) << 16 | ((dstW - 1) & 0xfff);
  /external/skia/src/core/
SkMaskBlurFilter.cpp 303 // dstW = srcW + 2 * radiusX;
304 size_t dstW = safe.add(src.fBounds.width(), safe.add(radiusX, radiusX));
308 dst.fBounds.set(0, 0, SkTo<int>(dstW), SkTo<int>(dstH));
313 dst.fRowBytes = SkTo<uint32_t>(dstW);
316 size_t toAlloc = safe.mul(dstW, dstH);
576 uint8_t* dst, int dstW) {
600 int dstTail = std::min(8, dstW - x);
609 int dstTail = dstW - x;
620 uint8_t* dst, size_t dstStride, int dstW, int dstH) {
630 blur_row(blur, g0, g1, g2, g3, g4, src, srcW, dst, dstW);
    [all...]
SkBlurImageFilter.cpp 412 dstW = dstBounds.width(),
415 SkImageInfo dstInfo = SkImageInfo::Make(dstW, dstH, inputBM.colorType(), inputBM.alphaType());
425 size_t dstWBytes = dstW * sizeof(uint32_t);
488 dstW = dstBounds.width(),
491 SkImageInfo dstInfo = SkImageInfo::Make(dstW, dstH, inputBM.colorType(), inputBM.alphaType());
541 intermediateWidth = dstW;
SkScalerContext.cpp 343 int dstW = srcW;
360 dstW = 4*dstW - 8;
371 clip.setRect(SkIRect::MakeWH(dstW, dstH));
373 const SkImageInfo info = SkImageInfo::MakeA8(dstW, dstH);
    [all...]
  /external/skqp/src/core/
SkMaskBlurFilter.cpp 303 // dstW = srcW + 2 * radiusX;
304 size_t dstW = safe.add(src.fBounds.width(), safe.add(radiusX, radiusX));
308 dst.fBounds.set(0, 0, SkTo<int>(dstW), SkTo<int>(dstH));
313 dst.fRowBytes = SkTo<uint32_t>(dstW);
316 size_t toAlloc = safe.mul(dstW, dstH);
576 uint8_t* dst, int dstW) {
600 int dstTail = std::min(8, dstW - x);
609 int dstTail = dstW - x;
620 uint8_t* dst, size_t dstStride, int dstW, int dstH) {
630 blur_row(blur, g0, g1, g2, g3, g4, src, srcW, dst, dstW);
    [all...]
SkBlurImageFilter.cpp 412 dstW = dstBounds.width(),
415 SkImageInfo dstInfo = SkImageInfo::Make(dstW, dstH, inputBM.colorType(), inputBM.alphaType());
425 size_t dstWBytes = dstW * sizeof(uint32_t);
488 dstW = dstBounds.width(),
491 SkImageInfo dstInfo = SkImageInfo::Make(dstW, dstH, inputBM.colorType(), inputBM.alphaType());
541 intermediateWidth = dstW;
  /external/mesa3d/src/mesa/drivers/common/
meta_blit.c 616 const GLint dstW = abs(dstX1 - dstX0);
699 scaled_blit = dstW != srcW || dstH != srcH;
    [all...]
  /hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/
HwcLayerList.cpp 167 int dstW = dest.right - dest.left;
169 if (srcW != dstW || srcH != dstH) {
229 int dstW = dest.right - dest.left;
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[])
327 add_vertex_1tex(r, dstX + dstW, dstY, s1, t0);
329 add_vertex_1tex(r, dstX + dstW, dstY + dstH, s1, t1);
  /hardware/intel/img/hwcomposer/merrifield/common/base/
DisplayAnalyzer.cpp 288 int dstW = layer.displayFrame.right - layer.displayFrame.left;
291 if (abs(dstW - width) > 1 &&
293 dstW * dstH * 10 < width * height * 9) {
  /hardware/qcom/display/msm8994/libhwcomposer/
hwc_utils.h 725 inline uint32_t getLayerClock(const uint32_t& dstW, const uint32_t& dstH,
727 return max(dstW, (srcH * dstW) / dstH);
  /external/deqp/modules/gles2/accuracy/
es2aVaryingInterpolationTests.cpp 66 float dstW = (float)dst.getWidth();
80 float nx = wx / dstW;
  /external/deqp/modules/gles3/accuracy/
es3aVaryingInterpolationTests.cpp 68 float dstW = (float)dst.getWidth();
82 float nx = wx / dstW;

Completed in 782 milliseconds

1 2