Home
last modified time | relevance | path

Searched refs:dstSize (Results 1 – 25 of 41) sorted by relevance

12

/external/opencv3/modules/cudev/include/opencv2/cudev/ptr2d/
Dwarping.hpp86 __host__ static AffineMapPtrSz affineMap(Size dstSize, const GpuMat_<float>& warpMat) in affineMap() argument
93 map.rows = dstSize.height; in affineMap()
94 map.cols = dstSize.width; in affineMap()
100 warpAffinePtr(const SrcPtr& src, Size dstSize, const GpuMat_<float>& warpMat) in warpAffinePtr() argument
102 return remapPtr(src, affineMap(dstSize, warpMat)); in warpAffinePtr()
134 __host__ static PerspectiveMapPtrSz perspectiveMap(Size dstSize, const GpuMat_<float>& warpMat) in perspectiveMap() argument
141 map.rows = dstSize.height; in perspectiveMap()
142 map.cols = dstSize.width; in perspectiveMap()
148 warpPerspectivePtr(const SrcPtr& src, Size dstSize, const GpuMat_<float>& warpMat) in warpPerspectivePtr() argument
150 return remapPtr(src, perspectiveMap(dstSize, warpMat)); in warpPerspectivePtr()
/external/skia/tests/
DPackBitsTest.cpp39 size_t dstSize = SkPackBits::Pack8(gTests[i].fSrc, in test_pack8() local
41 REPORTER_ASSERT(reporter, dstSize == 0); in test_pack8()
42 dstSize = SkPackBits::Pack8(gTests[i].fSrc, in test_pack8()
44 REPORTER_ASSERT(reporter, dstSize <= maxSize); in test_pack8()
46 int srcCount = SkPackBits::Unpack8(dst, dstSize, src, gTests[i].fCount - 1); in test_pack8()
48 srcCount = SkPackBits::Unpack8(dst, dstSize, src, sizeof(src)); in test_pack8()
61 size_t dstSize = SkPackBits::Pack8(src, size, dst, sizeof(dst)); in test_pack8() local
63 REPORTER_ASSERT(reporter, maxSize >= dstSize); in test_pack8()
65 size_t srcCount = SkPackBits::Unpack8(dst, dstSize, src2, size); in test_pack8()
/external/opencv3/modules/core/misc/java/test/
DSizeTest.java9 Size dstSize; field in SizeTest
19 dstSize = null; in setUp()
28 dstSize = sz1.clone(); in testClone()
29 assertEquals(sz1, dstSize); in testClone()
56 dstSize = new Size(); in testSize()
58 assertNotNull(dstSize); in testSize()
59 assertEquals(0., dstSize.width); in testSize()
60 assertEquals(0., dstSize.height); in testSize()
/external/opencv3/modules/imgproc/perf/opencl/
Dperf_pyramid.cpp65 const Size dstSize((srcSize.height + 1) >> 1, (srcSize.width + 1) >> 1); in OCL_PERF_TEST_P() local
69 checkDeviceMaxMemoryAllocSize(dstSize, type); in OCL_PERF_TEST_P()
71 UMat src(srcSize, type), dst(dstSize, type); in OCL_PERF_TEST_P()
89 const Size dstSize(srcSize.height << 1, srcSize.width << 1); in OCL_PERF_TEST_P() local
93 checkDeviceMaxMemoryAllocSize(dstSize, type); in OCL_PERF_TEST_P()
95 UMat src(srcSize, type), dst(dstSize, type); in OCL_PERF_TEST_P()
Dperf_imgwarp.cpp133 const Size dstSize(cvRound(srcSize.width * scale), cvRound(srcSize.height * scale)); variable
137 checkDeviceMaxMemoryAllocSize(dstSize, type);
139 UMat src(srcSize, type), dst(dstSize, type);
157 const Size dstSize(cvRound(srcSize.width * scale), cvRound(srcSize.height * scale)); variable
161 checkDeviceMaxMemoryAllocSize(dstSize, type);
163 UMat src(srcSize, type), dst(dstSize, type);
Dperf_matchTemplate.cpp59 const Size dstSize(src.cols - templ.cols + 1, src.rows - templ.rows + 1); variable
60 UMat dst(dstSize, CV_32F);
77 const Size dstSize(src.cols - templ.cols + 1, src.rows - templ.rows + 1); variable
78 UMat dst(dstSize, CV_8UC1);
Dperf_imgproc.cpp143 const Size dstSize = srcSize + Size(12, 12); in OCL_PERF_TEST_P() local
144 dst.create(dstSize, type); in OCL_PERF_TEST_P()
/external/dng_sdk/source/
Ddng_render.cpp1271 dng_point dstSize; in Render() local
1273 dstSize.h = fNegative.DefaultFinalWidth (); in Render()
1274 dstSize.v = fNegative.DefaultFinalHeight (); in Render()
1279 if (Max_uint32 (dstSize.h, dstSize.v) > MaximumSize ()) in Render()
1286 dstSize.h = MaximumSize (); in Render()
1287 dstSize.v = Max_uint32 (1, Round_uint32 (dstSize.h / ratio)); in Render()
1292 dstSize.v = MaximumSize (); in Render()
1293 dstSize.h = Max_uint32 (1, Round_uint32 (dstSize.v * ratio)); in Render()
1302 if (srcBounds.Size () != dstSize) in Render()
1305 tempImage.Reset (fHost.Make_dng_image (dstSize, in Render()
/external/libjpeg-turbo/
Dtjunittest.c396 unsigned long *dstSize, int w, int h, int pf, char *basename, in compTest() argument
408 if(*dstBuf && *dstSize>0) memset(*dstBuf, 0, *dstSize); in compTest()
433 dstSize, jpegQual, flags)); in compTest()
439 _tj(tjCompress2(handle, srcBuf, w, 0, h, pf, dstBuf, dstSize, subsamp, in compTest()
445 writeJPEG(*dstBuf, *dstSize, tempStr); in compTest()
462 unsigned long dstSize=0; in _decompTest() local
469 dstSize=scaledWidth*scaledHeight*tjPixelSize[pf]; in _decompTest()
470 if((dstBuf=(unsigned char *)malloc(dstSize))==NULL) in _decompTest()
472 memset(dstBuf, 0, dstSize); in _decompTest()
601 unsigned long dstSize=0; in bufSizeTest() local
[all …]
/external/skia/src/effects/
DSkPackBits.cpp38 uint8_t* SK_RESTRICT dst, size_t dstSize) { in Pack8() argument
39 if (dstSize < ComputeMaxSize8(srcSize)) { in Pack8()
82 uint8_t* SK_RESTRICT dst, size_t dstSize) { in Unpack8() argument
84 uint8_t* const endDst = dst + dstSize; in Unpack8()
DSkPackBits.h32 size_t dstSize);
43 size_t dstSize);
DSkBlurMask.cpp536 size_t dstSize = dst->computeImageSize(); in BoxBlur() local
537 if (0 == dstSize) { in BoxBlur()
544 uint8_t* dp = SkMask::AllocImage(dstSize); in BoxBlur()
548 SkAutoTMalloc<uint8_t> tmpBuffer(dstSize); in BoxBlur()
775 size_t dstSize = dst->computeImageSize(); in BlurRect() local
776 if (0 == dstSize) { in BlurRect()
780 uint8_t* dp = SkMask::AllocImage(dstSize); in BlurRect()
895 size_t dstSize = dst->computeImageSize(); in BlurGroundTruth() local
896 if (0 == dstSize) { in BlurGroundTruth()
905 uint8_t* dstPixels = SkMask::AllocImage(dstSize); in BlurGroundTruth()
/external/lz4/lib/
Dlz4frame.c453 typedef int (*compressFunc_t)(void* ctx, const char* src, char* dst, int srcSize, int dstSize, int …
472 …limitedOutput_withState(void* ctx, const char* src, char* dst, int srcSize, int dstSize, int level) in LZ4F_localLZ4_compress_limitedOutput_withState() argument
475 return LZ4_compress_limitedOutput_withState(ctx, src, dst, srcSize, dstSize); in LZ4F_localLZ4_compress_limitedOutput_withState()
478 …_limitedOutput_continue(void* ctx, const char* src, char* dst, int srcSize, int dstSize, int level) in LZ4F_localLZ4_compress_limitedOutput_continue() argument
481 return LZ4_compress_limitedOutput_continue((LZ4_stream_t*)ctx, src, dst, srcSize, dstSize); in LZ4F_localLZ4_compress_limitedOutput_continue()
484 …_limitedOutput_continue(void* ctx, const char* src, char* dst, int srcSize, int dstSize, int level) in LZ4F_localLZ4_compressHC_limitedOutput_continue() argument
487 return LZ4_compressHC_limitedOutput_continue((LZ4_streamHC_t*)ctx, src, dst, srcSize, dstSize); in LZ4F_localLZ4_compressHC_limitedOutput_continue()
856 static void LZ4F_updateDict(LZ4F_dctx_internal_t* dctxPtr, const BYTE* dstPtr, size_t dstSize, cons… in LZ4F_updateDict() argument
863 dctxPtr->dictSize += dstSize; in LZ4F_updateDict()
867 if (dstPtr - dstPtr0 + dstSize >= 64 KB) /* dstBuffer large enough to become dictionary */ in LZ4F_updateDict()
[all …]
/external/libvncserver/test/
Dtjunittest.c239 unsigned long *dstSize, int w, int h, int pf, char *basename, in compTest() argument
252 if(*dstBuf && *dstSize>0) memset(*dstBuf, 0, *dstSize); in compTest()
255 *dstSize=tjBufSize(w, h, subsamp); in compTest()
256 _tj(tjCompress2(handle, srcBuf, w, 0, h, pf, dstBuf, dstSize, subsamp, in compTest()
263 writeJPEG(*dstBuf, *dstSize, tempStr); in compTest()
280 unsigned long dstSize=0; in _decompTest() local
293 dstSize=scaledWidth*scaledHeight*tjPixelSize[pf]; in _decompTest()
294 if((dstBuf=(unsigned char *)malloc(dstSize))==NULL) in _decompTest()
296 memset(dstBuf, 0, dstSize); in _decompTest()
/external/opencv3/modules/cudev/include/opencv2/cudev/expr/
Dwarping.hpp92 warpAffine_(const SrcPtr& src, Size dstSize, const GpuMat_<float>& warpMat) in warpAffine_() argument
94 return makeExpr(warpAffinePtr(src, dstSize, warpMat)); in warpAffine_()
101 warpPerspective_(const SrcPtr& src, Size dstSize, const GpuMat_<float>& warpMat) in warpPerspective_() argument
103 return makeExpr(warpPerspectivePtr(src, dstSize, warpMat)); in warpPerspective_()
/external/icu/icu4c/source/common/
Dunistr_cnv.cpp122 uint32_t dstSize) const { in extract()
123 return extract(start, length, target, dstSize, 0); in extract()
133 uint32_t dstSize, in extract() argument
137 if(/*dstSize < 0 || */(dstSize > 0 && target == 0)) { in extract()
150 if(dstSize < 0x7fffffff) { in extract()
152 capacity = (int32_t)dstSize; in extract()
/external/opencv3/modules/imgproc/test/ocl/
Dtest_histogram.cpp184 Size dstSize = dst1.size(); in PARAM_TEST_CASE() local
185 int nDiffs = (int)(0.03f*dstSize.height*dstSize.width); in PARAM_TEST_CASE()
208 Size dstSize = dst_roi.size(); in OCL_TEST_P() local
209 int nDiffs = std::max((int)(0.07f*dstSize.area()), 1); in OCL_TEST_P()
/external/opencv3/modules/imgproc/test/
Dtest_cvtyuv.cpp629 Size dstSize = cvt.getDstSize(sz); in TEST_P() local
630 Mat dst = Mat(dstSize.height, dstSize.width * dcn, CV_8UC1).reshape(dcn); in TEST_P()
631 Mat gold(dstSize, CV_8UC(dcn)); in TEST_P()
672 Size dstSize = cvt.getDstSize(sz); in TEST_P() local
673 …Mat dst_full(dstSize.height + roi_offset_left + roi_offset_right, dstSize.width + roi_offset_top … in TEST_P()
679 …ull(Range(roi_offset_left, roi_offset_left + dstSize.height), Range(roi_offset_top, roi_offset_top… in TEST_P()
680 …ull(Range(roi_offset_left, roi_offset_left + dstSize.height), Range(roi_offset_top, roi_offset_top… in TEST_P()
/external/deqp/modules/glshared/
DglsTextureTestUtil.cpp235 static float computeNonProjectedTriLod (LodMode mode, const tcu::IVec2& dstSize, deInt32 srcSize, c… in computeNonProjectedTriLod() argument
239 float dx = (float)dstSize.x(); in computeNonProjectedTriLod()
240 float dy = (float)dstSize.y(); in computeNonProjectedTriLod()
273 static float computeNonProjectedTriLod (LodMode mode, const tcu::IVec2& dstSize, const tcu::IVec2& … in computeNonProjectedTriLod() argument
279 float dx = (float)dstSize.x(); in computeNonProjectedTriLod()
280 float dy = (float)dstSize.y(); in computeNonProjectedTriLod()
314 static float computeNonProjectedTriLod (LodMode mode, const tcu::IVec2& dstSize, const tcu::IVec3& … in computeNonProjectedTriLod() argument
322 float dx = (float)dstSize.x(); in computeNonProjectedTriLod()
323 float dy = (float)dstSize.y(); in computeNonProjectedTriLod()
437 tcu::IVec2 dstSize = tcu::IVec2(dst.getWidth(), dst.getHeight()); in sampleTextureNonProjected() local
[all …]
/external/deqp/modules/gles3/functional/
Des3fBufferCopyTests.cpp57 int dstSize, in BasicBufferCopyCase() argument
68 , m_dstSize (dstSize) in BasicBufferCopyCase()
286 int dstSize; in init() member
311 dstTarget, cases[ndx].dstSize, hint, in init()
Des3fVertexTextureTests.cpp499 float calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNdx) const;
640 float Vertex2DTextureCase::calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNdx)… in calculateLod() argument
644 const Vec2 sizeRatio = texScale*srcSize / dstSize; in calculateLod()
805 float calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNdx) const;
961 float VertexCubeTextureCase::calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNd… in calculateLod() argument
965 const Vec2 sizeRatio = texScale*srcSize / dstSize; in calculateLod()
1143 float calculateLod (const Mat3& transf, const Vec2& dstSize, int textureNdx) const;
1286 float Vertex2DArrayTextureCase::calculateLod (const Mat3& transf, const Vec2& dstSize, int textureN… in calculateLod() argument
1298 const float dudx = (trans10.x() - trans00.x()) * (float)texWidth / dstSize.x(); in calculateLod()
1299 const float dudy = (trans01.x() - trans00.x()) * (float)texWidth / dstSize.y(); in calculateLod()
[all …]
Des3fFramebufferBlitTests.cpp58 …eUint32 filter, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dst… in BlitRectCase() argument
63 , m_dstSize (dstSize) in BlitRectCase()
167 …nst char* desc, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dst…
172 …nst char* desc, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dst… in BlitNearestFilterConsistencyCase() argument
173 : BlitRectCase(context, name, desc, GL_NEAREST, srcSize, srcRect, dstSize, dstRect, 1) in BlitNearestFilterConsistencyCase()
459 … IVec2& srcSize, const IVec4& srcRect, deUint32 dstBuffers, const IVec2& dstSize, const IVec4& dst… in BlitDepthStencilCase() argument
466 , m_dstSize (dstSize) in BlitDepthStencilCase()
975 const IVec2 dstSize(132, 128); in init() local
990 …tCase(m_context, (name + "_nearest").c_str(), "", GL_NEAREST, srcSize, srcRect, dstSize, dstRect)); in init()
991 …ctCase(m_context, (name + "_linear").c_str(), "", GL_LINEAR, srcSize, srcRect, dstSize, dstRect)); in init()
[all …]
/external/opencv3/modules/cudalegacy/src/cuda/
DNPP_staging.cu1690 NcvSize32u dstSize, in FilterRowBorderMirror_32f_C1R() argument
1725 NcvSize32u dstSize, in FilterColumnBorderMirror_32f_C1R() argument
1759 NcvSize32u dstSize, in nppiStFilterRowBorder_32f_C1R() argument
1775 dstSize.width * sizeof (Ncv32f) <= nDstStep && in nppiStFilterRowBorder_32f_C1R()
1816 (srcStep, pDst, dstSize, dstStep, oROI, nKernelSize, nAnchor, multiplier); in nppiStFilterRowBorder_32f_C1R()
1831 NcvSize32u dstSize, in nppiStFilterColumnBorder_32f_C1R() argument
1847 dstSize.width * sizeof (Ncv32f) <= nDstStep && in nppiStFilterColumnBorder_32f_C1R()
1886 (srcStep, pDst, dstSize, dstStep, oROI, nKernelSize, nAnchor, multiplier); in nppiStFilterColumnBorder_32f_C1R()
2397 NcvSize32u dstSize, in resizeSuperSample_32f() argument
2483 NcvSize32u dstSize, in resizeBicubic() argument
[all …]
/external/opencv3/modules/cudalegacy/include/opencv2/cudalegacy/
DNPP_staging.hpp181 NcvSize32u dstSize,
215 NcvSize32u dstSize,
327 NcvSize32u dstSize,
/external/deqp/modules/gles2/functional/
Des2fVertexTextureTests.cpp401 float calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNdx) const;
539 float Vertex2DTextureCase::calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNdx)… in calculateLod() argument
543 const Vec2 sizeRatio = texScale*srcSize / dstSize; in calculateLod()
704 float calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNdx) const;
857 float VertexCubeTextureCase::calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNd… in calculateLod() argument
861 const Vec2 sizeRatio = texScale*srcSize / dstSize; in calculateLod()

12