Documentation to use internal classes that render video using OpenGL ES

The Android sample app for the Video SDK includes code for using the hardware renderer which works with raw data. The SDK uses the RawDataRenderer class which in turn uses several internal classes including:

  • ZoomSurfaceViewRender
  • BaseRawDataRenderer

In my custom app, I need to work with raw data and provide more functionality that goes beyond just simply drawing a frame to a SurfaceView. Having the documentation on ZoomSurfaceViewRender and BaseRawDataRenderer would make life a lot easier in understanding how YUV420p data is actually used with a SufaceView as there are virtually no samples on the Internet to be found. Without documentation, there’s a lot of guess work and research needed to determine what the internal API methods do.