Searched refs:srcSize (Results 1 - 25 of 28) sorted by relevance

12

/external/chromium_org/third_party/skia/include/core/
H A DSkPackBits.h50 @param srcSize Number of bytes of src to unpack
54 static int Unpack16(const uint8_t src[], size_t srcSize, uint16_t dst[]);
59 @param srcSize Number of bytes of src to unpack
63 static int Unpack8(const uint8_t src[], size_t srcSize, uint8_t dst[]);
/external/skia/include/core/
H A DSkPackBits.h50 @param srcSize Number of bytes of src to unpack
54 static int Unpack16(const uint8_t src[], size_t srcSize, uint16_t dst[]);
59 @param srcSize Number of bytes of src to unpack
63 static int Unpack8(const uint8_t src[], size_t srcSize, uint8_t dst[]);
/external/chromium_org/third_party/WebKit/Source/platform/
H A DDragImage.cpp212 void DragImage::fitToMaxSize(const IntSize& srcSize, const IntSize& maxSize) argument
219 if (srcSize.width() > maxSize.width()) {
220 widthResizeRatio = maxSize.width() / static_cast<float>(srcSize.width());
224 if (srcSize.height() > maxSize.height()) {
225 heightResizeRatio = maxSize.height() / static_cast<float>(srcSize.height());
230 if (srcSize == originalSize) {
237 float scaleX = srcSize.width() / static_cast<float>(originalSize.width());
238 float scaleY = srcSize.height() / static_cast<float>(originalSize.height());
H A DDragImage.h50 void fitToMaxSize(const IntSize& srcSize, const IntSize& maxSize);
/external/chromium_org/third_party/skia/src/images/
H A DSkImageDecoder_wbmp.cpp135 size_t srcSize = height * srcRB; local
136 uint8_t* src = dst + decodedBitmap->getSize() - srcSize;
137 if (stream->read(src, srcSize) != srcSize) {
/external/skia/src/images/
H A DSkImageDecoder_wbmp.cpp135 size_t srcSize = height * srcRB; local
136 uint8_t* src = dst + decodedBitmap->getSize() - srcSize;
137 if (stream->read(src, srcSize) != srcSize) {
/external/chromium_org/third_party/skia/src/core/
H A DSkPackBits.cpp282 int SkPackBits::Unpack16(const uint8_t* SK_RESTRICT src, size_t srcSize, argument
285 const uint8_t* stop = src + srcSize;
304 int SkPackBits::Unpack8(const uint8_t* SK_RESTRICT src, size_t srcSize, argument
307 const uint8_t* stop = src + srcSize;
H A DSkBitmapScaler.cpp42 void computeFilters(int srcSize,
112 void SkResizeFilter::computeFilters(int srcSize, argument
156 int srcEnd = SkTMin(srcSize - 1, SkScalarCeilToInt(srcPixel + srcSupport));
/external/deqp/modules/gles3/functional/
H A Des3fBufferCopyTests.cpp54 int srcSize,
65 , m_srcSize (srcSize)
285 int srcSize; member in struct:deqp::gles3::Functional::__anon19992
292 // srcSize dstSize srcOffs dstOffs copySize
310 srcTarget, cases[ndx].srcSize, hint,
50 BasicBufferCopyCase(Context& context, const char* name, const char* desc, deUint32 srcTarget, int srcSize, deUint32 srcHint, deUint32 dstTarget, int dstSize, deUint32 dstHint, int copySrcOffset, int copyDstOffset, int copySize, VerifyType verifyType) argument
H A Des3fFramebufferBlitTests.cpp58 BlitRectCase (Context& context, const char* name, const char* desc, deUint32 filter, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dstRect, int cellSize = 8) argument
61 , m_srcSize (srcSize)
167 BlitNearestFilterConsistencyCase (Context& context, const char* name, const char* desc, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dstRect);
172 BlitNearestFilterConsistencyCase::BlitNearestFilterConsistencyCase (Context& context, const char* name, const char* desc, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dstRect) argument
173 : BlitRectCase(context, name, desc, GL_NEAREST, srcSize, srcRect, dstSize, dstRect, 1)
459 BlitDepthStencilCase (Context& context, const char* name, const char* desc, deUint32 format, deUint32 srcBuffers, const IVec2& srcSize, const IVec4& srcRect, deUint32 dstBuffers, const IVec2& dstSize, const IVec4& dstRect, deUint32 copyBuffers) argument
463 , m_srcSize (srcSize)
974 const IVec2 srcSize(127, 119);
990 rectGroup->addChild(new BlitRectCase(m_context, (name + "_nearest").c_str(), "", GL_NEAREST, srcSize, srcRect, dstSize, dstRect));
991 rectGroup->addChild(new BlitRectCase(m_context, (name + "_linear").c_str(), "", GL_LINEAR, srcSize, srcRec
[all...]
/external/lzma/C/
H A DMtCoder.h70 const Byte *src, size_t srcSize, int finished);
H A DLzma2Enc.c311 const Byte *src, size_t srcSize, int finished)
322 if (srcSize != 0)
326 RINOK(LzmaEnc_MemPrepare(p->enc, src, srcSize, LZMA2_KEEP_WINDOW_SIZE,
329 while (p->srcPos < srcSize)
310 MtCallbackImp_Code(void *pp, unsigned index, Byte *dest, size_t *destSize, const Byte *src, size_t srcSize, int finished) argument
/external/skia/src/core/
H A DSkPackBits.cpp282 int SkPackBits::Unpack16(const uint8_t* SK_RESTRICT src, size_t srcSize, argument
285 const uint8_t* stop = src + srcSize;
304 int SkPackBits::Unpack8(const uint8_t* SK_RESTRICT src, size_t srcSize, argument
307 const uint8_t* stop = src + srcSize;
H A DSkBitmapScaler.cpp42 void computeFilters(int srcSize,
112 void SkResizeFilter::computeFilters(int srcSize, argument
156 int srcEnd = SkTMin(srcSize - 1, SkScalarCeilToInt(srcPixel + srcSupport));
/external/deqp/modules/glshared/
H A DglsTextureTestUtil.cpp244 static float computeNonProjectedTriLod (LodMode mode, const tcu::IVec2& dstSize, deInt32 srcSize, const tcu::Vec3& sq) argument
246 float dux = (sq.z() - sq.x()) * (float)srcSize;
247 float duy = (sq.y() - sq.x()) * (float)srcSize;
282 static float computeNonProjectedTriLod (LodMode mode, const tcu::IVec2& dstSize, const tcu::IVec2& srcSize, const tcu::Vec3& sq, const tcu::Vec3& tq) argument
284 float dux = (sq.z() - sq.x()) * (float)srcSize.x();
285 float duy = (sq.y() - sq.x()) * (float)srcSize.x();
286 float dvx = (tq.z() - tq.x()) * (float)srcSize.y();
287 float dvy = (tq.y() - tq.x()) * (float)srcSize.y();
323 static float computeNonProjectedTriLod (LodMode mode, const tcu::IVec2& dstSize, const tcu::IVec3& srcSize, const tcu::Vec3& sq, const tcu::Vec3& tq, const tcu::Vec3& rq) argument
325 float dux = (sq.z() - sq.x()) * (float)srcSize
443 int srcSize = src.getWidth(); local
474 tcu::IVec2 srcSize = tcu::IVec2(src.getWidth(), src.getHeight()); local
645 const int srcSize = src.getSize(); local
706 tcu::IVec2 srcSize = tcu::IVec2(src.getWidth(), src.getHeight()); local
751 deInt32 srcSize = src.getWidth(); local
793 tcu::IVec3 srcSize = tcu::IVec3(src.getWidth(), src.getHeight(), src.getDepth()); local
1695 const int srcSize = src.getWidth(); local
1798 const tcu::IVec2 srcSize = tcu::IVec2(src.getWidth(), src.getHeight()); local
1983 const int srcSize = src.getSize(); local
2162 const tcu::IVec3 srcSize = tcu::IVec3(src.getWidth(), src.getHeight(), src.getDepth()); local
2332 const float srcSize = float(src.getWidth()); // For lod computation, thus #layers is ignored. local
2439 const tcu::Vec2 srcSize = tcu::IVec2(src.getWidth(), src.getHeight()).asFloat(); // For lod computation, thus #layers is ignored. local
2630 const int srcSize = src.getSize(); local
2810 const tcu::IVec2 srcSize = tcu::IVec2(src.getWidth(), src.getHeight()); local
2922 const int srcSize = src.getSize(); local
3040 const tcu::IVec2 srcSize = tcu::IVec2(src.getWidth(), src.getHeight()); local
[all...]
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcbiditst.c732 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); local
733 int32_t destSize = srcSize*2;
738 pseudoToU16(srcSize,logicalOrder[i],src);
740 ubidi_setPara(bidi,src,srcSize,UBIDI_DEFAULT_LTR ,NULL,&ec);
749 }else if(destSize!=srcSize){
750 log_err("Pre-flighting did not give expected size: Expected: %d. Got: %d \n",srcSize,destSize);
756 if(destSize!=srcSize){
757 log_err("ubidi_writeReordered() destSize and srcSize do not match\n");
767 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); local
768 int32_t destSize = srcSize*
801 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); local
832 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); local
866 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); local
994 int32_t srcSize = u_strlen(logicalOrder[i]); local
1842 int32_t srcSize, count, paraStart, paraLimit, paraIndex, length; local
[all...]
/external/icu/icu4c/source/test/cintltst/
H A Dcbiditst.c734 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); local
735 int32_t destSize = srcSize*2;
740 pseudoToU16(srcSize,logicalOrder[i],src);
742 ubidi_setPara(bidi,src,srcSize,UBIDI_DEFAULT_LTR ,NULL,&ec);
751 }else if(destSize!=srcSize){
752 log_err("Pre-flighting did not give expected size: Expected: %d. Got: %d \n",srcSize,destSize);
758 if(destSize!=srcSize){
759 log_err("ubidi_writeReordered() destSize and srcSize do not match\n");
769 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); local
770 int32_t destSize = srcSize*
803 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); local
834 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); local
868 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); local
996 int32_t srcSize = u_strlen(logicalOrder[i]); local
1844 int32_t srcSize, count, paraStart, paraLimit, paraIndex, length; local
[all...]
/external/chromium_org/third_party/skia/src/effects/
H A DSkBlurMask.cpp589 size_t srcSize = src.computeImageSize(); local
590 if (0 == srcSize) {
593 dst->fImage = SkMask::AllocImage(srcSize);
806 size_t srcSize = (size_t)(src.width() * src.height()); local
807 if (0 == srcSize) {
810 dst->fImage = SkMask::AllocImage(srcSize);
973 size_t srcSize = src.computeImageSize(); local
974 if (0 == srcSize) {
977 dst->fImage = SkMask::AllocImage(srcSize);
/external/skia/src/effects/
H A DSkBlurMask.cpp589 size_t srcSize = src.computeImageSize(); local
590 if (0 == srcSize) {
593 dst->fImage = SkMask::AllocImage(srcSize);
806 size_t srcSize = (size_t)(src.width() * src.height()); local
807 if (0 == srcSize) {
810 dst->fImage = SkMask::AllocImage(srcSize);
973 size_t srcSize = src.computeImageSize(); local
974 if (0 == srcSize) {
977 dst->fImage = SkMask::AllocImage(srcSize);
/external/chromium_org/third_party/skia/tests/
H A DResourceCacheTest.cpp28 size_t srcSize = src.getSize(); local
39 size_t maxCacheSize = initialCacheSize + 10*srcSize;
/external/skia/tests/
H A DResourceCacheTest.cpp27 size_t srcSize = src.getSize(); local
38 size_t maxCacheSize = initialCacheSize + 10*srcSize;
/external/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp613 uint64_t srcSize = DL->getTypeAllocSize(srcAlloca->getAllocatedType()) *
616 if (cpyLen < srcSize)
619 // Check that accessing the first srcSize bytes of dest will not cause a
623 // The destination is an alloca. Check it is larger than srcSize.
631 if (destSize < srcSize)
648 if (destSize < srcSize)
699 AliasAnalysis::ModRefResult MR = AA.getModRefInfo(C, cpyDest, srcSize);
702 MR = AA.callCapturesBefore(C, cpyDest, srcSize, &DT);
/external/deqp/modules/gles2/functional/
H A Des2fVertexTextureTests.cpp542 const Vec2 srcSize = Vec2((float)refTexture.getWidth(), (float)refTexture.getHeight()); local
543 const Vec2 sizeRatio = texScale*srcSize / dstSize;
860 const Vec2 srcSize = Vec2((float)refTexture.getSize(), (float)refTexture.getSize()); local
861 const Vec2 sizeRatio = texScale*srcSize / dstSize;
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/
H A DRenderer9.cpp2511 gl::Extents srcSize(readRenderTarget->getWidth(), readRenderTarget->getHeight(), 1);
2579 if (srcRect.right > srcSize.width)
2581 dstRect.right -= (srcRect.right - srcSize.width);
2582 srcRect.right = srcSize.width;
2589 if (srcRect.bottom > srcSize.height)
2591 dstRect.bottom -= (srcRect.bottom - srcSize.height);
2592 srcRect.bottom = srcSize.height;
/external/chromium_org/third_party/skia/src/ports/
H A DSkFontHost_mac.cpp1803 size_t srcSize = CFDataGetLength(srcData); local
1804 if (offset >= srcSize) {
1807 if (length > srcSize - offset) {
1808 length = srcSize - offset;

Completed in 638 milliseconds

12