Home
last modified time | relevance | path

Searched refs:srow (Results 1 – 16 of 16) sorted by relevance

/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/
DbtSliderConstraint.cpp364 int srow; in getInfo2NonVirtual() local
482 srow = nrow * info->rowskip; in getInfo2NonVirtual()
483 info->m_J1linearAxis[srow+0] = ax1[0]; in getInfo2NonVirtual()
484 info->m_J1linearAxis[srow+1] = ax1[1]; in getInfo2NonVirtual()
485 info->m_J1linearAxis[srow+2] = ax1[2]; in getInfo2NonVirtual()
486 info->m_J2linearAxis[srow+0] = -ax1[0]; in getInfo2NonVirtual()
487 info->m_J2linearAxis[srow+1] = -ax1[1]; in getInfo2NonVirtual()
488 info->m_J2linearAxis[srow+2] = -ax1[2]; in getInfo2NonVirtual()
503 info->m_J1angularAxis[srow+0] = tmpA[0]; in getInfo2NonVirtual()
504 info->m_J1angularAxis[srow+1] = tmpA[1]; in getInfo2NonVirtual()
[all …]
DbtGeneric6DofSpring2Constraint.cpp617 …Transform& transA,const btTransform& transB, btConstraintInfo2 *info, int srow, btVector3& ax1, in… in calculateJacobi() argument
622 J1[srow+0] = ax1[0]; in calculateJacobi()
623 J1[srow+1] = ax1[1]; in calculateJacobi()
624 J1[srow+2] = ax1[2]; in calculateJacobi()
626 J2[srow+0] = -ax1[0]; in calculateJacobi()
627 J2[srow+1] = -ax1[1]; in calculateJacobi()
628 J2[srow+2] = -ax1[2]; in calculateJacobi()
645 for (i=0; i<3; i++) info->m_J1angularAxis[srow+i] = tmpA[i]; in calculateJacobi()
646 for (i=0; i<3; i++) info->m_J2angularAxis[srow+i] = -tmpB[i]; in calculateJacobi()
657 int srow = row * info->rowskip; in get_limit_motor_info2() local
[all …]
DbtHingeConstraint.cpp545 int srow; in getInfo2Internal() local
567 srow = nrow * info->rowskip; in getInfo2Internal()
568 info->m_J1angularAxis[srow+0] = ax1[0]; in getInfo2Internal()
569 info->m_J1angularAxis[srow+1] = ax1[1]; in getInfo2Internal()
570 info->m_J1angularAxis[srow+2] = ax1[2]; in getInfo2Internal()
572 info->m_J2angularAxis[srow+0] = -ax1[0]; in getInfo2Internal()
573 info->m_J2angularAxis[srow+1] = -ax1[1]; in getInfo2Internal()
574 info->m_J2angularAxis[srow+2] = -ax1[2]; in getInfo2Internal()
582 info->m_constraintError[srow] = btScalar(0.0f); in getInfo2Internal()
588 info->cfm[srow] = m_normalCFM; in getInfo2Internal()
[all …]
DbtGeneric6DofConstraint.cpp778 int srow = row * info->rowskip; in get_limit_motor_info2() local
785 J1[srow+0] = ax1[0]; in get_limit_motor_info2()
786 J1[srow+1] = ax1[1]; in get_limit_motor_info2()
787 J1[srow+2] = ax1[2]; in get_limit_motor_info2()
789 J2[srow+0] = -ax1[0]; in get_limit_motor_info2()
790 J2[srow+1] = -ax1[1]; in get_limit_motor_info2()
791 J2[srow+2] = -ax1[2]; in get_limit_motor_info2()
823 for (i=0; i<3; i++) info->m_J1angularAxis[srow+i] = tmpA[i]; in get_limit_motor_info2()
824 for (i=0; i<3; i++) info->m_J2angularAxis[srow+i] = -tmpB[i]; in get_limit_motor_info2()
830 info->m_J1angularAxis[srow+0] = ltd[0]; in get_limit_motor_info2()
[all …]
DbtConeTwistConstraint.cpp165 int srow = row * info->rowskip; in getInfo2NonVirtual() local
177 int srow1 = srow + info->rowskip; in getInfo2NonVirtual()
178 J1[srow+0] = p[0]; in getInfo2NonVirtual()
179 J1[srow+1] = p[1]; in getInfo2NonVirtual()
180 J1[srow+2] = p[2]; in getInfo2NonVirtual()
184 J2[srow+0] = -p[0]; in getInfo2NonVirtual()
185 J2[srow+1] = -p[1]; in getInfo2NonVirtual()
186 J2[srow+2] = -p[2]; in getInfo2NonVirtual()
191 info->m_constraintError[srow] = fact * m_swingAxis.dot(p); in getInfo2NonVirtual()
193 info->m_lowerLimit[srow] = -SIMD_INFINITY; in getInfo2NonVirtual()
[all …]
DbtGeneric6DofSpring2Constraint.h317 …Transform& transA,const btTransform& transB, btConstraintInfo2* info, int srow, btVector3& ax1, in… in ATTRIBUTE_ALIGNED16()
/external/opencv3/modules/viz/src/vtk/
DvtkCloudMatSource.cpp195 const _Tp* srow = cloud.ptr<_Tp>(y); in filterNanCopy() local
196 const _Tp* send = srow + cloud.cols * s_chs; in filterNanCopy()
198 for (; srow != send; srow += s_chs) in filterNanCopy()
199 if (!isNan(srow)) in filterNanCopy()
200 points->SetPoint(total++, srow); in filterNanCopy()
217 const unsigned char* srow = cloud_colors.ptr<unsigned char>(y); in filterNanColorsCopy() local
218 const unsigned char* send = srow + cloud_colors.cols * s_chs; in filterNanColorsCopy()
223 for (; srow != send; srow += s_chs, mrow += m_chs) in filterNanColorsCopy()
225 *pos++ = Vec3b(srow[0], srow[0], srow[0]); in filterNanColorsCopy()
228 for (; srow != send; srow += s_chs, mrow += m_chs) in filterNanColorsCopy()
[all …]
DvtkImageMatSource.cpp111 const unsigned char *srow = source.ptr<unsigned char>(y); in copyGrayImage() local
113 drow[x] = *srow++; in copyGrayImage()
125 const unsigned char *srow = source.ptr<unsigned char>(y); in copyRGBImage() local
126 for (int x = 0; x < source.cols; ++x, srow += source.channels()) in copyRGBImage()
127 drow[x] = Vec3b(srow[2], srow[1], srow[0]); in copyRGBImage()
139 const unsigned char *srow = source.ptr<unsigned char>(y); in copyRGBAImage() local
140 for (int x = 0; x < source.cols; ++x, srow += source.channels()) in copyRGBAImage()
141 drow[x] = Vec4b(srow[2], srow[1], srow[0], srow[3]); in copyRGBAImage()
/external/opencv3/modules/imgproc/src/
Ddemosaicing.cpp947 const uchar* srow; in Bayer2RGB_VNG_8u() local
952 srow = bayer + (y+dy)*bstep + 1; in Bayer2RGB_VNG_8u()
963 for( ; i <= N-9; i += 8, srow += 8, brow += 8 ) in Bayer2RGB_VNG_8u()
967 s1 = _mm_unpacklo_epi8(_mm_loadl_epi64((__m128i*)(srow-1-bstep)),z); in Bayer2RGB_VNG_8u()
968 s2 = _mm_unpacklo_epi8(_mm_loadl_epi64((__m128i*)(srow-bstep)),z); in Bayer2RGB_VNG_8u()
969 s3 = _mm_unpacklo_epi8(_mm_loadl_epi64((__m128i*)(srow+1-bstep)),z); in Bayer2RGB_VNG_8u()
971 s4 = _mm_unpacklo_epi8(_mm_loadl_epi64((__m128i*)(srow-1)),z); in Bayer2RGB_VNG_8u()
972 s6 = _mm_unpacklo_epi8(_mm_loadl_epi64((__m128i*)(srow+1)),z); in Bayer2RGB_VNG_8u()
974 s7 = _mm_unpacklo_epi8(_mm_loadl_epi64((__m128i*)(srow-1+bstep)),z); in Bayer2RGB_VNG_8u()
975 s8 = _mm_unpacklo_epi8(_mm_loadl_epi64((__m128i*)(srow+bstep)),z); in Bayer2RGB_VNG_8u()
[all …]
/external/opencv3/modules/viz/src/
Dclouds.cpp300 const float *srow = cloud.ptr<float>(y); in WCloudNormals() local
301 const float *send = srow + cloud.cols * s_chs; in WCloudNormals()
304 for (; srow < send; srow += xstep * s_chs, nrow += xstep * n_chs) in WCloudNormals()
305 if (!isNan(srow) && !isNan(nrow)) in WCloudNormals()
307 Vec3f endp = Vec3f(srow) + Vec3f(nrow) * (float)scale; in WCloudNormals()
309 points->InsertNextPoint(srow); in WCloudNormals()
319 const double *srow = cloud.ptr<double>(y); in WCloudNormals() local
320 const double *send = srow + cloud.cols * s_chs; in WCloudNormals()
323 for (; srow < send; srow += xstep * s_chs, nrow += xstep * n_chs) in WCloudNormals()
324 if (!isNan(srow) && !isNan(nrow)) in WCloudNormals()
[all …]
Dshapes.cpp777 const unsigned char *srow = image.getMat().ptr<unsigned char>(y); in ensureColorImage() local
778 const unsigned char *send = srow + color.cols; in ensureColorImage()
779 for(;srow < send;) in ensureColorImage()
780 *drow++ = Vec3b::all(*srow++); in ensureColorImage()
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/
Dreduce_to_row.hpp85 volatile work_type* srow = smem + threadIdx.y * BLOCK_SIZE_X; in reduceToRow() local
87 myVal = srow[threadIdx.x]; in reduceToRow()
88 blockReduce<BLOCK_SIZE_X>(srow, myVal, threadIdx.x, op); in reduceToRow()
91 srow[0] = myVal; in reduceToRow()
/external/chromium-trace/catapult/catapult_base/catapult_base/refactor/
Doffset_token.py70 token_type, string, (srow, scol), _, _ = next_token
75 if erow == srow:
79 token_type, string, (srow - erow, scol)))
/external/opencv3/modules/video/src/
Doptflowgf.cpp422 const float** srow = (const float**)&_srow[0]; in FarnebackUpdateFlow_GaussianBlur() local
455 srow[m-i] = matM.ptr<float>(std::max(y-i,0)); in FarnebackUpdateFlow_GaussianBlur()
456 srow[m+i] = matM.ptr<float>(std::min(y+i,height-1)); in FarnebackUpdateFlow_GaussianBlur()
465 const float *sptr0 = srow[m], *sptr1; in FarnebackUpdateFlow_GaussianBlur()
476 sptr0 = srow[m+i], sptr1 = srow[m-i]; in FarnebackUpdateFlow_GaussianBlur()
496 const float *sptr0 = srow[m], *sptr1; in FarnebackUpdateFlow_GaussianBlur()
502 sptr0 = srow[m+i], sptr1 = srow[m-i]; in FarnebackUpdateFlow_GaussianBlur()
513 float s0 = srow[m][x]*kernel[0]; in FarnebackUpdateFlow_GaussianBlur()
515 s0 += (srow[m+i][x] + srow[m-i][x])*kernel[i]; in FarnebackUpdateFlow_GaussianBlur()
/external/opencv3/modules/imgproc/test/
Dtest_imgwarp_strict.cpp543 const uchar* srow = _src.ptr(dy); in resize_1d() local
544 memcpy(_extended_src_row.ptr() + elemsize * ksize, srow, _src.step); in resize_1d()
547 memcpy(_extended_src_row.ptr() + k * elemsize, srow, elemsize); in resize_1d()
548 …memcpy(_extended_src_row.ptr() + (ksize + k) * elemsize + _src.step, srow + _src.step - elemsize, … in resize_1d()
/external/chromium-trace/catapult/third_party/Paste/paste/util/
DPySourceColor.py1330 srow, scol = srow_col
1334 newpos = self.lines[srow] + scol