Searched defs:elem_size (Results 1 - 25 of 27) sorted by relevance

12

/external/e2fsprogs/lib/ext2fs/
H A Dalloc_tables.c39 int elem_size)
47 size = rem_grp * elem_size;
57 elem_size))
71 if (ext2fs_get_free_blocks2(fs, start_blk, last_blk, elem_size,
75 if (ext2fs_get_free_blocks2(fs, 0, last_blk, elem_size, bmap,
37 flexbg_offset(ext2_filsys fs, dgrp_t group, blk64_t start_blk, ext2fs_block_bitmap bmap, int rem_grp, int elem_size) argument
/external/mesa3d/src/egl/main/
H A Deglarray.c190 _eglFlattenArray(_EGLArray *array, void *buffer, EGLint elem_size, EGLint size, argument
205 (void *) ((char *) buffer + elem_size * i));
/external/compiler-rt/lib/asan/
H A Dasan_malloc_win.cc96 void *_recalloc(void *p, size_t n, size_t elem_size) { argument
98 return calloc(n, elem_size);
99 const size_t size = n * elem_size;
100 if (elem_size != 0 && size / elem_size != n)
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dradeon_tile.c198 const unsigned elem_size = 16; /* sizeof(uint128_t) */ local
204 memcpy(dst, src, width * elem_size);
205 dst += dst_pitch * elem_size;
206 src += src_pitch * elem_size;
422 const unsigned elem_size = 16; /* sizeof(uint128_t) */ local
428 memcpy(dst, src, width * elem_size);
429 dst += dst_pitch * elem_size;
430 src += src_pitch * elem_size;
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_tile.c198 const unsigned elem_size = 16; /* sizeof(uint128_t) */ local
204 memcpy(dst, src, width * elem_size);
205 dst += dst_pitch * elem_size;
206 src += src_pitch * elem_size;
422 const unsigned elem_size = 16; /* sizeof(uint128_t) */ local
428 memcpy(dst, src, width * elem_size);
429 dst += dst_pitch * elem_size;
430 src += src_pitch * elem_size;
/external/opencv/cxcore/src/
H A Dcxdxt.cpp221 icvDFTInit( int n0, int nf, int* factors, int* itab, int elem_size, void* _wave, int inv_itab ) argument
247 if( elem_size == sizeof(CvComplex64f) )
368 if( elem_size == sizeof(CvComplex64f) )
395 assert( elem_size == sizeof(CvComplex32f) );
1574 int len, int elem_size )
1582 if( elem_size == sizeof(int) )
1587 else if( elem_size == sizeof(int)*2 )
1595 else if( elem_size == sizeof(int)*4 )
1611 int len, int elem_size )
1619 if( elem_size
[all...]
H A Dcxlogic.cpp198 int elem_size, elem_size1, type, depth; local
260 elem_size = CV_ELEM_SIZE(type);
283 dy = CV_MAX_LOCAL_SIZE/(elem_size*size.height);
289 buf_size = dstbuf.step ? dstbuf.step*dy : size.width*elem_size;
300 copym_func = icvGetCopyMaskFunc( elem_size );
322 cvSize(tsize.width*elem_size, tsize.height), buf, elem_size1 ));
350 int type, elem_size; local
428 elem_size = CV_ELEM_SIZE(type);
450 dy = CV_MAX_LOCAL_SIZE/(elem_size*size.height);
456 buf_size = dstbuf.step ? dstbuf.step*dy : size.width*elem_size;
[all...]
H A Dcxarithm.cpp425 int buf_size, elem_size; local
437 elem_size = CV_ELEM_SIZE(type);
439 dy = CV_MAX_LOCAL_SIZE/(elem_size*size.height);
445 buf_size = dstbuf.step ? dstbuf.step*dy : size.width*elem_size;
456 copym_func = icvGetCopyMaskFunc( elem_size );
669 int buf_size, elem_size; local
681 elem_size = CV_ELEM_SIZE(type);
683 dy = CV_MAX_LOCAL_SIZE/(elem_size*size.height);
689 buf_size = dstbuf.step ? dstbuf.step*dy : size.width*elem_size;
700 copym_func = icvGetCopyMaskFunc( elem_size );
897 int buf_size, elem_size; local
1141 int buf_size, elem_size; local
[all...]
H A Dcxconvert.cpp736 int depth = -1, elem_size = 1; local
808 elem_size = CV_ELEM_SIZE1(depth);
823 src_step[i] = mat->step / elem_size - size.width * cn;
830 dst_step[i] = mat->step / elem_size - size.width * cn;
874 sptr[i] = src0[a] + (cn - cn_arr[a])*elem_size;
880 dptr[i] = dst0[a] + (cn - cn_arr[a])*elem_size;
H A Dcxmatrix.cpp1769 int block_count0, block_count, buf_size, elem_size; local
1828 elem_size = CV_ELEM_SIZE(avg->type);
1831 buf_size = block_count0*len*((block_count0 > 1) + 1)*elem_size;
1847 tmp_data_ptr += block_count0*len*elem_size;
1906 int block_count0, block_count, buf_size, elem_size; local
1957 elem_size = CV_ELEM_SIZE(avg->type);
1959 buf_size = block_count0*len*(block_count0 > 1)*elem_size;
H A Dcxutils.cpp819 int cont_flag, arr_size, elem_size, cols, step; local
838 elem_size = CV_ELEM_SIZE(mat->type);
839 if( elem_size % sizeof_int == 0 && (cont_flag || step % sizeof_int == 0) )
843 elem_size /= sizeof_int;
859 int* p = idata + pair_buf[j]*elem_size, *q = idata + pair_buf[j+1]*elem_size, t;
860 for( k = 0; k < elem_size; k++ )
866 uchar* p = data + pair_buf[j]*elem_size, *q = data + pair_buf[j+1]*elem_size, t;
867 for( k = 0; k < elem_size;
[all...]
H A Dcxdatastructs.cpp56 ((block)->data + ((block)->count - 1)*((seq)->elem_size))
58 #define CV_SWAP_ELEMS(a,b,elem_size) \
61 for( k = 0; k < elem_size; k++ ) \
445 cvCreateSeq( int seq_flags, int header_size, int elem_size, CvMemStorage * storage ) argument
455 if( header_size < (int)sizeof( CvSeq ) || elem_size <= 0 )
469 typesize != 0 && typesize != elem_size )
474 seq->elem_size = elem_size;
477 CV_CALL( cvSetSeqBlockSize( seq, (1 << 10)/elem_size ));
490 int elem_size; local
569 int elem_size; local
645 int elem_size, total; local
685 cvMakeSeqHeaderForArray( int seq_flags, int header_size, int elem_size, void *array, int total, CvSeq *seq, CvSeqBlock * block ) argument
753 int elem_size = seq->elem_size; local
959 cvStartWriteSeq( int seq_flags, int header_size, int elem_size, CvMemStorage * storage, CvSeqWriter * writer ) argument
1186 int elem_size; local
1222 int elem_size, count, total; local
1317 size_t elem_size; local
1354 int elem_size; local
1388 int elem_size; local
1427 int elem_size; local
1460 int elem_size; local
1585 int elem_size; local
1681 int elem_size; local
1849 int elem_size, count, length; local
1951 int elem_size = seq->elem_size; local
2004 int i, elem_size, total, from_total; local
2164 int elem_size; local
2459 int elem_size, i, j, total; local
2563 int elem_size; local
2759 cvCreateSet( int set_flags, int header_size, int elem_size, CvMemStorage * storage ) argument
2801 int elem_size = set->elem_size; local
3363 int i, total, elem_size; local
3399 int total, elem_size, index; local
[all...]
H A Dcxmatmul.cpp1105 int elem_size = CV_ELEM_SIZE(type); local
1114 int work_elem_size = elem_size << (CV_MAT_DEPTH(type) == CV_32F ? 1 : 0);
1121 a_step0 = A->step, a_step1 = elem_size;
1123 a_step0 = elem_size, a_step1 = A->step;
1126 b_step0 = b_step, b_step1 = elem_size;
1128 b_step0 = elem_size, b_step1 = b_step;
1136 c_step0 = C->step, c_step1 = elem_size;
1138 c_step0 = elem_size, c_step1 = C->step;
1152 b_buf_size = (dk0+dk0/8+1)*dk0_1*elem_size;
1157 a_buf_size = (dm0+dm0/8+1)*((dk0+dk0/8+2)&-2)*elem_size;
[all...]
H A Dcxpersistence.cpp198 cvCreateMap( int flags, int header_size, int elem_size, argument
213 CV_CALL( map = (CvGenericHash*)cvCreateSet( flags, header_size, elem_size, storage ));
304 CV_NEXT_SEQ_ELEM( seq->elem_size, reader );
3120 int elem_size = CV_ELEM_SIZE(elem_type); local
3123 offset = cvAlign( offset, elem_size );
3248 int elem_size = CV_ELEM_SIZE(elem_type); local
3252 offset = cvAlign( offset, elem_size );
3402 int elem_size = node->data.seq->elem_size; local
3416 CV_NEXT_SEQ_ELEM( elem_size, reade
4292 int elem_size, header_size = sizeof(CvSeq); local
4553 int elem_size = data->elem_size; local
4744 int elem_size = k == 0 ? vtx_size : edge_size; local
[all...]
/external/libpcap/
H A Dpcap-dos.h124 int elem_size; /* size of each element */ member in struct:rx_ringbuf
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_context.c617 const void *elements, unsigned elem_size)
619 assert(elem_size == 0 ||
620 elem_size == 1 ||
621 elem_size == 2 ||
622 elem_size == 4);
624 draw->pt.user.eltSizeIB = elem_size;
616 draw_set_indexes(struct draw_context *draw, const void *elements, unsigned elem_size) argument
/external/opencv/cv/src/
H A Dcvfloodfill.cpp1079 int elem_size = CV_ELEM_SIZE(type); local
1080 const uchar* seed_ptr = img->data.ptr + img->step*seed_point.y + elem_size*seed_point.x;
1086 for( i = 0; i < elem_size; i++ )
1089 if( i < elem_size )
H A Dcvpyramids.cpp1179 int i, elem_size, layer_step; local
1189 elem_size = CV_ELEM_SIZE(src->type);
1209 layer_step = layer_size.width*elem_size;
1238 layer_step = layer_size.width*elem_size;
H A Dcvsubdivision2d.cpp116 memset( subdiv_point, 0, subdiv->elem_size );
573 int elem_size; local
586 elem_size = subdiv->edges->elem_size;
595 CV_NEXT_SEQ_ELEM( elem_size, reader );
600 elem_size = subdiv->elem_size;
613 CV_NEXT_SEQ_ELEM( elem_size, reader );
627 int i, total, elem_size; local
641 elem_size
[all...]
H A Dcvcalibration.cpp495 int depth, elem_size; local
508 elem_size = CV_ELEM_SIZE(depth);
532 int step = src->rows > 1 ? src->step / elem_size : 1;
616 int step = dst->rows > 1 ? dst->step / elem_size : 1;
H A Dcvfundam.cpp1037 int plane_stride, stride, elem_size; local
1104 elem_size = CV_ELEM_SIZE(depth);
1110 stride = elem_size;
1114 plane_stride = elem_size;
1115 stride = points->rows == 1 ? dims*elem_size : points->step;
1315 int s_plane_stride, s_stride, d_plane_stride, d_stride, elem_size; local
1324 elem_size = CV_ELEM_SIZE(src->type);
1327 s_plane_stride = src->step / elem_size, s_stride = 1;
1329 s_stride = src->step / elem_size, s_plane_stride = 1;
1332 d_plane_stride = dst->step / elem_size, d_strid
[all...]
H A Dcvlkpyramid.cpp87 int pyrBytes, bufferBytes = 0, elem_size; local
129 elem_size = CV_ELEM_SIZE(imgA->type);
137 int tstep = cvAlign(levelSize.width,ALIGN) * elem_size;
141 assert( pyrBytes <= imgSize.width * imgSize.height * elem_size * 4 / 3 );
190 step[0][i] = cvAlign( levelSize.width, ALIGN ) * elem_size;
/external/mesa3d/src/gallium/drivers/r600/
H A Dr600_asm.h124 unsigned elem_size; member in struct:r600_bytecode_output
/external/v8/test/cctest/compiler/
H A Dtest-run-machops.cc3859 Node* elem_size = m.ConvertInt32ToIntPtr(m.Int32Constant(sizeof(inputs[0]))); local
3862 input = m.IntPtrAdd(input, elem_size);
3863 output = m.IntPtrSub(output, elem_size);
/external/kernel-headers/original/uapi/linux/
H A Dvideodev2.h1353 __u32 elem_size; member in struct:v4l2_query_ext_ctrl

Completed in 1415 milliseconds

12