FMIceLinkH264Utility Class Reference

Inherits from NSObject
Declared in FMIceLinkH264Utility.h
FMIceLinkH264Utility.m

Overview

Utility methods.

+ getNaluLengthWithEncodedFrame:offset:

Gets the NALU length at the specified offset.
+ (int)getNaluLengthWithEncodedFrame:(FMIceLinkDataBuffer *)encodedFrame offset:(int)offset

Parameters

encodedFrame

The encoded frame.

offset

The offset into the encoded frame.

Discussion

Gets the NALU length at the specified offset.

Declared In

FMIceLinkH264Utility.h

+ getStartCodeLengthWithEncodedFrame:offset:

Gets the start code length at the specified offset.
+ (int)getStartCodeLengthWithEncodedFrame:(FMIceLinkDataBuffer *)encodedFrame offset:(int)offset

Parameters

encodedFrame

The encoded frame.

offset

The offset into the encoded frame.

Discussion

Gets the start code length at the specified offset.

Declared In

FMIceLinkH264Utility.h

+ isAudWithEncodedFrame:

Determines whether the encoded frame starts with an AUD NALU.
+ (bool)isAudWithEncodedFrame:(FMIceLinkDataBuffer *)encodedFrame

Parameters

encodedFrame

The encoded frame.

Discussion

Determines whether the encoded frame starts with an AUD NALU.

Declared In

FMIceLinkH264Utility.h

+ isAudWithEncodedFrame:offset:

Determines whether the encoded frame starts with an AUD NALU.
+ (bool)isAudWithEncodedFrame:(FMIceLinkDataBuffer *)encodedFrame offset:(int)offset

Parameters

encodedFrame

The encoded frame.

offset

The offset into the encoded frame.

Discussion

Determines whether the encoded frame starts with an AUD NALU.

Declared In

FMIceLinkH264Utility.h

+ isIdrWithEncodedFrame:

Determines whether the encoded frame starts with an IDR NALU.
+ (bool)isIdrWithEncodedFrame:(FMIceLinkDataBuffer *)encodedFrame

Parameters

encodedFrame

The encoded frame.

Discussion

Determines whether the encoded frame starts with an IDR NALU.

Declared In

FMIceLinkH264Utility.h

+ isIdrWithEncodedFrame:offset:

Determines whether the encoded frame starts with an IDR NALU.
+ (bool)isIdrWithEncodedFrame:(FMIceLinkDataBuffer *)encodedFrame offset:(int)offset

Parameters

encodedFrame

The encoded frame.

offset

The offset into the encoded frame.

Discussion

Determines whether the encoded frame starts with an IDR NALU.

Declared In

FMIceLinkH264Utility.h

+ isKeyFrameWithEncodedFrame:

Determines whether the encoded frame starts with a keyframe (IDR, PPS, or SPS).
+ (bool)isKeyFrameWithEncodedFrame:(FMIceLinkDataBuffer *)encodedFrame

Parameters

encodedFrame

The encoded frame.

Discussion

Determines whether the encoded frame starts with a keyframe (IDR, PPS, or SPS).

Declared In

FMIceLinkH264Utility.h

+ isNaluType:encodedFrame:offset:

Determines whether the encoded frame starts with a given NALU type.
+ (bool)isNaluType:(int)naluType encodedFrame:(FMIceLinkDataBuffer *)encodedFrame offset:(int)offset

Parameters

naluType

The NALU type.

encodedFrame

The encoded frame.

offset

The offset into the encoded frame.

Discussion

Determines whether the encoded frame starts with a given NALU type.

Declared In

FMIceLinkH264Utility.h

+ isPpsWithEncodedFrame:

Determines whether the encoded frame starts with a PPS NALU.
+ (bool)isPpsWithEncodedFrame:(FMIceLinkDataBuffer *)encodedFrame

Parameters

encodedFrame

The encoded frame.

Discussion

Determines whether the encoded frame starts with a PPS NALU.

Declared In

FMIceLinkH264Utility.h

+ isPpsWithEncodedFrame:offset:

Determines whether the encoded frame starts with a PPS NALU.
+ (bool)isPpsWithEncodedFrame:(FMIceLinkDataBuffer *)encodedFrame offset:(int)offset

Parameters

encodedFrame

The encoded frame.

offset

The offset into the encoded frame.

Discussion

Determines whether the encoded frame starts with a PPS NALU.

Declared In

FMIceLinkH264Utility.h

+ isSpsWithEncodedFrame:

Determines whether the encoded frame starts with an SPS NALU.
+ (bool)isSpsWithEncodedFrame:(FMIceLinkDataBuffer *)encodedFrame

Parameters

encodedFrame

The encoded frame.

Discussion

Determines whether the encoded frame starts with an SPS NALU.

Declared In

FMIceLinkH264Utility.h

+ isSpsWithEncodedFrame:offset:

Determines whether the encoded frame starts with an SPS NALU.
+ (bool)isSpsWithEncodedFrame:(FMIceLinkDataBuffer *)encodedFrame offset:(int)offset

Parameters

encodedFrame

The encoded frame.

offset

The offset into the encoded frame.

Discussion

Determines whether the encoded frame starts with an SPS NALU.

Declared In

FMIceLinkH264Utility.h

+ trimAudWithEncodedFrame:

Trims an AUD NALU from the start of the encoded frame, if one exists.
+ (FMIceLinkDataBuffer *)trimAudWithEncodedFrame:(FMIceLinkDataBuffer *)encodedFrame

Parameters

encodedFrame

The encoded frame. @return

Discussion

Trims an AUD NALU from the start of the encoded frame, if one exists.

Declared In

FMIceLinkH264Utility.h