Lines Matching refs:LR
367 gPreviewImageWidth[LR] = widthLR; in AllocateTextureMemory()
368 gPreviewImageHeight[LR] = heightLR; in AllocateTextureMemory()
373 gPreviewImage[LR] = ImageUtils::allocateImage(gPreviewImageWidth[LR], in AllocateTextureMemory()
374 gPreviewImageHeight[LR], 4); in AllocateTextureMemory()
375 ClearPreviewImage(LR); in AllocateTextureMemory()
453 ImageUtils::freeImage(gPreviewImage[LR]); in FreeTextureMemory()
482 gSurfTexRenderer[LR].InitializeGLProgram(); in Java_com_android_camera_panorama_MosaicRenderer_init()
484 gYVURenderer[LR].InitializeGLProgram(); in Java_com_android_camera_panorama_MosaicRenderer_init()
491 gBufferInput[LR].InitializeGLContext(); in Java_com_android_camera_panorama_MosaicRenderer_init()
493 gBufferInputYVU[LR].InitializeGLContext(); in Java_com_android_camera_panorama_MosaicRenderer_init()
519 gUILayoutScalingX = ((float) (PREVIEW_FBO_WIDTH_SCALE * gPreviewImageWidth[LR]) in calculateUILayoutScaling()
520 / (PREVIEW_FBO_HEIGHT_SCALE * gPreviewImageHeight[LR]) * PREVIEW_FBO_HEIGHT_SCALE) in calculateUILayoutScaling()
536 gUILayoutScalingY = ((float) (PREVIEW_FBO_WIDTH_SCALE * gPreviewImageWidth[LR]) in calculateUILayoutScaling()
537 / (PREVIEW_FBO_HEIGHT_SCALE * gPreviewImageHeight[LR]) * PREVIEW_FBO_HEIGHT_SCALE) in calculateUILayoutScaling()
552 gBufferInput[LR].Init(gPreviewImageWidth[LR], in Java_com_android_camera_panorama_MosaicRenderer_reset()
553 gPreviewImageHeight[LR], GL_RGBA); in Java_com_android_camera_panorama_MosaicRenderer_reset()
558 gBufferInputYVU[LR].Init(gPreviewImageWidth[LR], in Java_com_android_camera_panorama_MosaicRenderer_reset()
559 gPreviewImageHeight[LR], GL_RGBA); in Java_com_android_camera_panorama_MosaicRenderer_reset()
565 ClearPreviewImage(LR); in Java_com_android_camera_panorama_MosaicRenderer_reset()
572 gSurfTexRenderer[LR].SetupGraphics(&gBufferInput[LR]); in Java_com_android_camera_panorama_MosaicRenderer_reset()
573 gSurfTexRenderer[LR].Clear(0.0, 0.0, 0.0, 1.0); in Java_com_android_camera_panorama_MosaicRenderer_reset()
574 gSurfTexRenderer[LR].SetViewportMatrix(1, 1, 1, 1); in Java_com_android_camera_panorama_MosaicRenderer_reset()
575 gSurfTexRenderer[LR].SetScalingMatrix(1.0f, -1.0f); in Java_com_android_camera_panorama_MosaicRenderer_reset()
576 gSurfTexRenderer[LR].SetInputTextureName(gSurfaceTextureID[0]); in Java_com_android_camera_panorama_MosaicRenderer_reset()
577 gSurfTexRenderer[LR].SetInputTextureType(GL_TEXTURE_EXTERNAL_OES_ENUM); in Java_com_android_camera_panorama_MosaicRenderer_reset()
586 gYVURenderer[LR].SetupGraphics(&gBufferInputYVU[LR]); in Java_com_android_camera_panorama_MosaicRenderer_reset()
587 gYVURenderer[LR].Clear(0.0, 0.0, 0.0, 1.0); in Java_com_android_camera_panorama_MosaicRenderer_reset()
588 gYVURenderer[LR].SetInputTextureName(gBufferInput[LR].GetTextureName()); in Java_com_android_camera_panorama_MosaicRenderer_reset()
589 gYVURenderer[LR].SetInputTextureType(GL_TEXTURE_2D); in Java_com_android_camera_panorama_MosaicRenderer_reset()
630 gSurfTexRenderer[LR].SetSTMatrix((float*) stmat); in Java_com_android_camera_panorama_MosaicRenderer_preprocess()
635 gSurfTexRenderer[LR].DrawTexture(g_dAffinetransIdentGL); in Java_com_android_camera_panorama_MosaicRenderer_preprocess()
659 gYVURenderer[LR].DrawTexture(); in Java_com_android_camera_panorama_MosaicRenderer_transferGPUtoCPU()
664 glBindFramebuffer(GL_FRAMEBUFFER, gBufferInputYVU[LR].GetFrameBufferName()); in Java_com_android_camera_panorama_MosaicRenderer_transferGPUtoCPU()
668 gBufferInput[LR].GetWidth(), in Java_com_android_camera_panorama_MosaicRenderer_transferGPUtoCPU()
669 gBufferInput[LR].GetHeight(), in Java_com_android_camera_panorama_MosaicRenderer_transferGPUtoCPU()
672 gPreviewImage[LR]); in Java_com_android_camera_panorama_MosaicRenderer_transferGPUtoCPU()