/external/swiftshader/src/Device/ |
D | BC_Decoder.cpp | 23 …void decode(unsigned char *dst, int x, int y, int dstW, int dstH, int dstPitch, int dstBpp, bool h… in decode() 46 for(int i = 0; i < BlockWidth && (x + i) < dstW; i++, idxOffset++, dstOffset += dstBpp) in decode() 136 …void decode(unsigned char *dst, int x, int y, int dstW, int dstH, int dstPitch, int dstBpp, int ch… in decode() 170 for(int i = 0; i < BlockWidth && (x + i) < dstW; i++) in decode() 189 void decode(unsigned char *dst, int x, int y, int dstW, int dstH, int dstPitch, int dstBpp) const in decode() 195 for(int i = 0; i < BlockWidth && (x + i) < dstW; i++, dstRow += dstBpp) in decode() 215 bool BC_Decoder::Decode(const unsigned char *src, unsigned char *dst, int w, int h, int dstW, int d… in Decode() argument 236 color->decode(dstRow, x, y, dstW, dstH, dstPitch, dstBpp, isAlpha, false); in Decode() 250 color->decode(dstRow, x, y, dstW, dstH, dstPitch, dstBpp, isAlpha, true); in Decode() 251 alpha->decode(dstRow, x, y, dstW, dstH, dstPitch, dstBpp); in Decode() [all …]
|
D | ETC_Decoder.cpp | 670 bool ETC_Decoder::Decode(const unsigned char *src, unsigned char *dst, int w, int h, int dstW, int … in Decode() argument 686 …ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 1, x, y, dstW, dstH, dstPitch, inputType == ETC_… in Decode() 698 …ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 2, x, y, dstW, dstH, dstPitch, inputType == ETC_… in Decode() 709 …sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, dstW, dstH, dstPitch, alphaValues, inputType … in Decode() 720 ETC2::DecodeBlock(&sources[0], &(alphaValues[0][0]), 1, x, y, dstW, dstH, 4, false, false); in Decode() 724 sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, dstW, dstH, dstPitch, alphaValues, false); in Decode()
|
D | BC_Decoder.hpp | 31 …static bool Decode(const unsigned char *src, unsigned char *dst, int w, int h, int dstW, int dstH,…
|
D | ETC_Decoder.hpp | 40 …static bool Decode(const unsigned char *src, unsigned char *dst, int w, int h, int dstW, int dstH,…
|
/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.setWH(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 | 553 uint8_t* dst, int dstW) { in blur_row() argument 577 int dstTail = std::min(8, dstW - x); in blur_row() 586 int dstTail = dstW - x; in blur_row() 596 uint8_t* dst, size_t dstStride, int dstW, int dstH) { in blur_x_rect() argument 606 blur_row(blur, g0, g1, g2, g3, g4, src, srcW, dst, dstW); in blur_x_rect() 614 uint8_t* dst, size_t dstStride, int dstW, int dstH) { in direct_blur_x() argument 618 blur_x_rect(blur_x_radius_1, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x() 622 blur_x_rect(blur_x_radius_2, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x() 626 blur_x_rect(blur_x_radius_3, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x() 630 blur_x_rect(blur_x_radius_4, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x() [all …]
|
D | SkScalerContext.cpp | 460 int dstW = srcW; in generateMask() local 477 dstW = 4*dstH - 8; in generateMask() 483 dstW = 4*dstW - 8; in generateMask() 495 clip.setRect(SkIRect::MakeWH(dstW, dstH)); in generateMask() 497 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/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/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 | 394 dstW = dstBounds.width(), in copy_image_with_bounds() local 397 SkImageInfo dstInfo = SkImageInfo::Make(dstW, dstH, inputBM.colorType(), inputBM.alphaType()); in copy_image_with_bounds() 407 size_t dstWBytes = dstW * sizeof(uint32_t); in copy_image_with_bounds() 470 dstW = dstBounds.width(), in cpu_blur() local 473 SkImageInfo dstInfo = inputBM.info().makeWH(dstW, dstH); in cpu_blur() 525 intermediateWidth = dstW; in cpu_blur()
|
/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 | 3651 int dstW = dst->getWidth(); in copyCubeEdge() local 3654 ASSERT(srcW == srcH && dstW == dstH && srcW == dstW && srcBytes == dstBytes); in copyCubeEdge() 3662 …? dstPitch * (dstH + 1) : ((dstEdge == RIGHT) ? dstBytes * (dstW + 1) : 0)) + (reverse ? dstW * -d… in copyCubeEdge() 3675 int x0 = (dstEdge == RIGHT) ? dstW : -1; in copyCubeEdge() 3677 int x1 = (dstEdge == RIGHT) ? dstW - 1 : 0; in copyCubeEdge()
|
/external/mesa3d/src/mesa/drivers/common/ |
D | meta_blit.c | 104 const GLint dstW = abs(dstX1 - dstX0); in blitframebuffer_texture() local 284 _mesa_set_viewport(ctx, 0, dstX, dstY, dstW, dstH); in blitframebuffer_texture() 422 const GLint dstW = abs(dstX1 - dstX0); in _mesa_meta_BlitFramebuffer() local 424 const GLint dstFlipX = (dstX1 - dstX0) / dstW; in _mesa_meta_BlitFramebuffer()
|
/external/mesa3d/src/gallium/frontends/xa/ |
D | xa_renderer.c | 288 float dstW, float dstH, struct xa_surface *srf[]) in setup_vertex_data_yuv() argument 308 add_vertex_1tex(r, dstX + dstW, dstY, s1, t0); in setup_vertex_data_yuv() 310 add_vertex_1tex(r, dstX + dstW, dstY + dstH, s1, t1); in setup_vertex_data_yuv()
|
/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/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/framework/opengl/simplereference/ |
D | sglrReferenceContext.cpp | 3121 int dstW = de::abs(dstX1-dstX0); in blitFramebuffer() local 3123 bool scale = srcW != dstW || srcH != dstH; in blitFramebuffer() 3129 IVec4 dstRect = IVec4(dstOriginX, dstOriginY, dstW, dstH); in blitFramebuffer() 3145 RC_IF_ERROR(srcW != dstW || srcH != dstH, GL_INVALID_OPERATION, RC_RET_VOID); in blitFramebuffer()
|