/external/opencv3/apps/createsamples/ |
utility.cpp | 136 CvMat* mat, stub; local 141 mat = cvGetMat( sample, &stub ); 144 for( r = 0; r < mat->rows; r++ ) 146 for( c = 0; c < mat->cols; c++ ) 148 tmp = (short) (CV_MAT_ELEM( *mat, uchar, r, c )); 1081 CvMat mat; local 1093 mat = cvMat( data->winsize.height, data->winsize.width, CV_8UC1 ); 1094 cvSetData( &mat, (void*) (reader->img.data.ptr + reader->point.y * reader->img.step 1097 cvCopy( &mat, img, 0 ); [all...] |
/external/opencv3/modules/imgproc/test/ |
test_imgwarp.cpp | 57 void fill_array( int test_case_idx, int i, int j, Mat& arr ); 116 void CV_ImgWarpBaseTest::fill_array( int test_case_idx, int i, int j, Mat& arr ) 125 Mat& img = test_mat[INPUT][0]; 193 cv::Mat src(1, cols*cn, CV_32F, &buffer[0]); 194 cv::Mat dst(1, cols*cn, depth, ptr); 341 static void test_remap( const Mat& src, Mat& dst, const Mat& mapx, const Mat& mapy, 342 Mat* mask=0, int interpolation=CV_INTER_LINEAR 512 Mat& mat = test_mat[INPUT][1]; local 623 Mat& mat = test_mat[INPUT][1]; local 1322 Mat& mat = test_mat[INPUT][1]; local [all...] |
/external/opencv3/modules/photo/src/ |
seamless_cloning_impl.cpp | 48 void Cloning::computeGradientX( const Mat &img, Mat &gx) 50 Mat kernel = Mat::zeros(1, 3, CV_8S); 60 Mat tmp[3]; 69 void Cloning::computeGradientY( const Mat &img, Mat &gy) 71 Mat kernel = Mat::zeros(3, 1, CV_8S); 81 Mat tmp[3] [all...] |
/external/skia/src/svg/parser/ |
SkSVGPaintState.cpp | 209 SkString mat(str, strEnd - str); 210 SkSVGParser::ConvertToArray(mat); 212 SkParse::FindScalars(mat.c_str() + 1, values, 6);
|
/external/deqp/modules/gles2/functional/ |
es2fShaderMatrixTests.cpp | 25 * - mat OP mat 26 * - mat OP vec 27 * - vec OP mat 28 * - mat OP scalar 29 * - OP mat 407 tcu::Matrix<T, Rows, Cols> negate (const tcu::Matrix<T, Rows, Cols>& mat) 413 retVal(r,c) = -mat(r, c); 421 tcu::Matrix<T, Rows, Cols> increment (const tcu::Matrix<T, Rows, Cols>& mat) 427 retVal(r,c) = mat(r, c) + 1.0f [all...] |
/external/mesa3d/src/mesa/sparc/ |
norm.S | 22 /* o0=mat o1=scale o2=in o3=lengths o4=dest */ 32 LDPTR [%o0 + MAT_INV], %o0 ! o0 = mat->inv 161 /* o0=mat o1=scale o2=in o3=lengths o4=dest */ 171 LDPTR [%o0 + MAT_INV], %o0 ! o0 = mat->inv 270 /* o0=mat o1=scale o2=in o3=lengths o4=dest */ 276 LDPTR [%o0 + MAT_INV], %o0 ! o0 = mat->inv 321 /* o0=mat o1=scale o2=in o3=lengths o4=dest */ 327 LDPTR [%o0 + MAT_INV], %o0 ! o0 = mat->inv 386 /* o0=mat o1=scale o2=in o3=lengths o4=dest */ 387 LDPTR [%o0 + MAT_INV], %o0 ! o0 = mat->in [all...] |
/external/opencv3/modules/core/src/ |
matmul.cpp | 889 Mat A = matA.getMat(), B = matB.getMat(), C = beta != 0 ? matC.getMat() : Mat(); 927 Mat D = _matD.getMat(); 2513 const float* mat = icovar.ptr<float>(); local 2544 const double* mat = icovar.ptr<double>(); local 3241 Mat mat = _mat.getMat(); local [all...] |
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/ |
Collision.java | 232 public static float bt_mat3_dot_col(Matrix3 mat, Vector3 vec3, int colindex) { 233 return CollisionJNI.bt_mat3_dot_col(mat, vec3, colindex);
|
/external/opencv/cv/src/ |
_cvmatrix.h | 269 CV_INLINE void icvDetMatrix3x3_64d( const double* mat, double* det ) 271 #define m(y,x) mat[(y)*3 + (x)]
|
cvthresh.cpp | 214 if( !CV_IS_HIST(hist) || CV_IS_SPARSE_HIST(hist) || hist->mat.dims != 1 ) 218 count = hist->mat.dim[0].size;
|
/external/opencv3/modules/cudawarping/src/cuda/ |
resize.cu | 149 __host__ static void bind(const PtrStepSz<type>& mat) \ 151 bindTexture(&tex_resize_##type, mat); \ 170 TextureAccessor<T> texAccessor(const PtrStepSz<T>& mat, int yoff, int xoff) 172 TextureAccessor<T>::bind(mat);
|
/external/opencv3/modules/cudev/include/opencv2/cudev/ptr2d/detail/ |
gpumat.hpp | 164 __host__ void GpuMat_<T>::swap(GpuMat_& mat) 166 GpuMat::swap(mat);
|
/cts/apps/CameraITS/pymodules/its/ |
image.py | 575 def apply_matrix_to_image(img, mat): 582 [ mat ] * g -> g' 587 mat: Numpy 3x3 matrix. 595 img2.reshape(w*h*3)[:] = (numpy.dot(img.reshape(h*w, 3), mat.T) 756 mat x y 758 mat = numpy.array([[1,2,3],[4,5,6],[7,8,9]]) 760 y = apply_matrix_to_image(x, mat).reshape(3).tolist()
|
/external/ImageMagick/coders/ |
Make.com | 72 $call Make mat.c 155 jnx,json,hdr,label,cals,caption,palm,mac,magick,map,mat,matte,pango,rgf, -
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
vg_context.h | 181 struct matrix *mat);
|
mask.c | 426 struct matrix *mat = &ctx->state.vg.path_user_to_surface_matrix; local 432 renderer_validate_for_mask_rendering(ctx->renderer, surf, mat);
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_context.h | 320 struct radeon_state_atom mat[6]; member in struct:r100_hw_state
|
/external/opencv3/modules/stitching/src/ |
blenders.cpp | 82 Mat img = _img.getMat(); 83 Mat mask = _mask.getMat(); 84 Mat dst = dst_.getMat(ACCESS_RW); 85 Mat dst_mask = dst_mask_.getMat(ACCESS_RW); 131 Mat img = _img.getMat(); 132 Mat dst = dst_.getMat(ACCESS_RW); 138 Mat weight_map = weight_map_.getMat(ACCESS_READ); 139 Mat dst_weight_map = dst_weight_map_.getMat(ACCESS_RW); 178 Mat weights_sum(dst_roi.size(), CV_32F); 192 Mat tmp = weights_sum(roi) [all...] |
/external/skia/src/gpu/ |
GrClipMaskManager.cpp | 35 SkMatrix mat; local 38 mat.setIDiv(result->width(), result->height()); 39 mat.preTranslate(SkIntToScalar(-devBound.fLeft), 44 mat, [all...] |
GrPathUtils.cpp | 25 SkMatrix mat; local 26 mat.setTranslate((i % 2) ? pathBounds.fLeft : pathBounds.fRight, 28 mat.postConcat(viewM); 29 stretch = SkMaxScalar(stretch, mat.mapRadius(SK_Scalar1));
|
/external/opencv3/modules/video/src/ |
optflowgf.cpp | 116 FarnebackPolyExp( const Mat& src, Mat& dst, int n, double sigma ) 206 FarnebackPolyExpPyr( const Mat& src0, Vector<Mat>& pyr, int maxlevel, int n, double sigma ) 208 Vector<Mat> imgpyr; 217 FarnebackUpdateMatrices( const Mat& _R0, const Mat& _R1, const Mat& _flow, Mat& matM, int _y0, int _y1 ) 314 FarnebackUpdateFlow_Blur( const Mat& _R0, const Mat& _R1 [all...] |
/external/opencv3/modules/ml/src/ |
gbt.cpp | 59 int CvGBTrees::get_len(const CvMat* mat) const 61 return (mat->cols > mat->rows) ? mat->cols : mat->rows; [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
RVCVXCheckAnalyzer.java | 27 import org.opencv.core.Mat; 326 private static Mat cameraMatrix(float f, Size center) { 328 Mat m = new Mat(3,3, CvType.CV_64F); 799 Mat frame; 800 Mat gray = new Mat(); 817 Mat camMat = cameraMatrix(fc, new Size(frameSize.width/2, frameSize.height/2)); 822 Mat rvec = new MatOfFloat(); 823 Mat tvec = new MatOfFloat() 1198 private Mat mat; field in class:RVCVXCheckAnalyzer.VideoDecoderForOpenCV.MatBuffer [all...] |
/cts/tests/tests/rsblas/assets/ |
blas_gen.py | 59 a = mat(random.randint(1, 10, size=(m, n)).astype('f4')/scale) 64 a = mat(random.randint(1, 10, size=(m, n)).astype('f8')/scale) 69 a_real = mat(random.randint(1, 10, size=(m, n)).astype('f4')/scale) 70 a_img = mat(random.randint(1, 10, size=(m, n)).astype('f4')/scale) 76 a_real = mat(random.randint(1, 10, size=(m, n)).astype('f8')/scale) 77 a_img = mat(random.randint(1, 10, size=(m, n)).astype('f8')/scale)
|
/external/opencv3/modules/highgui/src/ |
window_gtk.cpp | 112 CvMat * mat, stub; local 120 mat = cvGetMat(arr, &stub); 122 if(widget->original_image && !CV_ARE_SIZES_EQ(mat, widget->original_image)){ 126 widget->original_image = cvCreateMat( mat->rows, mat->cols, CV_8UC3 ); 129 cvConvertImage( mat, widget->original_image, [all...] |