Lines Matching refs:sal_uInt32
51 bool sort( const float *pInput, sal_uInt32 nNumElements, sal_uInt32 dwStride );
53 inline sal_uInt32 *indices( void ) const { return m_indices1; } in indices()
59 sal_uInt32 m_current_size;
62 sal_uInt32 m_previous_size;
65 sal_uInt32 *m_indices1;
66 sal_uInt32 *m_indices2;
68 sal_uInt32 m_counter[256*4];
69 sal_uInt32 m_offset[256];
74 bool resize( sal_uInt32 nNumElements );
76 bool prepareCounters( const float *pInput, sal_uInt32 nNumElements, sal_uInt32 dwStride );
95 bool radixSort::resize( sal_uInt32 nNumElements ) { in resize()
109 m_indices1 = new sal_uInt32[nNumElements]; in resize()
110 m_indices2 = new sal_uInt32[nNumElements]; in resize()
135 for(sal_uInt32 i=0;i<m_current_size;i++) in reset_indices()
139 …bool radixSort::prepareCounters( const float *pInput, sal_uInt32 nNumElements, sal_uInt32 dwStride… in prepareCounters()
142 sal_uInt32 *ptr = m_counter; in prepareCounters()
166 sal_uInt32 *h0= &m_counter[0]; in prepareCounters()
167 sal_uInt32 *h1= &m_counter[256]; in prepareCounters()
168 sal_uInt32 *h2= &m_counter[512]; in prepareCounters()
169 sal_uInt32 *h3= &m_counter[768]; in prepareCounters()
171 sal_uInt32 *Indices = m_indices1; in prepareCounters()
199 bool radixSort::sort( const float *pInput, sal_uInt32 nNumElements, sal_uInt32 dwStride ) { in sort()
213 sal_uInt32 num_negatives = 0; in sort()
214 sal_uInt32 *h3= &m_counter[768]; in sort()
215 for(sal_uInt32 i=128;i<256;i++) in sort()
219 for(sal_uInt32 j=0;j<4;j++) { in sort()
223 sal_uInt32 *current_counter = &m_counter[j<<8]; in sort()
229 sal_uInt32 i; in sort()
236 sal_uInt32 *Indices = m_indices1; in sort()
237 sal_uInt32 *IndicesEnd = &m_indices1[nNumElements]; in sort()
240 sal_uInt32 id = *Indices++; in sort()
243 sal_uInt32 *Tmp = m_indices1; in sort()
259 sal_uInt32 Radix = (*(sal_uInt32 *)(((sal_uInt8 *)pInput)+(m_indices1[i]*dwStride)))>>24; in sort()
263 sal_uInt32 *Tmp = m_indices1; in sort()
271 sal_uInt32 *Tmp = m_indices1; in sort()
389 for( sal_uInt32 i(0), nCount(maPolyPolygon.count()); in init()
395 for( sal_uInt32 k(0), nVertices(rPoly.count()); in init()
575 sal_uInt32 *sorted = rs.indices(); in rasterConvert()
600 sal_uInt32 nIndex = sorted[i]; in rasterConvert()
601 sal_uInt32 nNextIndex = sorted[i+1]; in rasterConvert()
617 sal_uInt32 nPrevIndex = sorted[i-1]; in rasterConvert()
633 sal_uInt32 nIndex = sorted[i]; in rasterConvert()
634 sal_uInt32 nNextIndex = sorted[i+1]; in rasterConvert()
652 sal_uInt32 nPrevIndex = sorted[i-1]; in rasterConvert()
671 sal_uInt32 nIndex = sorted[nb-1]; in rasterConvert()
677 sal_uInt32 nPrevIndex = sorted[nb-2]; in rasterConvert()