Package io.rong.imkit.utils.videocompressor

## Class OutputSurface

- All Implemented Interfaces:

      public class OutputSurface

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `OutputSurface(int width, int height, int rotate)` |
    `OutputSurface()` |

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `release()` |
    `void` | `makeCurrent()` |
    `Surface` | `getSurface()` |
    `void` | `changeFragmentShader(String fragmentShader)` |
    `void` | `awaitNewImage()` |
    `void` | `drawImage(boolean invert)` |
    `void` | `onFrameAvailable(SurfaceTexture st)` |
    `ByteBuffer` | `getFrame()` |

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### OutputSurface

          OutputSurface(int width, int height, int rotate)

    - #### OutputSurface

          OutputSurface()

  - ### Method Detail

    - #### release

           void release()

    - #### makeCurrent

           void makeCurrent()

    - #### getSurface

           Surface getSurface()

    - #### changeFragmentShader

           void changeFragmentShader(String fragmentShader)

    - #### awaitNewImage

           void awaitNewImage()

    - #### drawImage

           void drawImage(boolean invert)

    - #### onFrameAvailable

           void onFrameAvailable(SurfaceTexture st)

    - #### getFrame

           ByteBuffer getFrame()