Searched refs:pixelPtr (Results 1 – 1 of 1) sorted by relevance
31 unsigned char* pixelPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterpacks_image_ToGrayValuesFilter_toGrayValues() local34 if (pixelPtr == 0 || grayPtr == 0) { in Java_androidx_media_filterpacks_image_ToGrayValuesFilter_toGrayValues()44 int R = *(pixelPtr + disp); in Java_androidx_media_filterpacks_image_ToGrayValuesFilter_toGrayValues()45 int G = *(pixelPtr + disp + 1); in Java_androidx_media_filterpacks_image_ToGrayValuesFilter_toGrayValues()46 int B = *(pixelPtr + disp + 2); in Java_androidx_media_filterpacks_image_ToGrayValuesFilter_toGrayValues()57 unsigned char* pixelPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterpacks_image_ToRgbValuesFilter_toRgbValues() local60 if (pixelPtr == 0 || rgbPtr == 0) { in Java_androidx_media_filterpacks_image_ToRgbValuesFilter_toRgbValues()71 *(rgbPtr + rgbDisp + c) = *(pixelPtr + pixelDisp + c); in Java_androidx_media_filterpacks_image_ToRgbValuesFilter_toRgbValues()