Searched refs:numBins (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
D | histogram.cpp | 28 inline void addPixelToHistogram(unsigned char*& pImg, int* pHist, int numBins) { in addPixelToHistogram() argument 34 int bin = clamp(0, static_cast<int>(static_cast<float>(i * numBins) / 255.0f), numBins - 1); in addPixelToHistogram() 44 int numBins = env->GetDirectBufferCapacity(histogramBuffer); in Java_androidx_media_filterpacks_histogram_GrayHistogramFilter_extractHistogram() local 51 for(int i = 0; i < numBins; ++i) pHist[i] = 0; in Java_androidx_media_filterpacks_histogram_GrayHistogramFilter_extractHistogram() 55 addPixelToHistogram(pImg, pHist, numBins); in Java_androidx_media_filterpacks_histogram_GrayHistogramFilter_extractHistogram() 65 addPixelToHistogram(pImg, pHist, numBins); in Java_androidx_media_filterpacks_histogram_GrayHistogramFilter_extractHistogram()
|
/frameworks/av/media/libnblog/include/media/nblog/ |
D | PerformanceAnalysis.h | 48 const size_t numBins; member 70 Histogram(double binSize, size_t numBins, double low = 0.) 71 : mBinSize(binSize), mNumBins(numBins), mLow(low), mBins(mNumBins + 2) {} in mBinSize() 74 : Histogram(c.binSize, c.numBins, c.low) {} in Histogram()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | SignalDrawable.java | 147 int numBins = (packedState & NUM_LEVEL_MASK) >> NUM_LEVEL_SHIFT; in unpackLevel() local 148 int levelOffset = numBins == (CellSignalStrength.getNumSignalStrengthLevels() + 1) ? 10 : 0; in unpackLevel()
|