Home | History | Annotate | Download | only in jni

Lines Matching refs:HR

252             ((gCenterOffsetX + panOffset) + gPreviewImageWidth[HR]) /
259 ((gCenterOffsetX + panOffset) + gPreviewImageWidth[HR]) /
364 gPreviewImageWidth[HR] = widthHR;
365 gPreviewImageHeight[HR] = heightHR;
376 gPreviewImage[HR] = ImageUtils::allocateImage(gPreviewImageWidth[HR],
377 gPreviewImageHeight[HR], 4);
378 ClearPreviewImage(HR);
381 gPreviewFBOWidth = PREVIEW_FBO_WIDTH_SCALE * gPreviewImageWidth[HR];
382 gPreviewFBOHeight = PREVIEW_FBO_HEIGHT_SCALE * gPreviewImageHeight[HR];
386 gCenterOffsetX = (gPreviewFBOWidth / 2 - gPreviewImageWidth[HR] / 2);
387 gCenterOffsetY = (gPreviewFBOHeight / 2 - gPreviewImageHeight[HR] / 2);
396 int w = gPreviewImageWidth[HR];
397 int h = gPreviewImageHeight[HR];
454 ImageUtils::freeImage(gPreviewImage[HR]);
483 gSurfTexRenderer[HR].InitializeGLProgram();
485 gYVURenderer[HR].InitializeGLProgram();
492 gBufferInput[HR].InitializeGLContext();
494 gBufferInputYVU[HR].InitializeGLContext();
555 gBufferInput[HR].Init(gPreviewImageWidth[HR],
556 gPreviewImageHeight[HR], GL_RGBA);
561 gBufferInputYVU[HR].Init(gPreviewImageWidth[HR],
562 gPreviewImageHeight[HR], GL_RGBA);
566 ClearPreviewImage(HR);
579 gSurfTexRenderer[HR].SetupGraphics(&gBufferInput[HR]);
580 gSurfTexRenderer[HR].Clear(0.0, 0.0, 0.0, 1.0);
581 gSurfTexRenderer[HR].SetViewportMatrix(1, 1, 1, 1);
582 gSurfTexRenderer[HR].SetScalingMatrix(1.0f, -1.0f);
583 gSurfTexRenderer[HR].SetInputTextureName(gSurfaceTextureID[0]);
584 gSurfTexRenderer[HR].SetInputTextureType(GL_TEXTURE_EXTERNAL_OES_ENUM);
591 gYVURenderer[HR].SetupGraphics(&gBufferInputYVU[HR]);
592 gYVURenderer[HR].Clear(0.0, 0.0, 0.0, 1.0);
593 gYVURenderer[HR].SetInputTextureName(gBufferInput[HR].GetTextureName());
594 gYVURenderer[HR].SetInputTextureType(GL_TEXTURE_2D);
604 // gBufferInput[HR] --> gWarper2 --> gBuffer[gCurrentFBOIndex]
607 gWarper2.SetViewportMatrix(gPreviewImageWidth[HR],
608 gPreviewImageHeight[HR], gBuffer[gCurrentFBOIndex].GetWidth(),
611 gWarper2.SetInputTextureName(gBufferInput[HR].GetTextureName());
631 gSurfTexRenderer[HR].SetSTMatrix((float*) stmat);
636 gSurfTexRenderer[HR].DrawTexture(g_dAffinetransIdentGL);
660 gYVURenderer[HR].DrawTexture();
676 // Bind to the input HR FBO and read the high-res data from there...
677 glBindFramebuffer(GL_FRAMEBUFFER, gBufferInputYVU[HR].GetFrameBufferName());
681 gBufferInput[HR].GetWidth(),
682 gBufferInput[HR].GetHeight(),
685 gPreviewImage[HR]);
687 checkGlError("glReadPixels HR");