FMLiveSwitchMatroskaVideo Class Reference

A Matroska video element. More...

Instance Methods

(long long) - alphaMode
 Gets the alpha mode. More...
 
(FMLiveSwitchNullableLong *) - displayHeight
 Gets the display height. More...
 
(long long) - displayUnit
 Gets the display unit. More...
 
(FMLiveSwitchNullableLong *) - displayWidth
 Gets the display width. More...
 
(long long) - flagInterlaced
 Gets a flag indicating whether the video is interlaced. More...
 
(NSMutableData *) - getInnerBytes
 Gets the inner bytes. More...
 
(NSMutableData *) - id
 Gets the EBML ID. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchMatroskaVideo class. More...
 
(instancetype) - initWithBytes:
 Initializes a new instance of the FMLiveSwitchMatroskaVideo class. More...
 
(long long) - pixelCropBottom
 Gets the pixel crop bottom. More...
 
(long long) - pixelCropLeft
 Gets the pixel crop left. More...
 
(long long) - pixelCropRight
 Gets the pixel crop right. More...
 
(long long) - pixelCropTop
 Gets the pixel crop top. More...
 
(long long) - pixelHeight
 Gets the pixel height. More...
 
(long long) - pixelWidth
 Gets the pixel width. More...
 
(void) - setAlphaMode:
 Sets the alpha mode. More...
 
(void) - setDisplayHeight:
 Sets the display height. More...
 
(void) - setDisplayUnit:
 Sets the display unit. More...
 
(void) - setDisplayWidth:
 Sets the display width. More...
 
(void) - setFlagInterlaced:
 Sets a flag indicating whether the video is interlaced. More...
 
(void) - setPixelCropBottom:
 Sets the pixel crop bottom. More...
 
(void) - setPixelCropLeft:
 Sets the pixel crop left. More...
 
(void) - setPixelCropRight:
 Sets the pixel crop right. More...
 
(void) - setPixelCropTop:
 Sets the pixel crop top. More...
 
(void) - setPixelHeight:
 Sets the pixel height. More...
 
(void) - setPixelWidth:
 Sets the pixel width. More...
 
- Instance Methods inherited from FMLiveSwitchMatroskaElement
(NSMutableData *) - getBytes
 Serializes to a byte array. More...
 
(int) - length
 Gets the total length of the element (including ID/size field), set after calling getBytes. More...
 
(void) - setSizeLength:
 Sets the length of the size field, in bytes. More...
 
(void) - setWriteDefaultValues:
 Sets whether to include default values when serializing. More...
 
(int) - size
 Gets the size of the element (excluding ID/size field), set after calling getBytes. More...
 
(int) - sizeLength
 Gets the length of the size field, in bytes. More...
 
(void) - write:id:stream:
 Writes a binary element to the stream. More...
 
(void) - writeBool:id:stream:
 Writes a boolean element to the stream. More...
 
(void) - writeDate:id:stream:
 Writes a date element to the stream. More...
 
(bool) - writeDefaultValues
 Gets whether to include default values when serializing. More...
 
(void) - writeDouble:id:stream:
 Writes a double element to the stream. More...
 
(void) - writeFloat:id:stream:
 Writes a float element to the stream. More...
 
(void) - writeGuid:id:stream:
 Writes a GUID element to the stream. More...
 
(void) - writeSignedInteger:id:stream:
 Writes an signed integer element to the stream. More...
 
(void) - writeString:id:stream:
 Writes an ASCII string element to the stream. More...
 
(void) - writeUnsignedInteger:id:stream:
 Writes an unsigned integer element to the stream. More...
 
(void) - writeUtf8:id:stream:
 Writes a UTF-8 string element to the stream. More...
 
(void) - writeVariableInteger:stream:
 Writes a variable integer ("vint") to the stream. More...
 
(void) - writeVariableInteger:stream:length:
 Writes a variable integer ("vint") to the stream using a fixed length. More...
 

Class Methods

(long long) + defaultAlphaMode
 Gets the default alpha mode. More...
 
(long long) + defaultDisplayUnit
 Gets the default display unit. More...
 
(long long) + defaultFlagInterlaced
 Gets the default flag interlaced. More...
 
(long long) + defaultPixelCropBottom
 Gets the default pixel crop bottom. More...
 
(long long) + defaultPixelCropLeft
 Gets the default pixel crop left. More...
 
(long long) + defaultPixelCropRight
 Gets the default pixel crop right. More...
 
(long long) + defaultPixelCropTop
 Gets the default pixel crop top. More...
 
(NSMutableData *) + ebmlId
 Gets the EBML ID. More...
 
(FMLiveSwitchMatroskaVideo *) + video
 Initializes a new instance of the FMLiveSwitchMatroskaVideo class. More...
 
(FMLiveSwitchMatroskaVideo *) + videoWithBytes:
 Initializes a new instance of the FMLiveSwitchMatroskaVideo class. More...
 
- Class Methods inherited from FMLiveSwitchMatroskaElement
(bool) + compareWithBytes1:bytes2:
 Compares two byte arrays for equality. More...
 
(FMLiveSwitchMatroskaElement *) + element
 
(bool) + readBool:
 Reads a boolean element from the stream. More...
 
(NSDate *) + readDate:
 Reads a date string element from the stream. More...
 
(double) + readDouble:
 Reads a double element from the stream. More...
 
(float) + readFloat:
 Reads a float element from the stream. More...
 
(FMLiveSwitchGuid *) + readGuid:
 Reads a GUID element from the stream. More...
 
(NSMutableData *) + readIdWithBytes:offset:offsetPlus:
 Reads a binary ID from the stream. More...
 
(long long) + readSignedInteger:
 Reads a signed integer element from the byte array. More...
 
(NSString *) + readString:
 Reads an ASCII string element from the stream. More...
 
(long long) + readUnsignedInteger:
 Reads an unsigned integer element from the byte array. More...
 
(NSString *) + readUtf8:
 Reads a UTF-8 string element from the stream. More...
 
(NSMutableData *) + readValueWithBytes:offset:offsetPlus:
 Reads a binary value from the stream. More...
 
(long long) + readVariableIntegerWithBytes:offset:offsetPlus:
 Reads a variable integer ("vint") from the byte array. More...
 
(NSMutableData *) + serializeVariableInteger:
 Serializes a variable integer. More...
 
(NSMutableData *) + serializeVariableInteger:length:
 Serializes a variable integer using a fixed length. More...
 

Detailed Description

A Matroska video element.

Method Documentation

◆ alphaMode

- (long long) alphaMode

Gets the alpha mode.

◆ defaultAlphaMode

+ (long long) defaultAlphaMode

Gets the default alpha mode.

◆ defaultDisplayUnit

+ (long long) defaultDisplayUnit

Gets the default display unit.

◆ defaultFlagInterlaced

+ (long long) defaultFlagInterlaced

Gets the default flag interlaced.

◆ defaultPixelCropBottom

+ (long long) defaultPixelCropBottom

Gets the default pixel crop bottom.

◆ defaultPixelCropLeft

+ (long long) defaultPixelCropLeft

Gets the default pixel crop left.

◆ defaultPixelCropRight

+ (long long) defaultPixelCropRight

Gets the default pixel crop right.

◆ defaultPixelCropTop

+ (long long) defaultPixelCropTop

Gets the default pixel crop top.

◆ displayHeight

- (FMLiveSwitchNullableLong*) displayHeight

Gets the display height.

◆ displayUnit

- (long long) displayUnit

Gets the display unit.

◆ displayWidth

- (FMLiveSwitchNullableLong*) displayWidth

Gets the display width.

◆ ebmlId

+ (NSMutableData*) ebmlId

Gets the EBML ID.

◆ flagInterlaced

- (long long) flagInterlaced

Gets a flag indicating whether the video is interlaced.

◆ getInnerBytes

- (NSMutableData*) getInnerBytes

Gets the inner bytes.

Implements FMLiveSwitchMatroskaElement.

◆ id

- (NSMutableData*) id

Gets the EBML ID.

Implements FMLiveSwitchMatroskaElement.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchMatroskaVideo class.

Implements FMLiveSwitchMatroskaElement.

◆ initWithBytes:

- (instancetype) initWithBytes: (NSMutableData *)  bytes

Initializes a new instance of the FMLiveSwitchMatroskaVideo class.

Parameters
bytesThe bytes.

◆ pixelCropBottom

- (long long) pixelCropBottom

Gets the pixel crop bottom.

◆ pixelCropLeft

- (long long) pixelCropLeft

Gets the pixel crop left.

◆ pixelCropRight

- (long long) pixelCropRight

Gets the pixel crop right.

◆ pixelCropTop

- (long long) pixelCropTop

Gets the pixel crop top.

◆ pixelHeight

- (long long) pixelHeight

Gets the pixel height.

◆ pixelWidth

- (long long) pixelWidth

Gets the pixel width.

◆ setAlphaMode:

- (void) setAlphaMode: (long long)  value

Sets the alpha mode.

◆ setDisplayHeight:

- (void) setDisplayHeight: (FMLiveSwitchNullableLong *)  value

Sets the display height.

◆ setDisplayUnit:

- (void) setDisplayUnit: (long long)  value

Sets the display unit.

◆ setDisplayWidth:

- (void) setDisplayWidth: (FMLiveSwitchNullableLong *)  value

Sets the display width.

◆ setFlagInterlaced:

- (void) setFlagInterlaced: (long long)  value

Sets a flag indicating whether the video is interlaced.

◆ setPixelCropBottom:

- (void) setPixelCropBottom: (long long)  value

Sets the pixel crop bottom.

◆ setPixelCropLeft:

- (void) setPixelCropLeft: (long long)  value

Sets the pixel crop left.

◆ setPixelCropRight:

- (void) setPixelCropRight: (long long)  value

Sets the pixel crop right.

◆ setPixelCropTop:

- (void) setPixelCropTop: (long long)  value

Sets the pixel crop top.

◆ setPixelHeight:

- (void) setPixelHeight: (long long)  value

Sets the pixel height.

◆ setPixelWidth:

- (void) setPixelWidth: (long long)  value

Sets the pixel width.

◆ video

Initializes a new instance of the FMLiveSwitchMatroskaVideo class.

◆ videoWithBytes:

+ (FMLiveSwitchMatroskaVideo*) videoWithBytes: (NSMutableData *)  bytes

Initializes a new instance of the FMLiveSwitchMatroskaVideo class.

Parameters
bytesThe bytes.