Home
last modified time | relevance | path

Searched refs:sptr (Results 1 – 25 of 82) sorted by relevance

1234

/external/libjpeg-turbo/
Djmemmgr.c621 jvirt_sarray_ptr sptr; in realize_virt_arrays() local
630 for (sptr = mem->virt_sarray_list; sptr != NULL; sptr = sptr->next) { in realize_virt_arrays()
631 if (sptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays()
632 space_per_minheight += (long) sptr->maxaccess * in realize_virt_arrays()
633 (long) sptr->samplesperrow * sizeof(JSAMPLE); in realize_virt_arrays()
634 maximum_space += (long) sptr->rows_in_array * in realize_virt_arrays()
635 (long) sptr->samplesperrow * sizeof(JSAMPLE); in realize_virt_arrays()
671 for (sptr = mem->virt_sarray_list; sptr != NULL; sptr = sptr->next) { in realize_virt_arrays()
672 if (sptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays()
673 minheights = ((long) sptr->rows_in_array - 1L) / sptr->maxaccess + 1L; in realize_virt_arrays()
[all …]
/external/opencv3/3rdparty/libjpeg/
Djmemmgr.c590 jvirt_sarray_ptr sptr; in realize_virt_arrays() local
599 for (sptr = mem->virt_sarray_list; sptr != NULL; sptr = sptr->next) { in realize_virt_arrays()
600 if (sptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays()
601 space_per_minheight += (long) sptr->maxaccess * in realize_virt_arrays()
602 (long) sptr->samplesperrow * SIZEOF(JSAMPLE); in realize_virt_arrays()
603 maximum_space += (long) sptr->rows_in_array * in realize_virt_arrays()
604 (long) sptr->samplesperrow * SIZEOF(JSAMPLE); in realize_virt_arrays()
640 for (sptr = mem->virt_sarray_list; sptr != NULL; sptr = sptr->next) { in realize_virt_arrays()
641 if (sptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays()
642 minheights = ((long) sptr->rows_in_array - 1L) / sptr->maxaccess + 1L; in realize_virt_arrays()
[all …]
/external/pdfium/third_party/libjpeg/
Dfpdfapi_jmemmgr.c591 jvirt_sarray_ptr sptr; in realize_virt_arrays() local
600 for (sptr = mem->virt_sarray_list; sptr != NULL; sptr = sptr->next) { in realize_virt_arrays()
601 if (sptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays()
602 space_per_minheight += (long) sptr->maxaccess * in realize_virt_arrays()
603 (long) sptr->samplesperrow * SIZEOF(JSAMPLE); in realize_virt_arrays()
604 maximum_space += (long) sptr->rows_in_array * in realize_virt_arrays()
605 (long) sptr->samplesperrow * SIZEOF(JSAMPLE); in realize_virt_arrays()
641 for (sptr = mem->virt_sarray_list; sptr != NULL; sptr = sptr->next) { in realize_virt_arrays()
642 if (sptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays()
643 minheights = ((long) sptr->rows_in_array - 1L) / sptr->maxaccess + 1L; in realize_virt_arrays()
[all …]
/external/opencv/cv/src/
Dcvmorph.cpp540 const arrtype* sptr = src[1] + i; \
541 worktype s0 = sptr[0], s1 = sptr[1], \
542 s2 = sptr[2], s3 = sptr[3], t0, t1; \
546 sptr = src[k] + i; \
547 t0 = sptr[0]; t1 = sptr[1]; \
550 t0 = sptr[2]; t1 = sptr[3]; \
555 sptr = src[0] + i; \
556 t0 = sptr[0]; t1 = sptr[1]; \
561 t0 = sptr[2]; t1 = sptr[3]; \
567 sptr = src[k] + i; \
[all …]
Dcvfilter.cpp443 uchar *sptr = 0, *dptr; in process() local
538 sptr = src->data.ptr + src_y1*src->step + src_x*pix_size; in process()
545 delta = fill_cyclic_buffer( sptr, src->step, src_y, src_y1, src_y2 ); in process()
548 sptr += src->step*delta; in process()
1296 const int* sptr = src[0] + i, *sptr2; in icvFilterColSymm_32s8u() local
1297 int s0 = f*sptr[0], s1 = f*sptr[1], s2 = f*sptr[2], s3 = f*sptr[3]; in icvFilterColSymm_32s8u()
1300 sptr = src[k] + i; in icvFilterColSymm_32s8u()
1303 s0 += f*(sptr[0] + sptr2[0]); in icvFilterColSymm_32s8u()
1304 s1 += f*(sptr[1] + sptr2[1]); in icvFilterColSymm_32s8u()
1305 s2 += f*(sptr[2] + sptr2[2]); in icvFilterColSymm_32s8u()
[all …]
Dcvimgwarp.cpp1906 const uchar* sptr = sptr0 + sstep*yi + xi; in icvRemapFixedPt_8u() local
1908 dptr[x] = (uchar)((sptr[0]*a[0] + sptr[1]*a[1] + sptr[sstep]*a[2] + in icvRemapFixedPt_8u()
1909 sptr[sstep+1]*a[3])>>CV_REMAP_SHIFT*2); in icvRemapFixedPt_8u()
1925 const uchar* sptr = sptr0 + sstep*yi + xi*3; in icvRemapFixedPt_8u() local
1928 v0 = (sptr[0]*a[0] + sptr[3]*a[1] + in icvRemapFixedPt_8u()
1929 sptr[sstep]*a[2] + sptr[sstep+3]*a[3])>>CV_REMAP_SHIFT*2; in icvRemapFixedPt_8u()
1930 v1 = (sptr[1]*a[0] + sptr[4]*a[1] + in icvRemapFixedPt_8u()
1931 sptr[sstep+1]*a[2] + sptr[sstep+4]*a[3])>>CV_REMAP_SHIFT*2; in icvRemapFixedPt_8u()
1932 v2 = (sptr[2]*a[0] + sptr[5]*a[1] + in icvRemapFixedPt_8u()
1933 sptr[sstep+2]*a[2] + sptr[sstep+5]*a[3])>>CV_REMAP_SHIFT*2; in icvRemapFixedPt_8u()
[all …]
Dcvsegmentation.cpp401 uchar* sptr = src->data.ptr; in cvPyrMeanShiftFiltering() local
439 for( i = 0; i < size.height; i++, sptr += sstep - size.width*3, in cvPyrMeanShiftFiltering()
443 for( j = 0; j < size.width; j++, sptr += 3, dptr += 3 ) in cvPyrMeanShiftFiltering()
451 c0 = sptr[0], c1 = sptr[1], c2 = sptr[2]; in cvPyrMeanShiftFiltering()
468 ptr = sptr + (miny - i)*sstep + (minx - j)*3; in cvPyrMeanShiftFiltering()
/external/opencv3/modules/imgproc/src/
Dmorph.cpp192 const uchar* sptr = src[1] + i; in operator ()() local
193 __m128i s0 = _mm_load_si128((const __m128i*)sptr); in operator ()()
194 __m128i s1 = _mm_load_si128((const __m128i*)(sptr + 16)); in operator ()()
199 sptr = src[k] + i; in operator ()()
200 x0 = _mm_load_si128((const __m128i*)sptr); in operator ()()
201 x1 = _mm_load_si128((const __m128i*)(sptr + 16)); in operator ()()
206 sptr = src[0] + i; in operator ()()
207 x0 = _mm_load_si128((const __m128i*)sptr); in operator ()()
208 x1 = _mm_load_si128((const __m128i*)(sptr + 16)); in operator ()()
212 sptr = src[k] + i; in operator ()()
[all …]
/external/opencv3/modules/calib3d/src/
Dfundam.cpp899 const Point3i* sptr = src.ptr<Point3i>(); in convertPointsFromHomogeneous() local
903 float scale = sptr[i].z != 0 ? 1.f/sptr[i].z : 1.f; in convertPointsFromHomogeneous()
904 dptr[i] = Point2f(sptr[i].x*scale, sptr[i].y*scale); in convertPointsFromHomogeneous()
909 const Vec4i* sptr = src.ptr<Vec4i>(); in convertPointsFromHomogeneous() local
913 float scale = sptr[i][3] != 0 ? 1.f/sptr[i][3] : 1.f; in convertPointsFromHomogeneous()
914 dptr[i] = Point3f(sptr[i][0]*scale, sptr[i][1]*scale, sptr[i][2]*scale); in convertPointsFromHomogeneous()
922 const Point3f* sptr = src.ptr<Point3f>(); in convertPointsFromHomogeneous() local
926 float scale = sptr[i].z != 0.f ? 1.f/sptr[i].z : 1.f; in convertPointsFromHomogeneous()
927 dptr[i] = Point2f(sptr[i].x*scale, sptr[i].y*scale); in convertPointsFromHomogeneous()
932 const Vec4f* sptr = src.ptr<Vec4f>(); in convertPointsFromHomogeneous() local
[all …]
/external/webrtc/webrtc/common_audio/signal_processing/
Dget_scaling_square.c28 int16_t *sptr = in_vector; in WebRtcSpl_GetScalingSquare() local
34 sabs = (*sptr > 0 ? *sptr++ : -*sptr++); in WebRtcSpl_GetScalingSquare()
/external/libcxx/src/support/win32/
Dsupport.cpp20 int asprintf(char **sptr, const char *__restrict format, ...) in asprintf() argument
25 result = vasprintf(sptr, format, ap); in asprintf()
33 int vasprintf( char **sptr, const char *__restrict format, va_list ap ) in vasprintf() argument
35 *sptr = NULL; in vasprintf()
51 *sptr = p; in vasprintf()
/external/opencv3/modules/ts/src/
Dts_func.cpp306 const uchar* sptr = planes[0].ptr(); in convert() local
312 convertTo((const uchar*)sptr, dptr, dtype, total, alpha, beta); in convert()
315 convertTo((const schar*)sptr, dptr, dtype, total, alpha, beta); in convert()
318 convertTo((const ushort*)sptr, dptr, dtype, total, alpha, beta); in convert()
321 convertTo((const short*)sptr, dptr, dtype, total, alpha, beta); in convert()
324 convertTo((const int*)sptr, dptr, dtype, total, alpha, beta); in convert()
327 convertTo((const float*)sptr, dptr, dtype, total, alpha, beta); in convert()
330 convertTo((const double*)sptr, dptr, dtype, total, alpha, beta); in convert()
366 const uchar* sptr = planes[0].ptr(); in copy() local
370 for( j = 0; j < total; j++, sptr += elemSize, dptr += elemSize ) in copy()
[all …]
/external/libxml2/
Dchvalid.c170 const xmlChSRange *sptr; in xmlCharInRange() local
179 sptr = rptr->shortRange; in xmlCharInRange()
182 if ((unsigned short) val < sptr[mid].low) { in xmlCharInRange()
185 if ((unsigned short) val > sptr[mid].high) { in xmlCharInRange()
/external/compiler-rt/lib/ubsan/
Dubsan_type_hash.h26 sptr Offset;
30 DynamicTypeInfo(const char *MDTN, sptr Offset, const char *STN) in DynamicTypeInfo()
38 sptr getOffset() const { return Offset; } in getOffset()
Dubsan_type_hash_itanium.cc117 sptr Offset) { in isDerivedFromAtOffset()
135 sptr OffsetHere = VTI->base_info[base].__offset_flags >> in isDerivedFromAtOffset()
154 const abi::__class_type_info *Derived, sptr Offset) { in findBaseAtOffset()
169 sptr OffsetHere = VTI->base_info[base].__offset_flags >> in findBaseAtOffset()
190 sptr Offset;
/external/opencv3/modules/imgproc/test/
Dtest_bilateral_filter.cpp183 const float* sptr = temp.ptr<float>(i+radius) + radius*cn; in reference_bilateral_filter() local
191 float val0 = sptr[j]; in reference_bilateral_filter()
194 float val = sptr[j + space_ofs[k]]; in reference_bilateral_filter()
211 float b0 = sptr[j], g0 = sptr[j+1], r0 = sptr[j+2]; in reference_bilateral_filter()
214 const float* sptr_k = sptr + j + space_ofs[k]; in reference_bilateral_filter()
/external/llvm/test/Feature/
Dtestalloca.ll13 %sptr = alloca %struct ; <%struct*> [#uses=2]
14 … %nsptr = getelementptr %struct, %struct* %sptr, i64 0, i32 1 ; <%inners*> [#uses=1]
18 …%fptr = getelementptr %struct, %struct* %sptr, i64 0, i32 1, i32 0 ; <float*> [#uses…
/external/opencv/cxcore/src/
Dcxutils.cpp720 const float* sptr = s->data.fl; in cvNormalize() local
727 v = sptr[i]; in cvNormalize()
735 v = fabs((double)sptr[i]); in cvNormalize()
741 v = fabs((double)sptr[i]); in cvNormalize()
747 dptr[i] = (float)(sptr[i]*norm); in cvNormalize()
753 const double* sptr = s->data.db; in cvNormalize() local
760 v = sptr[i]; in cvNormalize()
768 v = fabs(sptr[i]); in cvNormalize()
774 v = fabs(sptr[i]); in cvNormalize()
780 dptr[i] = sptr[i]*norm; in cvNormalize()
[all …]
/external/compiler-rt/lib/asan/
Dasan_malloc_linux.cc33 sptr off = (sptr)ptr - (sptr)calloc_memory_for_dlsym; in IsInCallocPool()
34 return 0 <= off && off < (sptr)kCallocPoolSize; in IsInCallocPool()
Dasan_allocator.h62 bool AddrIsInside(uptr addr, uptr access_size, sptr *offset) { in AddrIsInside()
69 bool AddrIsAtLeft(uptr addr, uptr access_size, sptr *offset) { in AddrIsAtLeft()
77 bool AddrIsAtRight(uptr addr, uptr access_size, sptr *offset) { in AddrIsAtRight()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_unwind_linux_libcdep.cc41 typedef sptr (*unwind_backtrace_signal_arch_func)(
142 sptr res = unwind_backtrace_signal_arch(/* siginfo */ 0, context, map, in SlowUnwindStackWithContext()
152 for (sptr i = 0; i < res; ++i) in SlowUnwindStackWithContext()
/external/iw/
Dibss.c29 char *value = NULL, *sptr = NULL; in join_ibss() local
136 value = strtok_r(argv[0], ",", &sptr); in join_ibss()
148 value = strtok_r(NULL, ",", &sptr); in join_ibss()
/external/opencv3/modules/core/perf/
Dperf_cvround.cpp14 const T * sptr = src.ptr<T>(y); in CvRoundMat() local
18 dptr[x] = cvRound(sptr[x]); in CvRoundMat()
/external/clang/test/CodeGenObjCXX/
Darc-new-delete.mm64 void test_delete(__strong id *sptr, __weak id *wptr) {
70 delete sptr;
80 void test_array_delete(__strong id *sptr, __weak id *wptr) {
92 delete [] sptr;
/external/aac/libSYS/src/
Dwav_file.cpp265 SHORT *sptr = (SHORT*)buffer; in WAV_InputRead() local
293 *sptr++ = (SHORT) tmp; in WAV_InputRead()
303 sptr[i] = ulaw2pcm(bptr[i<<1]) ; in WAV_InputRead()
468 SHORT *sptr = (SHORT*)sampleBuffer; in WAV_OutputWrite() local
490 case 16: tmp = *sptr++; break; in WAV_OutputWrite()

1234