|
Agora Java API Reference for Android
|
Public Member Functions | |
| PixelFormat (int value) | |
| int | intValue () |
Public Attributes | |
| I420 =(1) | |
| NV21 =(3) | |
| RGBA =(4) | |
| TEXTURE_2D =(10) | |
| TEXTURE_OES =(11) | |
| final int | value |
The pixel format of the video frame content. This enumeration defines the pixel format of the video frame. Agora supports three pixel formats on Android.
| io.agora.rtc.mediaio.MediaIO.PixelFormat.I420 =(1) |
YUV420p
| io.agora.rtc.mediaio.MediaIO.PixelFormat.NV21 =(3) |
YUV420sp
| io.agora.rtc.mediaio.MediaIO.PixelFormat.RGBA =(4) |
RGBA8888
| io.agora.rtc.mediaio.MediaIO.PixelFormat.TEXTURE_2D =(10) |
GL_TEXTURE_2D format
| io.agora.rtc.mediaio.MediaIO.PixelFormat.TEXTURE_OES =(11) |
GL_TEXTURE_OES format