Home | History | Annotate | Download | only in test

Lines Matching full:hist

871         float* hist = blockHist + pk.histOfs[0];
872 float t0 = hist[h0] + a[0]*w;
873 float t1 = hist[h1] + a[1]*w;
874 hist[h0] = t0; hist[h1] = t1;
885 float* hist = blockHist + pk.histOfs[0];
887 t0 = hist[h0] + a0*w;
888 t1 = hist[h1] + a1*w;
889 hist[h0] = t0; hist[h1] = t1;
891 hist = blockHist + pk.histOfs[1];
893 t0 = hist[h0] + a0*w;
894 t1 = hist[h1] + a1*w;
895 hist[h0] = t0; hist[h1] = t1;
906 float* hist = blockHist + pk.histOfs[0];
908 t0 = hist[h0] + a0*w;
909 t1 = hist[h1] + a1*w;
910 hist[h0] = t0; hist[h1] = t1;
912 hist = blockHist + pk.histOfs[1];
914 t0 = hist[h0] + a0*w;
915 t1 = hist[h1] + a1*w;
916 hist[h0] = t0; hist[h1] = t1;
918 hist = blockHist + pk.histOfs[2];
920 t0 = hist[h0] + a0*w;
921 t1 = hist[h1] + a1*w;
922 hist[h0] = t0; hist[h1] = t1;
924 hist = blockHist + pk.histOfs[3];
926 t0 = hist[h0] + a0*w;
927 t1 = hist[h1] + a1*w;
928 hist[h0] = t0; hist[h1] = t1;
938 float* hist = &_hist[0], partSum[4] = { 0.0f, 0.0f, 0.0f, 0.0f };
943 partSum[0] += hist[i] * hist[i];
944 partSum[1] += hist[i+1] * hist[i+1];
945 partSum[2] += hist[i+2] * hist[i+2];
946 partSum[3] += hist[i+3] * hist[i+3];
952 sum += hist[i]*hist
958 hist[i] = std::min(hist[i]*scale, thresh);
959 hist[i+1] = std::min(hist[i+1]*scale, thresh);
960 hist[i+2] = std::min(hist[i+2]*scale, thresh);
961 hist[i+3] = std::min(hist[i+3]*scale, thresh);
962 partSum[0] += hist[i]*hist[i];
963 partSum[1] += hist[i+1]*hist[i+1];
964 partSum[2] += hist[i+2]*hist[i+2];
965 partSum[3] += hist[i+3]*hist[i+3];
972 hist[i] = std::min(hist[i]*scale, thresh);
973 sum += hist[i]*hist[i];
978 hist[i] *= scale;