Searched defs:cols (Results 1 - 25 of 357) sorted by last modified time

1234567891011>>

/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/aztec/ ...
/external/valgrind/main/drd/tests/
H A Dmatinv.c36 int cols; member in struct:gj_threadinfo
56 static elem_t* new_matrix(const int rows, const int cols) argument
59 assert(cols > 0);
60 return malloc(rows * cols * sizeof(elem_t));
70 static void init_matrix(elem_t* const a, const int rows, const int cols) argument
77 a[i * cols + j] = 1.0 / (1 + abs(i-j));
84 const elem_t* const a, const int rows, const int cols)
90 for (j = 0; j < cols; j++)
92 printf("%g ", a[i * cols + j]);
175 const int cols local
83 print_matrix(const char* const label, const elem_t* const a, const int rows, const int cols) argument
223 gj(elem_t* const a, const int rows, const int cols) argument
[all...]
H A Domp_matinv.c44 static elem_t* new_matrix(const int rows, const int cols) argument
47 assert(cols > 0);
48 return malloc(rows * cols * sizeof(elem_t));
58 static void init_matrix(elem_t* const a, const int rows, const int cols) argument
65 a[i * cols + j] = 1.0 / (1 + abs(i-j));
72 const elem_t* const a, const int rows, const int cols)
78 for (j = 0; j < cols; j++)
80 printf("%g ", a[i * cols + j]);
158 static void gj(elem_t* const a, const int rows, const int cols) argument
169 if (a[k * cols
71 print_matrix(const char* const label, const elem_t* const a, const int rows, const int cols) argument
[all...]
/external/skia/samplecode/
H A DSampleWarp.cpp216 void init(const SkRect& bounds, int rows, int cols,
222 int cols() const { return fCols; } function in class:Mesh
268 void Mesh::init(const SkRect& bounds, int rows, int cols, argument
270 SkASSERT(rows > 0 && cols > 0);
274 fCols = cols;
277 fCount = (rows + 1) * (cols + 1);
282 fIndexCount = rows * cols * 6;
287 const SkScalar dy = bounds.height() / cols;
290 const SkScalar dty = texture.height() / cols;
293 for (int y = 0; y <= cols;
[all...]
/external/skia/src/images/
H A Dbmpdecoderhelper.cpp41 int cols = 0; local
56 cols = GetInt();
78 if (cols < 0 || cols > 256) {
82 if (cols == 0 && bpp_ <= 8) {
83 cols = 1 << bpp_;
85 if (bpp_ <= 8 || cols > 0) {
90 if (cols > 0) {
91 if (pos_ + (cols * colLen) > len_) {
94 for (int i = 0; i < cols;
[all...]
/external/skia/src/utils/
H A DSkBoundaryPatch.cpp44 bool SkBoundaryPatch::evalPatch(SkPoint verts[], int rows, int cols) { argument
45 if (rows < 2 || cols < 2) {
50 const SkScalar invC = SkScalarInvert(SkIntToScalar(cols - 1));
52 for (int y = 0; y < cols; y++) {
H A DSkMeshUtils.cpp21 int texW, int texH, int rows, int cols) {
22 if (rows < 2 || cols < 2) {
34 fTexCount = rows * cols;
36 cols -= 1;
37 fIndexCount = rows * cols * 6;
53 for (int y = 0; y < cols; y++) {
73 const SkScalar dy = SkIntToScalar(texH) / cols;
74 for (int y = 0; y <= cols; y++) {
89 int rows, int cols, const SkPoint verts[],
93 if (idx.init(bitmap.width(), bitmap.height(), rows, cols)) {
20 init(SkPoint tex[], uint16_t indices[], int texW, int texH, int rows, int cols) argument
88 Draw(SkCanvas* canvas, const SkBitmap& bitmap, int rows, int cols, const SkPoint verts[], const SkColor colors[], const SkPaint& paint) argument
[all...]
/external/skia/include/utils/
H A DSkMeshUtils.h23 bool init(int texW, int texH, int rows, int cols) { argument
24 return this->init(NULL, NULL, texW, texH, rows, cols);
28 int texW, int texH, int rows, int cols);
45 static void Draw(SkCanvas*, const SkBitmap&, int rows, int cols,
/external/replicaisland/src/com/replica/replicaisland/
H A DTiledWorld.java35 public TiledWorld(int cols, int rows) { argument
37 mTilesArray = new int[cols][rows];
39 mColCount = cols;
41 for (int x = 0; x < cols; x++) {
/external/robolectric/lib/main/
H A Dsqlite-jdbc-3.7.2.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META-INF/maven/org. ...
/external/qemu/distrib/sdl-1.2.15/src/video/
H A DSDL_yuv_mmx.c83 int rows, int cols, int mod )
88 unsigned char* y = lum +cols*rows; // Pointer to the end
91 row2 = (Uint32 *)out+cols+mod; // start of second row
92 mod = (mod+cols+mod)*4; // increment for row1 in byte
125 // L2=lum+cols
223 "addl %4,%2\n" // lum += cols
234 "r"(row1),"r"(cols),"r"(row2),"m"(x),"m"(y),"m"(mod),
244 int rows, int cols, int mod )
249 unsigned char* y = lum +cols*rows; /* Pointer to the end */
252 row2 = (Uint16 *)out+cols
80 ColorRGBDitherYV12MMX1X( int *colortab, Uint32 *rgb_2_pix, unsigned char *lum, unsigned char *cr, unsigned char *cb, unsigned char *out, int rows, int cols, int mod ) argument
241 Color565DitherYV12MMX1X( int *colortab, Uint32 *rgb_2_pix, unsigned char *lum, unsigned char *cr, unsigned char *cb, unsigned char *out, int rows, int cols, int mod ) argument
[all...]
H A DSDL_yuv_sw.c110 int rows, int cols, int mod );
114 int rows, int cols, int mod );
128 int rows, int cols, int mod );
132 int rows, int cols, int mod );
138 int rows, int cols, int mod )
147 int cols_2 = cols / 2;
150 row2 = row1 + cols + mod;
151 lum2 = lum + cols;
153 mod += cols + mod;
198 lum += cols;
135 Color16DitherYV12Mod1X( int *colortab, Uint32 *rgb_2_pix, unsigned char *lum, unsigned char *cr, unsigned char *cb, unsigned char *out, int rows, int cols, int mod ) argument
205 Color24DitherYV12Mod1X( int *colortab, Uint32 *rgb_2_pix, unsigned char *lum, unsigned char *cr, unsigned char *cb, unsigned char *out, int rows, int cols, int mod ) argument
289 Color32DitherYV12Mod1X( int *colortab, Uint32 *rgb_2_pix, unsigned char *lum, unsigned char *cr, unsigned char *cb, unsigned char *out, int rows, int cols, int mod ) argument
364 Color16DitherYV12Mod2X( int *colortab, Uint32 *rgb_2_pix, unsigned char *lum, unsigned char *cr, unsigned char *cb, unsigned char *out, int rows, int cols, int mod ) argument
437 Color24DitherYV12Mod2X( int *colortab, Uint32 *rgb_2_pix, unsigned char *lum, unsigned char *cr, unsigned char *cb, unsigned char *out, int rows, int cols, int mod ) argument
535 Color32DitherYV12Mod2X( int *colortab, Uint32 *rgb_2_pix, unsigned char *lum, unsigned char *cr, unsigned char *cb, unsigned char *out, int rows, int cols, int mod ) argument
612 Color16DitherYUY2Mod1X( int *colortab, Uint32 *rgb_2_pix, unsigned char *lum, unsigned char *cr, unsigned char *cb, unsigned char *out, int rows, int cols, int mod ) argument
656 Color24DitherYUY2Mod1X( int *colortab, Uint32 *rgb_2_pix, unsigned char *lum, unsigned char *cr, unsigned char *cb, unsigned char *out, int rows, int cols, int mod ) argument
706 Color32DitherYUY2Mod1X( int *colortab, Uint32 *rgb_2_pix, unsigned char *lum, unsigned char *cr, unsigned char *cb, unsigned char *out, int rows, int cols, int mod ) argument
754 Color16DitherYUY2Mod2X( int *colortab, Uint32 *rgb_2_pix, unsigned char *lum, unsigned char *cr, unsigned char *cb, unsigned char *out, int rows, int cols, int mod ) argument
798 Color24DitherYUY2Mod2X( int *colortab, Uint32 *rgb_2_pix, unsigned char *lum, unsigned char *cr, unsigned char *cb, unsigned char *out, int rows, int cols, int mod ) argument
854 Color32DitherYUY2Mod2X( int *colortab, Uint32 *rgb_2_pix, unsigned char *lum, unsigned char *cr, unsigned char *cb, unsigned char *out, int rows, int cols, int mod ) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
H A DSDL_x11wm.c145 XColor cols[256]; local
147 cols[i].pixel = i;
148 XQueryColors(GFX_Display, dcmap, cols, 256);
150 got[i].r = cols[i].red >> 8;
151 got[i].g = cols[i].green >> 8;
152 got[i].b = cols[i].blue >> 8;
155 cols + i)) {
/external/qemu/qapi-auto-generated/
H A Dqapi-types.h2983 int64_t cols; member in struct:ChardevVC
/external/qemu-pc-bios/vgabios/
H A Dvgabios.c1192 static void vgamem_copy_pl4(xstart,ysrc,ydest,cols,nbcols,cheight)
1193 Bit8u xstart;Bit8u ysrc;Bit8u ydest;Bit8u cols;Bit8u nbcols;Bit8u cheight;
1203 memcpyb(0xa000,dest+i*nbcols,0xa000,src+i*nbcols,cols);
1209 static void vgamem_fill_pl4(xstart,ystart,cols,nbcols,cheight,attr)
1210 Bit8u xstart;Bit8u ystart;Bit8u cols;Bit8u nbcols;Bit8u cheight;Bit8u attr;
1219 memsetb(0xa000,dest+i*nbcols,attr,cols);
1225 static void vgamem_copy_cga(xstart,ysrc,ydest,cols,nbcols,cheight)
1226 Bit8u xstart;Bit8u ysrc;Bit8u ydest;Bit8u cols;Bit8u nbcols;Bit8u cheight;
1236 memcpyb(0xb800,0x2000+dest+(i>>1)*nbcols,0xb800,0x2000+src+(i>>1)*nbcols,cols);
1238 memcpyb(0xb800,dest+(i>>1)*nbcols,0xb800,src+(i>>1)*nbcols,cols);
1265 Bit8u mode,line,cheight,bpp,cols; local
2649 Bit16u crtc_addr,cols,page,vde; local
[all...]
/external/ppp/pppd/
H A Dsys-linux.c1504 char *cols[ROUTE_MAX_COLS], *p; local
1514 cols[col] = strtok(p, route_delims);
1515 if (cols[col] == NULL)
1520 SIN_ADDR(rt->rt_dst) = strtoul(cols[route_dest_col], NULL, 16);
1521 SIN_ADDR(rt->rt_gateway) = strtoul(cols[route_gw_col], NULL, 16);
1522 SIN_ADDR(rt->rt_genmask) = strtoul(cols[route_mask_col], NULL, 16);
1524 rt->rt_flags = (short) strtoul(cols[route_flags_col], NULL, 16);
1525 rt->rt_dev = cols[route_dev_col];
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dfindbugs.jarMETA-INF/ META-INF/MANIFEST.MF default.xsl edu/ edu/umd/ edu/umd/cs/ edu/ ...
/external/pdfium/core/src/fpdfapi/fpdf_parser/
H A Dfpdf_parser_filters.cpp442 CPDF_PredictorFilter::CPDF_PredictorFilter(int predictor, int colors, int bpc, int cols) argument
450 m_Pitch = (colors * bpc * cols + 7) / 8;
/external/pdfium/core/src/fxcodec/codec/
H A Dfx_codec_fax.cpp839 static void _FaxEncode2DLine(FX_LPBYTE dest_buf, int& dest_bitpos, FX_LPCBYTE src_buf, FX_LPCBYTE ref_buf, int cols) argument
843 int a1 = _FindBit(src_buf, cols, a0 + 1, 1 - a0color);
845 _FaxG4FindB1B2(ref_buf, cols, a0, a0color, b1, b2);
877 int a2 = _FindBit(src_buf, cols, a1 + 1, a0color);
889 if (a0 >= cols) {
/external/opencv/cv/include/
H A Dcvcompat.h110 CV_INLINE CvMat cvMatArray( int rows, int cols, int type, argument
113 return cvMat( rows*count, cols, type, data );
390 *hullsize = hull1.cols;
511 return linesMat.cols;
524 return linesMat.cols;
536 return linesMat.cols;
/external/opencv/cv/src/
H A Dcvadapthresh.cpp53 int i, j, rows, cols; local
67 cols = src->cols;
72 CV_CALL( mean = cvCreateMat( rows, cols, CV_8UC1 ));
92 for( j = 0; j < cols; j++ )
H A Dcvhough.cpp111 width = img->cols;
244 w = img->cols;
511 width = image->cols;
789 if( !CV_IS_MAT_CONT( mat->type ) || (mat->rows != 1 && mat->cols != 1) )
798 mat->rows + mat->cols - 1, &lines_header, &lines_block ));
830 if( mat->cols > mat->rows )
831 mat->cols = lines->total;
869 int rows, cols, arows, acols; local
876 CV_CALL( edges = cvCreateMat( img->rows, img->cols, CV_8UC1 ));
879 CV_CALL( dx = cvCreateMat( img->rows, img->cols, CV_16SC
[all...]
H A Dcvimgwarp.cpp1108 CV_MAT_DEPTH(matrix->type) < CV_32F || matrix->rows != 2 || matrix->cols != 3 )
1165 ofs = (int*)cvStackAlloc( dst->cols*2*sizeof(ofs[0]) );
1166 for( k = 0; k < dst->cols; k++ )
1386 CV_MAT_DEPTH(matrix->type) < CV_32F || matrix->rows != 3 || matrix->cols != 3 )
1799 int x, y, cols = src->cols, rows = src->rows; local
1806 __m128i br = _mm_set1_epi32((cols-2) + ((rows-2)<<16));
1836 for( ; x <= cols - 8; x += 8 )
1840 // 0|0|0|0|... <= x0|y0|x1|y1|... < cols-1|rows-1|cols
2109 int x, y, cols = mapx->cols, rows = mapx->rows; local
[all...]
H A Dcvmorph.cpp229 _ksize.width == element->cols && _ksize.height == element->rows) )
384 int i, j, cols, rows; local
396 anchor.x = element->cols/2;
401 if( (unsigned)anchor.x >= (unsigned)element->cols ||
409 cols = element->cols;
411 if( rows == 1 || cols == 1 )
417 c = cols/2;
427 j2 = cols;
437 j2 = MIN( c + dx + 1, cols );
726 cvCreateStructuringElementEx( int cols, int rows, int anchorX, int anchorY, int shape, int *values ) argument
[all...]
H A Dcvstereogc.cpp444 int k, x, y, rows = left->rows, cols = left->cols; local
460 for( x = 0; x < cols; x++, dptr += 3 )
470 if( x < cols-1 )
489 int x, y, x1, d, i, j, rows = state->left->rows, cols = state->left->cols, n = 0; local
499 for( x = 0; x < cols; x++ )
504 if( (unsigned)x1 >= (unsigned)cols )
528 int x, y, rows = state->left->rows, cols = state->left->cols; local
666 int k, a, d, d1, x, y, x1, y1, rows = state->left->rows, cols = state->left->cols; local
[all...]

Completed in 919 milliseconds

1234567891011>>