Java Code Examples for android.opengl.EGL14#eglQuerySurface()

The following examples show how to use android.opengl.EGL14#eglQuerySurface() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: EglCore.java    From TikTok with Apache License 2.0 4 votes vote down vote up
/**
 * Performs a simple surface query.
 */
public int querySurface(EGLSurface eglSurface, int what) {
    int[] value = new int[1];
    EGL14.eglQuerySurface(mEGLDisplay, eglSurface, what, value, 0);
    return value[0];
}
 
Example 2
Source File: EglCore.java    From Fatigue-Detection with MIT License 4 votes vote down vote up
/**
 * Performs a simple surface query.
 */
public int querySurface(EGLSurface eglSurface, int what) {
    int[] value = new int[1];
    EGL14.eglQuerySurface(mEGLDisplay, eglSurface, what, value, 0);
    return value[0];
}
 
Example 3
Source File: EGLBase.java    From Fatigue-Detection with MIT License 4 votes vote down vote up
public int querySurface(final EGLSurface eglSurface, final int what) {
    final int[] value = new int[1];
    EGL14.eglQuerySurface(mEglDisplay, eglSurface, what, value, 0);
    return value[0];
}
 
Example 4
Source File: EglBase14.java    From VideoCRE with MIT License 4 votes vote down vote up
@Override
public int surfaceHeight() {
  EGL14.eglQuerySurface(eglDisplay, eglSurface, EGL14.EGL_HEIGHT, heightArray, 0);
  return heightArray[0];
}
 
Example 5
Source File: EGLBase.java    From AudioVideoRecordingSample with Apache License 2.0 4 votes vote down vote up
public int querySurface(final EGLSurface eglSurface, final int what) {
    final int[] value = new int[1];
    EGL14.eglQuerySurface(mEglDisplay, eglSurface, what, value, 0);
    return value[0];
}
 
Example 6
Source File: EGLBase.java    From In77Camera with MIT License 4 votes vote down vote up
public int querySurface(final EGLSurface eglSurface, final int what) {
    final int[] value = new int[1];
    EGL14.eglQuerySurface(mEglDisplay, eglSurface, what, value, 0);
    return value[0];
}
 
Example 7
Source File: EglCore.java    From AndroidPlayground with MIT License 4 votes vote down vote up
/**
 * Performs a simple surface query.
 */
public int querySurface(EGLSurface eglSurface, int what) {
    int[] value = new int[1];
    EGL14.eglQuerySurface(mEGLDisplay, eglSurface, what, value, 0);
    return value[0];
}
 
Example 8
Source File: EGLEnvironment.java    From EZFilter with MIT License 4 votes vote down vote up
public int querySurface(final EGLSurface eglSurface, final int what) {
    final int[] value = new int[1];
    EGL14.eglQuerySurface(mEglDisplay, eglSurface, what, value, 0);
    return value[0];
}
 
Example 9
Source File: InputSurface.java    From phoenix with Apache License 2.0 4 votes vote down vote up
/**
 * Queries the surface's height.
 */
public int getHeight() {
    int[] value = new int[1];
    EGL14.eglQuerySurface(mEGLDisplay, mEGLSurface, EGL14.EGL_HEIGHT, value, 0);
    return value[0];
}
 
Example 10
Source File: InputSurface.java    From SimpleVideoEdit with Apache License 2.0 4 votes vote down vote up
/**
 * Queries the surface's width.
 */
public int getWidth() {
    int[] value = new int[1];
    EGL14.eglQuerySurface(mEGLDisplay, mEGLSurface, EGL14.EGL_WIDTH, value, 0);
    return value[0];
}
 
Example 11
Source File: EGLBase.java    From MegviiFacepp-Android-SDK with Apache License 2.0 4 votes vote down vote up
public int querySurface(final EGLSurface eglSurface, final int what) {
    final int[] value = new int[1];
    EGL14.eglQuerySurface(mEglDisplay, eglSurface, what, value, 0);
    return value[0];
}
 
Example 12
Source File: EglCore.java    From kickflip-android-sdk with Apache License 2.0 4 votes vote down vote up
/**
 * Performs a simple surface query.
 */
public int querySurface(EGLSurface eglSurface, int what) {
    int[] value = new int[1];
    EGL14.eglQuerySurface(mEGLDisplay, eglSurface, what, value, 0);
    return value[0];
}
 
Example 13
Source File: InputSurface.java    From android-transcoder with Apache License 2.0 4 votes vote down vote up
/**
 * Queries the surface's width.
 */
public int getWidth() {
    int[] value = new int[1];
    EGL14.eglQuerySurface(mEGLDisplay, mEGLSurface, EGL14.EGL_WIDTH, value, 0);
    return value[0];
}
 
Example 14
Source File: EglBase14.java    From UltraGpuImage with MIT License 4 votes vote down vote up
@Override
public int surfaceHeight() {
  final int heightArray[] = new int[1];
  EGL14.eglQuerySurface(eglDisplay, eglSurface, EGL14.EGL_HEIGHT, heightArray, 0);
  return heightArray[0];
}
 
Example 15
Source File: EglCore.java    From IjkVRPlayer with Apache License 2.0 4 votes vote down vote up
/**
 * Performs a simple surface query.
 */
public int querySurface(EGLSurface eglSurface, int what) {
    int[] value = new int[1];
    EGL14.eglQuerySurface(mEGLDisplay, eglSurface, what, value, 0);
    return value[0];
}
 
Example 16
Source File: EglCore.java    From mobile-ar-sensor-logger with GNU General Public License v3.0 4 votes vote down vote up
/**
 * Performs a simple surface query.
 */
public int querySurface(EGLSurface eglSurface, int what) {
    int[] value = new int[1];
    EGL14.eglQuerySurface(mEGLDisplay, eglSurface, what, value, 0);
    return value[0];
}
 
Example 17
Source File: EglBase14Impl.java    From webrtc_android with MIT License 4 votes vote down vote up
@Override
public int surfaceHeight() {
  final int heightArray[] = new int[1];
  EGL14.eglQuerySurface(eglDisplay, eglSurface, EGL14.EGL_HEIGHT, heightArray, 0);
  return heightArray[0];
}
 
Example 18
Source File: EglCore.java    From grafika with Apache License 2.0 4 votes vote down vote up
/**
 * Performs a simple surface query.
 */
public int querySurface(EGLSurface eglSurface, int what) {
    int[] value = new int[1];
    EGL14.eglQuerySurface(mEGLDisplay, eglSurface, what, value, 0);
    return value[0];
}
 
Example 19
Source File: EglCore.java    From Lassi-Android with MIT License 4 votes vote down vote up
/**
 * Performs a simple surface query.
 */
public int querySurface(EGLSurface eglSurface, int what) {
    int[] value = new int[1];
    EGL14.eglQuerySurface(mEGLDisplay, eglSurface, what, value, 0);
    return value[0];
}
 
Example 20
Source File: EglBase14.java    From VideoCRE with MIT License 4 votes vote down vote up
@Override
public int surfaceWidth() {
  EGL14.eglQuerySurface(eglDisplay, eglSurface, EGL14.EGL_WIDTH, widthArray, 0);
  return widthArray[0];
}