Lines Matching refs:y
88 jbyte* y = (jbyte*)env->GetDirectBufferAddress(yBuf); in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative() local
94 (unsigned char*)y, yPStride, yRStride, // in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative()
128 for (int y = 0; y < height; y++) { in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap() local
129 char* srcPtr = reinterpret_cast<char*>(&src[y * rStride]); in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap()
130 char* dstPtr = &dst[y * width]; in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap()
139 for (int y = 0; y < height; y++) { in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap() local
141 int srcX = height - 1 - y; in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap()
143 dst[y * width + x] = src[srcX * pStride + rStride * srcY]; in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap()
148 for (int y = 0; y < height; y++) { in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap() local
151 int srcY = height - 1 - y; in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap()
152 dst[y * width + x] = src[srcX * pStride + rStride * srcY]; in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap()
157 for (int y = 0; y < height; y++) { in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap() local
159 int srcX = y; in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap()
161 dst[y * width + x] = src[srcX * pStride + rStride * srcY]; in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap()