¡@

Home 

2014/10/16 ¤W¤È 08:19:49

android Programming Glossary: mtx

setRotation(90) to take picture in portrait mode does not work on samsung devices

http://stackoverflow.com/questions/11023696/setrotation90-to-take-picture-in-portrait-mode-does-not-work-on-samsung-device

Modifying camera output using SurfaceTexture and OpenGL

http://stackoverflow.com/questions/12519235/modifying-camera-output-using-surfacetexture-and-opengl

GLES20.glClearColor 0.5f 0.5f 0.5f 1.0f delegate.startCamera texture public void onDrawFrame GL10 unused float mtx new float 16 GLES20.glClear GLES20.GL_COLOR_BUFFER_BIT GLES20.GL_DEPTH_BUFFER_BIT surface.updateTexImage surface.getTransformMatrix.. GLES20.GL_COLOR_BUFFER_BIT GLES20.GL_DEPTH_BUFFER_BIT surface.updateTexImage surface.getTransformMatrix mtx mDirectVideo.draw public void onSurfaceChanged GL10 unused int width int height GLES20.glViewport 0 0 width height static..

Android: How to rotate a bitmap on a center point

http://stackoverflow.com/questions/4166917/android-how-to-rotate-a-bitmap-on-a-center-point

not rotated around a fixed point but rather around the bitmaps 0 0 . Here is the code I am having troubles with Matrix mtx new Matrix mtx.reset mtx.preTranslate centerX centerY mtx.setRotate float direction centerX centerY mtx.postTranslate pivotX.. a fixed point but rather around the bitmaps 0 0 . Here is the code I am having troubles with Matrix mtx new Matrix mtx.reset mtx.preTranslate centerX centerY mtx.setRotate float direction centerX centerY mtx.postTranslate pivotX pivotY Bitmap.. point but rather around the bitmaps 0 0 . Here is the code I am having troubles with Matrix mtx new Matrix mtx.reset mtx.preTranslate centerX centerY mtx.setRotate float direction centerX centerY mtx.postTranslate pivotX pivotY Bitmap rotatedBMP..