- 31 Aug, 2017 1 commit
-
-
Alexander Alekhin authored
-
- 23 Aug, 2017 1 commit
-
-
Aleksandr Rybnikov authored
-
- 19 Jul, 2017 1 commit
-
-
Alexander Alekhin authored
-
- 22 Jun, 2017 1 commit
-
-
likan999 authored
Previous commit, 6f39f9a6, tries to fix the color issue for emulator. But the condition for detecting emulator is incomplete, e.g. it stops working for emulators using Google Play, whose Build.BRAND=="google". https://stackoverflow.com/a/21505193 shows a more accurate condition for this.
-
- 15 Jun, 2017 1 commit
-
-
abratchik authored
-
- 18 Mar, 2017 1 commit
-
-
Kerry Billingham authored
* Introduced OSGi Blueprint XML file and Bean class too automatically load the native library. * Introduced integration testing module to deploy to Karaf OSGi implementation. * Clears library executable stack flag during build. * Updated README document.
-
- 07 Mar, 2017 1 commit
-
-
Kuan-Yi Li authored
-
- 03 Mar, 2017 2 commits
-
-
Philipp Hasper authored
Synchronizing against non-final fields is advised against.
-
Jose Gómez authored
* Use the YV12 format in the Android emulator to avoid image issues * Removed trailing spaces * Added exception in else case * Removed tab
-
- 30 Dec, 2016 1 commit
-
-
utibenkei authored
-
- 19 Dec, 2016 1 commit
-
-
Alexander Alekhin authored
3.2.0-rc
-
- 15 Dec, 2016 1 commit
-
-
Alexander Alekhin authored
(2.4) Backports from master branch (#7854)
-
- 16 Sep, 2016 1 commit
-
-
Alexander Alekhin authored
-
- 11 Jul, 2016 1 commit
-
-
Jan Starzynski authored
-
- 13 Apr, 2016 1 commit
-
-
Philipp Hasper authored
They were issued for every frame retrieved - even in a release build.
-
- 18 Dec, 2015 2 commits
-
-
Maksim Shabunin authored
-
Maksim Shabunin authored
-
- 29 Oct, 2015 1 commit
-
-
Maksim Shabunin authored
-
- 20 Oct, 2015 1 commit
-
-
Maksim Shabunin authored
-
- 08 Oct, 2015 1 commit
-
-
Andrey Pavlenko authored
-
- 07 Oct, 2015 1 commit
-
-
Andrey Pavlenko authored
refactored; added Camera2, notify callbacks, front/back maxCamera sizes; disable new stuff if target API < 21
-
- 01 Oct, 2015 1 commit
-
-
Philipp Hasper authored
Corrected typo and unused imports
-
- 22 Sep, 2015 1 commit
-
-
Alexander Alekhin authored
-
- 19 Sep, 2015 1 commit
-
-
Andrey Pavlenko authored
a simple sample will look like: ```java public class MainActivity extends Activity implements CameraGLSurfaceView.CameraTextureListener { CameraGLSurfaceView mView; ByteBuffer buf; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); getWindow().setFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON, WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); mView = new CameraGLSurfaceView(this, null); mView.setCameraTextureListener(this); setContentView(mView); buf = ByteBuffer.allocateDirect(1920*1080*4); } @Override protected void onPause() { mView.onPause(); super.onPause(); } @Override protected void onResume() { super.onResume(); mView.onResume(); } @Override public void onCameraViewStarted(int width, int height) { // TODO Auto-generated method stub } @Override public void onCameraViewStopped() { // TODO Auto-generated method stub } @Override public boolean onCameraFrame(int texIn, int texOut, int width, int height) { Log.i("MAIN", "onCameraFrame"); int w=width, h=height; /* // option 1: // just return 'false' to display texIn on screen retutn false; */ /* // option 2: // fast copy texIn to texOut GLES20.glActiveTexture(GLES20.GL_TEXTURE0); GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, texOut); GLES20.glCopyTexImage2D(GLES20.GL_TEXTURE_2D, 0, GLES20.GL_RGBA, 0, 0, w, h, 0); return true; */ // option 3: // read, modify and write back pixels GLES20.glReadPixels(0, 0, w, h, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, buf); buf.rewind(); // red line for(int i=0; i<h; i++) { buf.position(w*4*i+i*4); buf.put((byte) -1); buf.position(w*4*i+i*4+4); buf.put((byte) -1); } buf.rewind(); GLES20.glActiveTexture(GLES20.GL_TEXTURE0); GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, texOut); GLES20.glTexSubImage2D(GLES20.GL_TEXTURE_2D, 0, 0, 0, w, h, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, buf); return true; } } ```
-
- 29 Jul, 2015 1 commit
-
-
Evgeny Talanin authored
-
- 19 Jun, 2015 1 commit
-
-
Maksim Shabunin authored
Android: renamed default library name for static and dynamic fallback load; fixed libz import for 64-bit platforms
-
- 03 Jun, 2015 1 commit
-
-
Maksim Shabunin authored
-
- 02 Jun, 2015 1 commit
-
-
Maksim Shabunin authored
-
- 26 May, 2015 2 commits
-
-
Andrey Pavlenko authored
-
Andrey Pavlenko authored
-
- 23 May, 2015 1 commit
-
-
aletheios authored
-
- 24 Apr, 2015 1 commit
-
-
Simon Heinen authored
Update android+AsyncServiceHelper.java Update android+AsyncServiceHelper.java changed tabs in last commit to spaces Update android+AsyncServiceHelper.java small formatting fixes
-
- 17 Apr, 2015 2 commits
-
-
Maksim Shabunin authored
-
Maksim Shabunin authored
-
- 02 Apr, 2015 2 commits
-
-
Simon Heinen authored
small formatting fixes
-
Simon Heinen authored
changed tabs in last commit to spaces
-
- 19 Mar, 2015 1 commit
-
-
Maksim Shabunin authored
-
- 02 Mar, 2015 1 commit
-
-
Maksim Shabunin authored
-
- 24 Feb, 2015 1 commit
-
-
Alexander Alekhin authored
1) Fixed deadlock if camera is started and stopped immediately 2) Invalid pattern usage of Object.wait(). Refer to "spurious wakeup": http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait 3) Fixed buffer usage: a) fix eliminates processing of zero NV12 (green in RGB) first frame b) latest ready frame is delivered for processing (not previous)
-
- 20 Feb, 2015 1 commit
-
-
Alexander Smorkalov authored
-