Vision Apps User Guide

Introduction

This section contains APIs to use OpenGL within Apps.

Data Structures

struct  app_egl_tex_prop_t
 

Functions

void appEglCheckGlError (const char *op)
 
void appEglCheckEglError (const char *op, EGLBoolean returnVal)
 
void appEglPrintGLString (const char *name, GLenum s)
 
void * appEglWindowOpen ()
 
uint32_t appEglWindowGetTexYuv (void *eglWindow, app_egl_tex_prop_t *pProp)
 
void appEglSwap (void *eglWindow)
 
void appEglBindFrameBuffer (void *eglWindow, app_egl_tex_prop_t *prop)
 
int32_t appEglWindowClose (void *eglWindow)
 

Macros

#define GL_GLEXT_PROTOTYPES   1
 
#define APP_EGL_TEX_MAX_PLANES   (2)
 
#define APP_EGL_DF_RGBX   (0)
 
#define APP_EGL_DF_RGB   (1)
 
#define APP_EGL_DF_NV12   (2)
 
#define APP_EGL_DF_YUYV   (3)
 
#define APP_EGL_DF_UYVY   (4)
 

Macro Definition Documentation

◆ GL_GLEXT_PROTOTYPES

#define GL_GLEXT_PROTOTYPES   1

◆ APP_EGL_TEX_MAX_PLANES

#define APP_EGL_TEX_MAX_PLANES   (2)

◆ APP_EGL_DF_RGBX

#define APP_EGL_DF_RGBX   (0)

◆ APP_EGL_DF_RGB

#define APP_EGL_DF_RGB   (1)

◆ APP_EGL_DF_NV12

#define APP_EGL_DF_NV12   (2)

◆ APP_EGL_DF_YUYV

#define APP_EGL_DF_YUYV   (3)

◆ APP_EGL_DF_UYVY

#define APP_EGL_DF_UYVY   (4)

Function Documentation

◆ appEglCheckGlError()

void appEglCheckGlError ( const char *  op)

◆ appEglCheckEglError()

void appEglCheckEglError ( const char *  op,
EGLBoolean  returnVal 
)

◆ appEglPrintGLString()

void appEglPrintGLString ( const char *  name,
GLenum  s 
)

◆ appEglWindowOpen()

void* appEglWindowOpen ( )

◆ appEglWindowGetTexYuv()

uint32_t appEglWindowGetTexYuv ( void *  eglWindow,
app_egl_tex_prop_t pProp 
)

◆ appEglSwap()

void appEglSwap ( void *  eglWindow)

◆ appEglBindFrameBuffer()

void appEglBindFrameBuffer ( void *  eglWindow,
app_egl_tex_prop_t prop 
)

◆ appEglWindowClose()

int32_t appEglWindowClose ( void *  eglWindow)