• Home
  • Raw
  • Download

Lines Matching refs:width

59 int width=0, height=0;  variable
209 void YUV420toYVU24(ImageType yvu24, ImageType yuv420sp, int width, int height) in YUV420toYVU24() argument
211 int frameSize = width * height; in YUV420toYVU24()
220 int uvp = frameSize + (j >> 1) * width; in YUV420toYVU24()
221 for (int i = 0; i < width; i++, yp++) in YUV420toYVU24()
239 void YUV420toYVU24_NEW(ImageType yvu24, ImageType yuv420sp, int width, in YUV420toYVU24_NEW() argument
242 int frameSize = width * height; in YUV420toYVU24_NEW()
253 int uvp = frameSize + (j >> 1) * width; in YUV420toYVU24_NEW()
254 ovp = yvu24 + frameSize + j * width; in YUV420toYVU24_NEW()
259 for (int i = 0; i < width; i += 2) in YUV420toYVU24_NEW()
271 memcpy(ovp, ovp - width, width * sizeof(unsigned char)); in YUV420toYVU24_NEW()
272 memcpy(oup, oup - width, width * sizeof(unsigned char)); in YUV420toYVU24_NEW()
278 JNIEnv* env, jobject thiz, jint width, jint height) in Java_com_android_camera_panorama_Mosaic_allocateMosaicMemory() argument
280 tWidth[HR] = width; in Java_com_android_camera_panorama_Mosaic_allocateMosaicMemory()
282 tWidth[LR] = int(width / H2L_FACTOR); in Java_com_android_camera_panorama_Mosaic_allocateMosaicMemory()
309 void decodeYUV444SP(unsigned char* rgb, unsigned char* yuv420sp, int width, in decodeYUV444SP() argument
312 int frameSize = width * height; in decodeYUV444SP()
316 int vp = frameSize + j * width, u = 0, v = 0; in decodeYUV444SP()
319 for (int i = 0; i < width; i++, yp++, vp++, up++) in decodeYUV444SP()
337 int p = j*width*3+i*3; in decodeYUV444SP()
347 void ConvertYVUAiToPlanarYVU(unsigned char *planar, unsigned char *in, int width, in ConvertYVUAiToPlanarYVU() argument
350 int planeSize = width * height; in ConvertYVUAiToPlanarYVU()
575 int width = mosaicWidth; in Java_com_android_camera_panorama_Mosaic_getFinalMosaic() local
577 int imageSize = width * height; in Java_com_android_camera_panorama_Mosaic_getFinalMosaic()
584 LOGV("MosBytes: %d, W = %d, H = %d", imageSize, width, height); in Java_com_android_camera_panorama_Mosaic_getFinalMosaic()
591 for(x=0; x<width; x++) in Java_com_android_camera_panorama_Mosaic_getFinalMosaic()
593 image[y*width+x] = (0xFF<<24) | (resultBGR[y*width*3+x*3+2]<<16)| in Java_com_android_camera_panorama_Mosaic_getFinalMosaic()
594 (resultBGR[y*width*3+x*3+1]<<8)| (resultBGR[y*width*3+x*3]); in Java_com_android_camera_panorama_Mosaic_getFinalMosaic()
598 dims[0] = width; in Java_com_android_camera_panorama_Mosaic_getFinalMosaic()
620 int width; in Java_com_android_camera_panorama_Mosaic_getFinalMosaicNV21() local
623 width = mosaicWidth; in Java_com_android_camera_panorama_Mosaic_getFinalMosaicNV21()
626 int imageSize = 1.5*width * height; in Java_com_android_camera_panorama_Mosaic_getFinalMosaicNV21()
640 LOGV("MosBytes: %d, W = %d, H = %d", imageSize, width, height); in Java_com_android_camera_panorama_Mosaic_getFinalMosaicNV21()
644 dims[0] = (unsigned char)(width >> 24); in Java_com_android_camera_panorama_Mosaic_getFinalMosaicNV21()
645 dims[1] = (unsigned char)(width >> 16); in Java_com_android_camera_panorama_Mosaic_getFinalMosaicNV21()
646 dims[2] = (unsigned char)(width >> 8); in Java_com_android_camera_panorama_Mosaic_getFinalMosaicNV21()
647 dims[3] = (unsigned char)width; in Java_com_android_camera_panorama_Mosaic_getFinalMosaicNV21()