Lines Matching refs:HR
252 ((gCenterOffsetX + panOffset) + gPreviewImageWidth[HR]) / in continuePanningFBO()
259 ((gCenterOffsetX + panOffset) + gPreviewImageWidth[HR]) / in continuePanningFBO()
364 gPreviewImageWidth[HR] = widthHR; in AllocateTextureMemory()
365 gPreviewImageHeight[HR] = heightHR; in AllocateTextureMemory()
376 gPreviewImage[HR] = ImageUtils::allocateImage(gPreviewImageWidth[HR], in AllocateTextureMemory()
377 gPreviewImageHeight[HR], 4); in AllocateTextureMemory()
378 ClearPreviewImage(HR); in AllocateTextureMemory()
381 gPreviewFBOWidth = PREVIEW_FBO_WIDTH_SCALE * gPreviewImageWidth[HR]; in AllocateTextureMemory()
382 gPreviewFBOHeight = PREVIEW_FBO_HEIGHT_SCALE * gPreviewImageHeight[HR]; in AllocateTextureMemory()
386 gCenterOffsetX = (gPreviewFBOWidth / 2 - gPreviewImageWidth[HR] / 2); in AllocateTextureMemory()
387 gCenterOffsetY = (gPreviewFBOHeight / 2 - gPreviewImageHeight[HR] / 2); in AllocateTextureMemory()
396 int w = gPreviewImageWidth[HR]; in AllocateTextureMemory()
397 int h = gPreviewImageHeight[HR]; in AllocateTextureMemory()
454 ImageUtils::freeImage(gPreviewImage[HR]); in FreeTextureMemory()
483 gSurfTexRenderer[HR].InitializeGLProgram(); in Java_com_android_camera_panorama_MosaicRenderer_init()
485 gYVURenderer[HR].InitializeGLProgram(); in Java_com_android_camera_panorama_MosaicRenderer_init()
492 gBufferInput[HR].InitializeGLContext(); in Java_com_android_camera_panorama_MosaicRenderer_init()
494 gBufferInputYVU[HR].InitializeGLContext(); in Java_com_android_camera_panorama_MosaicRenderer_init()
555 gBufferInput[HR].Init(gPreviewImageWidth[HR], in Java_com_android_camera_panorama_MosaicRenderer_reset()
556 gPreviewImageHeight[HR], GL_RGBA); in Java_com_android_camera_panorama_MosaicRenderer_reset()
561 gBufferInputYVU[HR].Init(gPreviewImageWidth[HR], in Java_com_android_camera_panorama_MosaicRenderer_reset()
562 gPreviewImageHeight[HR], GL_RGBA); in Java_com_android_camera_panorama_MosaicRenderer_reset()
566 ClearPreviewImage(HR); in Java_com_android_camera_panorama_MosaicRenderer_reset()
579 gSurfTexRenderer[HR].SetupGraphics(&gBufferInput[HR]); in Java_com_android_camera_panorama_MosaicRenderer_reset()
580 gSurfTexRenderer[HR].Clear(0.0, 0.0, 0.0, 1.0); in Java_com_android_camera_panorama_MosaicRenderer_reset()
581 gSurfTexRenderer[HR].SetViewportMatrix(1, 1, 1, 1); in Java_com_android_camera_panorama_MosaicRenderer_reset()
582 gSurfTexRenderer[HR].SetScalingMatrix(1.0f, -1.0f); in Java_com_android_camera_panorama_MosaicRenderer_reset()
583 gSurfTexRenderer[HR].SetInputTextureName(gSurfaceTextureID[0]); in Java_com_android_camera_panorama_MosaicRenderer_reset()
584 gSurfTexRenderer[HR].SetInputTextureType(GL_TEXTURE_EXTERNAL_OES_ENUM); in Java_com_android_camera_panorama_MosaicRenderer_reset()
591 gYVURenderer[HR].SetupGraphics(&gBufferInputYVU[HR]); in Java_com_android_camera_panorama_MosaicRenderer_reset()
592 gYVURenderer[HR].Clear(0.0, 0.0, 0.0, 1.0); in Java_com_android_camera_panorama_MosaicRenderer_reset()
593 gYVURenderer[HR].SetInputTextureName(gBufferInput[HR].GetTextureName()); in Java_com_android_camera_panorama_MosaicRenderer_reset()
594 gYVURenderer[HR].SetInputTextureType(GL_TEXTURE_2D); in Java_com_android_camera_panorama_MosaicRenderer_reset()
607 gWarper2.SetViewportMatrix(gPreviewImageWidth[HR], in Java_com_android_camera_panorama_MosaicRenderer_reset()
608 gPreviewImageHeight[HR], gBuffer[gCurrentFBOIndex].GetWidth(), in Java_com_android_camera_panorama_MosaicRenderer_reset()
611 gWarper2.SetInputTextureName(gBufferInput[HR].GetTextureName()); in Java_com_android_camera_panorama_MosaicRenderer_reset()
631 gSurfTexRenderer[HR].SetSTMatrix((float*) stmat); in Java_com_android_camera_panorama_MosaicRenderer_preprocess()
636 gSurfTexRenderer[HR].DrawTexture(g_dAffinetransIdentGL); in Java_com_android_camera_panorama_MosaicRenderer_preprocess()
660 gYVURenderer[HR].DrawTexture(); in Java_com_android_camera_panorama_MosaicRenderer_transferGPUtoCPU()
677 glBindFramebuffer(GL_FRAMEBUFFER, gBufferInputYVU[HR].GetFrameBufferName()); in Java_com_android_camera_panorama_MosaicRenderer_transferGPUtoCPU()
681 gBufferInput[HR].GetWidth(), in Java_com_android_camera_panorama_MosaicRenderer_transferGPUtoCPU()
682 gBufferInput[HR].GetHeight(), in Java_com_android_camera_panorama_MosaicRenderer_transferGPUtoCPU()
685 gPreviewImage[HR]); in Java_com_android_camera_panorama_MosaicRenderer_transferGPUtoCPU()