TVII420Frame Class Reference

Inherits from NSObject
Declared in TVII420Frame.h

Overview

Represents a planar YUV video frame in the I420 pixel format.

  width

The native width of the frame, not accounting for any orientation metadata.

@property (nonatomic, readonly) NSUInteger width

Declared In

TVII420Frame.h

  height

The native height of the frame, not accounting for any orientation metadata.

@property (nonatomic, readonly) NSUInteger height

Declared In

TVII420Frame.h

  chromaWidth

The width of the chroma (u,v) planes. Chroma information is horizontally subsampled at every 2nd pixel.

@property (nonatomic, readonly) NSUInteger chromaWidth

Declared In

TVII420Frame.h

  chromaHeight

The height of the chroma (u,v) planes. Chroma information is vertically subsampled at every 2nd pixel.

@property (nonatomic, readonly) NSUInteger chromaHeight

Declared In

TVII420Frame.h

  chromaSize

The total size of a chroma plane in bytes, including padding.

@property (nonatomic, readonly) NSUInteger chromaSize

Declared In

TVII420Frame.h

  orientation

The orientation of the video frame. See TVIVideoOrientation for more details.

@property (nonatomic, readonly) TVIVideoOrientation orientation

Declared In

TVII420Frame.h

  yPlane

A const pointer to the base of the y-plane (luma).

@property (nonatomic, readonly) const uint8_t *yPlane

Declared In

TVII420Frame.h

  uPlane

A const pointer to the base of the u-plane (chroma).

@property (nonatomic, readonly) const uint8_t *uPlane

Declared In

TVII420Frame.h

  vPlane

A const pointer to the base of the v-plane (chroma).

@property (nonatomic, readonly) const uint8_t *vPlane

Declared In

TVII420Frame.h

  yPitch

The total width of each y-plane row including padding.

@property (nonatomic, readonly) NSInteger yPitch

Declared In

TVII420Frame.h

  uPitch

The total width of each u-plane row including padding.

@property (nonatomic, readonly) NSInteger uPitch

Declared In

TVII420Frame.h

  vPitch

The total width of each v-plane row including padding.

@property (nonatomic, readonly) NSInteger vPitch

Declared In

TVII420Frame.h