Searched refs:pImg (Results 1 – 2 of 2) sorted by relevance
28 inline void addPixelToHistogram(unsigned char*& pImg, int* pHist, int numBins) { in addPixelToHistogram() argument29 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() local55 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()
27 unsigned char* pImg = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterpacks_numeric_StatsFilter_score() local33 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() local59 float val = static_cast<float>(*(pImg + disp + x)); in Java_androidx_media_filterpacks_numeric_StatsFilter_regionscore()