Code example for SurfaceTexture

Methods: getTransformMatrixupdateTexImage

0
                params.setAutoExposureLock(true);
                //mCamera.setParameters(params); 
                mStartCaptureTime = 0;
            } 
 
            mSurfaceTexture.updateTexImage();
            mSurfaceTexture.getTransformMatrix(mCameraTransform);
 
            // display it here 
        } 
    } 
 
    public synchronized boolean hasNewFrame() { 
        return mNewFrameAvailable;
    } 
 
    public synchronized void endCapture() { 
        mIsOpen = false;
        if (mCamera != null) {
            mCamera.release();
Experience pair programming with AI  Get Codota for Java