/frameworks/rs/tests/cppf16/ |
compute.cpp | 8 void testAllocationCreation(sp<RS> rs, sp<const Element> e, uint32_t nDims) { 11 if (nDims >= 2) 13 if (nDims >= 3) 33 for (uint32_t nDims = 1; nDims <= 3; nDims ++) { 34 testAllocationCreation(rs, half, nDims); 35 testAllocationCreation(rs, half2, nDims); 36 testAllocationCreation(rs, half3, nDims); 37 testAllocationCreation(rs, half4, nDims); [all...] |
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
UT_fp16.java | 35 private void initializeGlobals(RenderScript RS, ScriptC_fp16 s, Element e, int nDims) { 37 switch(nDims) { 51 s.set_gDimY(nDims > 1? dimY: 0); 52 s.set_gDimZ(nDims > 2? dimZ: 0); 56 private void TestHalf(RenderScript RS, ScriptC_fp16 s, int nDims) { 57 initializeGlobals(RS, s, Element.F16(RS), nDims); 63 initializeGlobals(RS, s, Element.F16(RS), nDims); 69 private void TestHalf2(RenderScript RS, ScriptC_fp16 s, int nDims) { 70 initializeGlobals(RS, s, Element.F16_2(RS), nDims); 76 initializeGlobals(RS, s, Element.F16_2(RS), nDims); [all...] |
UT_single_source_alloc.java | 41 private void initializeGlobals(RenderScript RS, ScriptC_single_source_alloc s, int nDims) { 43 s.set_gDimY(nDims > 1? dimY: 0); 44 s.set_gDimZ(nDims > 2? dimZ: 0); 59 for (int nDims = 1; nDims <= 3; nDims ++) { 60 initializeGlobals(pRS, s, nDims);
|
/external/libopus/celt/tests/ |
test_unit_cwrs32.c | 56 #define NDIMS (44) 57 static const int pn[NDIMS]={ 64 static const int pkmax[NDIMS]={ 74 #define NDIMS (22) 75 static const int pn[NDIMS]={ 80 static const int pkmax[NDIMS]={ 92 for(t=0;t<NDIMS;t++){
|
/external/opencv3/modules/python/src2/ |
cv2.cpp | 182 CV_Error_(Error::StsError, ("The numpy array of typenum=%d, ndims=%d can not be created", typenum, dims)); 298 int ndims = PyArray_NDIM(oarr); local 299 if(ndims >= CV_MAX_DIM) 301 failmsg("%s dimensionality (=%d) is too high", info.name, ndims); 310 bool ismultichannel = ndims == 3 && _sizes[2] <= CV_CN_MAX; 312 for( int i = ndims-1; i >= 0 && !needcopy; i-- ) 315 // a) multi-dimensional (ndims > 2) arrays, as well as simpler 1- and 2-dimensional cases 318 if( (i == ndims-1 && (size_t)_strides[i] != elemsize) || 319 (i < ndims-1 && _strides[i] < _strides[i+1]) ) 330 failmsg("Layout of the output array %s is incompatible with cv::Mat (step[ndims-1] != elemsize or step[1] != elemsize*nchannels)", info.name) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
single_source_alloc.rs | 245 for (int nDims = 1; nDims <= 3; nDims ++) { 246 int dimY = nDims > 1 ? gDimY : 0; 247 int dimZ = nDims > 2 ? gDimZ : 0;
|
/external/opencv3/modules/core/test/ |
test_arithm.cpp | [all...] |
/external/opencv3/modules/core/src/ |
umatrix.cpp | 929 UMat UMat::zeros(int ndims, const int* sz, int type) 931 return UMat(ndims, sz, type, Scalar::all(0)); 944 UMat UMat::ones(int ndims, const int* sz, int type) 946 return UMat(ndims, sz, type, Scalar(1));
|
matop.cpp | 203 static void makeExpr(MatExpr& res, int method, int ndims, const int* sizes, int type, double alpha=1); [all...] |
matrix.cpp | [all...] |
/external/opencv3/modules/core/include/opencv2/core/ |
mat.hpp | [all...] |
/prebuilts/gdb/darwin-x86/include/python2.7/ |
abstract.h | 596 PyAPI_FUNC(void) PyBuffer_FillContiguousStrides(int ndims, [all...] |
/prebuilts/gdb/linux-x86/include/python2.7/ |
abstract.h | 596 PyAPI_FUNC(void) PyBuffer_FillContiguousStrides(int ndims, [all...] |
/prebuilts/python/darwin-x86/2.7.5/include/python2.7/ |
abstract.h | 596 PyAPI_FUNC(void) PyBuffer_FillContiguousStrides(int ndims, [all...] |
/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
abstract.h | 596 PyAPI_FUNC(void) PyBuffer_FillContiguousStrides(int ndims, [all...] |