VideoFrame.I420Buffer

tee3.webrtc

## 接口 VideoFrame.I420Buffer

- 所有超级接口:
    RefCounted, VideoFrame.Buffer
  所有已知实现类:
    JavaI420Buffer
  封闭类:
    VideoFrame

      public static interface VideoFrame.I420Buffer
      extends VideoFrame.Buffer

  Interface for I420 buffers.

- - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `java.nio.ByteBuffer` | `getDataU()` Returns a direct ByteBuffer containing U-plane data.
    `java.nio.ByteBuffer` | `getDataV()` Returns a direct ByteBuffer containing V-plane data.
    `java.nio.ByteBuffer` | `getDataY()` Returns a direct ByteBuffer containing Y-plane data.
    `int` | `getStrideU()`
    `int` | `getStrideV()`
    `int` | `getStrideY()`

    - ### 从接口继承的方法 tee3.webrtc.VideoFrame.Buffer

      `cropAndScale, getHeight, getWidth, release, retain, toI420`

- - ### 方法详细资料

    - #### getDataY

          java.nio.ByteBuffer getDataY()

      Returns a direct ByteBuffer containing Y-plane data. The buffer capacity is at least getStrideY() * getHeight() bytes. The position of the returned buffer is ignored and must be 0. Callers may mutate the ByteBuffer (eg. through relative-read operations), so implementations must return a new ByteBuffer or slice for each call.

    - #### getDataU

          java.nio.ByteBuffer getDataU()

      Returns a direct ByteBuffer containing U-plane data. The buffer capacity is at least getStrideU() * ((getHeight() + 1) / 2) bytes. The position of the returned buffer is ignored and must be 0. Callers may mutate the ByteBuffer (eg. through relative-read operations), so implementations must return a new ByteBuffer or slice for each call.

    - #### getDataV

          java.nio.ByteBuffer getDataV()

      Returns a direct ByteBuffer containing V-plane data. The buffer capacity is at least getStrideV() * ((getHeight() + 1) / 2) bytes. The position of the returned buffer is ignored and must be 0. Callers may mutate the ByteBuffer (eg. through relative-read operations), so implementations must return a new ByteBuffer or slice for each call.

    - #### getStrideY

          int getStrideY()

    - #### getStrideU

          int getStrideU()

    - #### getStrideV

          int getStrideV()