/external/deqp/framework/opengl/ |
D | gluTextureTestUtil.cpp | 471 float dstW = (float)dst.getWidth(); in sampleTextureProjected() local 486 float nx = wx / dstW; in sampleTextureProjected() 490 float triWx = triNdx ? dstW - wx : wx; in sampleTextureProjected() 511 float dstW = (float)dst.getWidth(); in sampleTextureProjected() local 529 float nx = wx / dstW; in sampleTextureProjected() 533 float triWx = triNdx ? dstW - wx : wx; in sampleTextureProjected() 617 const float dstW = float(dstSize.x()); in sampleTextureCube() local 635 const float nx = wx / dstW; in sampleTextureCube() 645 const tcu::Vec3 coordDx (triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy), in sampleTextureCube() 646 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy), in sampleTextureCube() [all …]
|
/external/skia/src/core/ |
D | SkMask.cpp | 61 size_t dstW = safe.add(src.fBounds.width(), safe.add(radiusX, radiusX)); in PrepareDestination() local 65 if (!SkTFitsIn<int>(dstW) || !SkTFitsIn<int>(dstH)) { in PrepareDestination() 69 dst.fBounds.set(0, 0, SkTo<int>(dstW), SkTo<int>(dstH)); in PrepareDestination() 72 dst.fRowBytes = SkTo<uint32_t>(dstW); in PrepareDestination() 78 size_t toAlloc = safe.mul(dstW, dstH); in PrepareDestination()
|
D | SkMaskBlurFilter.cpp | 551 uint8_t* dst, int dstW) { in blur_row() argument 575 int dstTail = std::min(8, dstW - x); in blur_row() 584 int dstTail = dstW - x; in blur_row() 594 uint8_t* dst, size_t dstStride, int dstW, int dstH) { in blur_x_rect() argument 604 blur_row(blur, g0, g1, g2, g3, g4, src, srcW, dst, dstW); in blur_x_rect() 612 uint8_t* dst, size_t dstStride, int dstW, int dstH) { in direct_blur_x() argument 616 blur_x_rect(blur_x_radius_1, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x() 620 blur_x_rect(blur_x_radius_2, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x() 624 blur_x_rect(blur_x_radius_3, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x() 628 blur_x_rect(blur_x_radius_4, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x() [all …]
|
D | SkScalerContext.cpp | 421 int dstW = srcW; in generateMask() local 438 dstW = 4*dstW - 8; in generateMask() 449 clip.setRect(SkIRect::MakeWH(dstW, dstH)); in generateMask() 451 const SkImageInfo info = SkImageInfo::MakeA8(dstW, dstH); in generateMask()
|
/external/skqp/src/core/ |
D | SkMask.cpp | 61 size_t dstW = safe.add(src.fBounds.width(), safe.add(radiusX, radiusX)); in PrepareDestination() local 65 if (!SkTFitsIn<int>(dstW) || !SkTFitsIn<int>(dstH)) { in PrepareDestination() 69 dst.fBounds.set(0, 0, SkTo<int>(dstW), SkTo<int>(dstH)); in PrepareDestination() 72 dst.fRowBytes = SkTo<uint32_t>(dstW); in PrepareDestination() 78 size_t toAlloc = safe.mul(dstW, dstH); in PrepareDestination()
|
D | SkMaskBlurFilter.cpp | 551 uint8_t* dst, int dstW) { in blur_row() argument 575 int dstTail = std::min(8, dstW - x); in blur_row() 584 int dstTail = dstW - x; in blur_row() 594 uint8_t* dst, size_t dstStride, int dstW, int dstH) { in blur_x_rect() argument 604 blur_row(blur, g0, g1, g2, g3, g4, src, srcW, dst, dstW); in blur_x_rect() 612 uint8_t* dst, size_t dstStride, int dstW, int dstH) { in direct_blur_x() argument 616 blur_x_rect(blur_x_radius_1, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x() 620 blur_x_rect(blur_x_radius_2, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x() 624 blur_x_rect(blur_x_radius_3, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x() 628 blur_x_rect(blur_x_radius_4, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x() [all …]
|
D | SkScalerContext.cpp | 389 int dstW = srcW; in generateMask() local 406 dstW = 4*dstW - 8; in generateMask() 417 clip.setRect(SkIRect::MakeWH(dstW, dstH)); in generateMask() 419 const SkImageInfo info = SkImageInfo::MakeA8(dstW, dstH); in generateMask()
|
/external/skqp/src/effects/imagefilters/ |
D | SkBlurImageFilter.cpp | 410 dstW = dstBounds.width(), in copy_image_with_bounds() local 413 SkImageInfo dstInfo = SkImageInfo::Make(dstW, dstH, inputBM.colorType(), inputBM.alphaType()); in copy_image_with_bounds() 423 size_t dstWBytes = dstW * sizeof(uint32_t); in copy_image_with_bounds() 486 dstW = dstBounds.width(), in cpu_blur() local 489 SkImageInfo dstInfo = SkImageInfo::Make(dstW, dstH, inputBM.colorType(), inputBM.alphaType()); in cpu_blur() 541 intermediateWidth = dstW; in cpu_blur()
|
/external/skia/src/effects/imagefilters/ |
D | SkBlurImageFilter.cpp | 410 dstW = dstBounds.width(), in copy_image_with_bounds() local 413 SkImageInfo dstInfo = SkImageInfo::Make(dstW, dstH, inputBM.colorType(), inputBM.alphaType()); in copy_image_with_bounds() 423 size_t dstWBytes = dstW * sizeof(uint32_t); in copy_image_with_bounds() 486 dstW = dstBounds.width(), in cpu_blur() local 489 SkImageInfo dstInfo = SkImageInfo::Make(dstW, dstH, inputBM.colorType(), inputBM.alphaType()); in cpu_blur() 541 intermediateWidth = dstW; in cpu_blur()
|
/external/swiftshader/src/Device/ |
D | ETC_Decoder.cpp | 677 bool ETC_Decoder::Decode(const unsigned char* src, unsigned char *dst, int w, int h, int dstW, int … in Decode() argument 693 …ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 1, x, y, dstW, dstH, dstPitch, inputType == ETC_… in Decode() 705 …ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 2, x, y, dstW, dstH, dstPitch, inputType == ETC_… in Decode() 716 …sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, dstW, dstH, dstPitch, alphaValues, inputType … in Decode() 727 ETC2::DecodeBlock(&sources[0], &(alphaValues[0][0]), 1, x, y, dstW, dstH, 4, false, false); in Decode() 731 sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, dstW, dstH, dstPitch, alphaValues, false); in Decode()
|
D | ETC_Decoder.hpp | 40 …static bool Decode(const unsigned char* src, unsigned char *dst, int w, int h, int dstW, int dstH,…
|
D | Surface.cpp | 3048 int dstW = dst->getWidth(); in copyCubeEdge() local 3051 ASSERT(srcW == srcH && dstW == dstH && srcW == dstW && srcBytes == dstBytes); in copyCubeEdge() 3059 …? dstPitch * (dstH + 1) : ((dstEdge == RIGHT) ? dstBytes * (dstW + 1) : 0)) + (reverse ? dstW * -d… in copyCubeEdge() 3072 int x0 = (dstEdge == RIGHT) ? dstW : -1; in copyCubeEdge() 3074 int x1 = (dstEdge == RIGHT) ? dstW - 1 : 0; in copyCubeEdge()
|
/external/swiftshader/src/Renderer/ |
D | ETC_Decoder.cpp | 677 bool ETC_Decoder::Decode(const unsigned char* src, unsigned char *dst, int w, int h, int dstW, int … in Decode() argument 693 …ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 1, x, y, dstW, dstH, dstPitch, inputType == ETC_… in Decode() 705 …ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 2, x, y, dstW, dstH, dstPitch, inputType == ETC_… in Decode() 716 …sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, dstW, dstH, dstPitch, alphaValues, inputType … in Decode() 727 ETC2::DecodeBlock(&sources[0], &(alphaValues[0][0]), 1, x, y, dstW, dstH, 4, false, false); in Decode() 731 sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, dstW, dstH, dstPitch, alphaValues, false); in Decode()
|
D | ETC_Decoder.hpp | 40 …static bool Decode(const unsigned char* src, unsigned char *dst, int w, int h, int dstW, int dstH,…
|
D | Surface.cpp | 3647 int dstW = dst->getWidth(); in copyCubeEdge() local 3650 ASSERT(srcW == srcH && dstW == dstH && srcW == dstW && srcBytes == dstBytes); in copyCubeEdge() 3658 …? dstPitch * (dstH + 1) : ((dstEdge == RIGHT) ? dstBytes * (dstW + 1) : 0)) + (reverse ? dstW * -d… in copyCubeEdge() 3671 int x0 = (dstEdge == RIGHT) ? dstW : -1; in copyCubeEdge() 3673 int x1 = (dstEdge == RIGHT) ? dstW - 1 : 0; in copyCubeEdge()
|
/external/mesa3d/src/mesa/drivers/common/ |
D | meta_blit.c | 616 const GLint dstW = abs(dstX1 - dstX0); in blitframebuffer_texture() local 702 scaled_blit = dstW != srcW || dstH != srcH; in blitframebuffer_texture() 810 _mesa_set_viewport(ctx, 0, dstX, dstY, dstW, dstH); in blitframebuffer_texture() 953 const GLint dstW = abs(dstX1 - dstX0); in _mesa_meta_BlitFramebuffer() local 955 const GLint dstFlipX = (dstX1 - dstX0) / dstW; in _mesa_meta_BlitFramebuffer()
|
/external/deqp/modules/gles3/accuracy/ |
D | es3aVaryingInterpolationTests.cpp | 68 float dstW = (float)dst.getWidth(); in renderReference() local 82 float nx = wx / dstW; in renderReference()
|
/external/deqp/modules/gles2/accuracy/ |
D | es2aVaryingInterpolationTests.cpp | 66 float dstW = (float)dst.getWidth(); in renderReference() local 80 float nx = wx / dstW; in renderReference()
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
D | xa_renderer.c | 307 float dstW, float dstH, struct xa_surface *srf[]) in setup_vertex_data_yuv() argument 327 add_vertex_1tex(r, dstX + dstW, dstY, s1, t0); in setup_vertex_data_yuv() 329 add_vertex_1tex(r, dstX + dstW, dstY + dstH, s1, t1); in setup_vertex_data_yuv()
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrReferenceContext.cpp | 3119 int dstW = de::abs(dstX1-dstX0); in blitFramebuffer() local 3121 bool scale = srcW != dstW || srcH != dstH; in blitFramebuffer() 3127 IVec4 dstRect = IVec4(dstOriginX, dstOriginY, dstW, dstH); in blitFramebuffer() 3143 RC_IF_ERROR(srcW != dstW || srcH != dstH, GL_INVALID_OPERATION, RC_RET_VOID); in blitFramebuffer()
|