Lines Matching refs:LR

59 // to the {0,gPreviewImageWidth[LR]} input image frame coordinate system before
367 gPreviewImageWidth[LR] = widthLR;
368 gPreviewImageHeight[LR] = heightLR;
373 gPreviewImage[LR] = ImageUtils::allocateImage(gPreviewImageWidth[LR],
374 gPreviewImageHeight[LR], 4);
375 ClearPreviewImage(LR);
453 ImageUtils::freeImage(gPreviewImage[LR]);
482 gSurfTexRenderer[LR].InitializeGLProgram();
484 gYVURenderer[LR].InitializeGLProgram();
491 gBufferInput[LR].InitializeGLContext();
493 gBufferInputYVU[LR].InitializeGLContext();
519 gUILayoutScalingX = ((float) (PREVIEW_FBO_WIDTH_SCALE * gPreviewImageWidth[LR])
520 / (PREVIEW_FBO_HEIGHT_SCALE * gPreviewImageHeight[LR]) * PREVIEW_FBO_HEIGHT_SCALE)
536 gUILayoutScalingY = ((float) (PREVIEW_FBO_WIDTH_SCALE * gPreviewImageWidth[LR])
537 / (PREVIEW_FBO_HEIGHT_SCALE * gPreviewImageHeight[LR]) * PREVIEW_FBO_HEIGHT_SCALE)
552 gBufferInput[LR].Init(gPreviewImageWidth[LR],
553 gPreviewImageHeight[LR], GL_RGBA);
558 gBufferInputYVU[LR].Init(gPreviewImageWidth[LR],
559 gPreviewImageHeight[LR], GL_RGBA);
565 ClearPreviewImage(LR);
572 gSurfTexRenderer[LR].SetupGraphics(&gBufferInput[LR]);
573 gSurfTexRenderer[LR].Clear(0.0, 0.0, 0.0, 1.0);
574 gSurfTexRenderer[LR].SetViewportMatrix(1, 1, 1, 1);
575 gSurfTexRenderer[LR].SetScalingMatrix(1.0f, -1.0f);
576 gSurfTexRenderer[LR].SetInputTextureName(gSurfaceTextureID[0]);
577 gSurfTexRenderer[LR].SetInputTextureType(GL_TEXTURE_EXTERNAL_OES_ENUM);
586 gYVURenderer[LR].SetupGraphics(&gBufferInputYVU[LR]);
587 gYVURenderer[LR].Clear(0.0, 0.0, 0.0, 1.0);
588 gYVURenderer[LR].SetInputTextureName(gBufferInput[LR].GetTextureName());
589 gYVURenderer[LR].SetInputTextureType(GL_TEXTURE_2D);
630 gSurfTexRenderer[LR].SetSTMatrix((float*) stmat);
635 gSurfTexRenderer[LR].DrawTexture(g_dAffinetransIdentGL);
659 gYVURenderer[LR].DrawTexture();
663 // Bind to the input LR FBO and read the Low-Res data from there...
664 glBindFramebuffer(GL_FRAMEBUFFER, gBufferInputYVU[LR].GetFrameBufferName());
668 gBufferInput[LR].GetWidth(),
669 gBufferInput[LR].GetHeight(),
672 gPreviewImage[LR]);
674 checkGlError("glReadPixels LR");