Home
last modified time | relevance | path

Searched refs:pImg (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dhistogram.cpp28 inline void addPixelToHistogram(unsigned char*& pImg, int* pHist, int numBins) { in addPixelToHistogram() argument
29 int R = *(pImg++); in addPixelToHistogram()
30 int G = *(pImg++); in addPixelToHistogram()
31 int B = *(pImg++); in addPixelToHistogram()
32 ++pImg; in addPixelToHistogram()
41 unsigned char* pImg = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterpacks_histogram_GrayHistogramFilter_extractHistogram() local
55 addPixelToHistogram(pImg, pHist, numBins); in Java_androidx_media_filterpacks_histogram_GrayHistogramFilter_extractHistogram()
61 pImg += 4; // Note that otherwise addPixelToHistogram advances pImg by 4 in Java_androidx_media_filterpacks_histogram_GrayHistogramFilter_extractHistogram()
65 addPixelToHistogram(pImg, pHist, numBins); in Java_androidx_media_filterpacks_histogram_GrayHistogramFilter_extractHistogram()
Dstats_scorer.cpp27 unsigned char* pImg = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterpacks_numeric_StatsFilter_score() local
33 float val = static_cast<float>(pImg[i]); in Java_androidx_media_filterpacks_numeric_StatsFilter_score()
47 unsigned char* pImg = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterpacks_numeric_StatsFilter_regionscore() local
59 float val = static_cast<float>(*(pImg + disp + x)); in Java_androidx_media_filterpacks_numeric_StatsFilter_regionscore()