TWCI420Frame Class Reference

Inherits from NSObject
Declared in TWCI420Frame.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

Discussion

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

Declared In

TWCI420Frame.h

  height

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

@property (nonatomic, readonly) NSUInteger height

Discussion

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

Declared In

TWCI420Frame.h

  chromaWidth

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

@property (nonatomic, readonly) NSUInteger chromaWidth

Discussion

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

Declared In

TWCI420Frame.h

  chromaHeight

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

@property (nonatomic, readonly) NSUInteger chromaHeight

Discussion

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

Declared In

TWCI420Frame.h

  chromaSize

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

@property (nonatomic, readonly) NSUInteger chromaSize

Discussion

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

Declared In

TWCI420Frame.h

  orientation

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

@property (nonatomic, readonly) TWCVideoOrientation orientation

Discussion

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

Declared In

TWCI420Frame.h

  yPlane

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

@property (nonatomic, readonly) const uint8_t *yPlane

Discussion

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

Declared In

TWCI420Frame.h

  uPlane

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

@property (nonatomic, readonly) const uint8_t *uPlane

Discussion

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

Declared In

TWCI420Frame.h

  vPlane

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

@property (nonatomic, readonly) const uint8_t *vPlane

Discussion

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

Declared In

TWCI420Frame.h

  yPitch

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

@property (nonatomic, readonly) NSInteger yPitch

Discussion

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

Declared In

TWCI420Frame.h

  uPitch

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

@property (nonatomic, readonly) NSInteger uPitch

Discussion

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

Declared In

TWCI420Frame.h

  vPitch

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

@property (nonatomic, readonly) NSInteger vPitch

Discussion

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

Declared In

TWCI420Frame.h