Mixin: VideoFrameData

AviSynth. VideoFrameData

Interface for accessing actual pixel data.
Source:

Members

<readonly> bitPerPixel :number

The number of bits in a single pixel.
Type:
  • number
Source:

<readonly> bytesPerPixel :number

The number of bytes in a single pixel.
Type:
  • number
Source:

<readonly> data :ArrayBuffer

The data buffer. You'll want to wrap this with one of the more specific typed-array views.
Type:
  • ArrayBuffer
Source:

<readonly> height :number

The height of the frame in pixels. In the case of planar data, this may not be what you're expecting due to chroma subsampling!
Type:
  • number
Source:

<readonly> pitch :number

The pitch: the number of bytes between the start of one row and the start of the next.
Type:
  • number
Source:

<readonly> rowSize :number

The row size: the number of bytes after the start of the row that are actually visible in the final frame.
Type:
  • number
Source:

width

The width of the frame in pixels. In the case of planar data, this may not be what you're expecting due to chroma subsampling!
Source: