VideoFrameDrawer

tee3.webrtc

## 类 VideoFrameDrawer

- java.lang.Object
- - tee3.webrtc.VideoFrameDrawer

-     public class VideoFrameDrawer
      extends java.lang.Object

  Helper class to draw VideoFrames. Calls either drawer.drawOes, drawer.drawRgb, or drawer.drawYuv depending on the type of the buffer. The frame will be rendered with rotation taken into account. You can supply an additional render matrix for custom transformations.

- - ### 构造器概要

    构造器
    构造器和说明
    `VideoFrameDrawer()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `drawFrame(VideoFrame frame, RendererCommon.GlDrawer drawer)`
    `void` | `drawFrame(VideoFrame frame, RendererCommon.GlDrawer drawer, android.graphics.Matrix additionalRenderMatrix)`
    `void` | `drawFrame(VideoFrame frame, RendererCommon.GlDrawer drawer, android.graphics.Matrix additionalRenderMatrix, int viewportX, int viewportY, int viewportWidth, int viewportHeight)`
    `void` | `release()`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### VideoFrameDrawer

          public VideoFrameDrawer()

  - ### 方法详细资料

    - #### drawFrame

          public void drawFrame(VideoFrame frame,
                                RendererCommon.GlDrawer drawer)

    - #### drawFrame

          public void drawFrame(VideoFrame frame,
                                RendererCommon.GlDrawer drawer,
                                android.graphics.Matrix additionalRenderMatrix)

    - #### drawFrame

          public void drawFrame(VideoFrame frame,
                                RendererCommon.GlDrawer drawer,
                                @Nullable
                                android.graphics.Matrix additionalRenderMatrix,
                                int viewportX,
                                int viewportY,
                                int viewportWidth,
                                int viewportHeight)

    - #### release

          public void release()