Utility methods. More...
Instance Methods | |
| (instancetype) | - init |
Class Methods | |
| (int) | + getNaluTypeWithEncodedFrame: |
| Gets the NALU type. More... | |
| (int) | + getNaluTypeWithEncodedFrame:offset: |
| Gets the NALU type at the specified offset. More... | |
| (int) | + getStartCodeLengthWithEncodedFrame:offset: |
| Gets the start code length at the specified offset. More... | |
| (bool) | + isIdrWithEncodedFrame: |
| Determines whether the encoded frame starts with an IDR NALU. More... | |
| (bool) | + isIdrWithEncodedFrame:offset: |
| Determines whether the encoded frame starts with an IDR NALU. More... | |
| (bool) | + isKeyFrameWithEncodedFrame: |
| Determines whether the encoded frame starts with a keyframe (IDR, VPS, PPS, or SPS). More... | |
| (bool) | + isNaluType:encodedFrame:offset: |
| Determines whether the encoded frame starts with a given NALU type. More... | |
| (bool) | + isPpsWithEncodedFrame: |
| Determines whether the encoded frame starts with a PPS NALU. More... | |
| (bool) | + isPpsWithEncodedFrame:offset: |
| Determines whether the encoded frame starts with a PPS NALU. More... | |
| (bool) | + isSpsWithEncodedFrame: |
| Determines whether the encoded frame starts with an SPS NALU. More... | |
| (bool) | + isSpsWithEncodedFrame:offset: |
| Determines whether the encoded frame starts with an SPS NALU. More... | |
| (bool) | + isVpsWithEncodedFrame: |
| Determines whether the encoded frame starts with a VPS NALU. More... | |
| (bool) | + isVpsWithEncodedFrame:offset: |
| Determines whether the encoded frame starts with an VPS NALU. More... | |
| (FMLiveSwitchH265Utility *) | + utility |
Utility methods.
| + (int) getNaluTypeWithEncodedFrame: | (FMLiveSwitchDataBuffer *) | encodedFrame |
Gets the NALU type.
| encodedFrame | The encoded frame. |
| + (int) getNaluTypeWithEncodedFrame: | (FMLiveSwitchDataBuffer *) | encodedFrame | |
| offset: | (int) | offset | |
Gets the NALU type at the specified offset.
| encodedFrame | The encoded frame. |
| offset | The offset into the encoded frame. |
| + (int) getStartCodeLengthWithEncodedFrame: | (FMLiveSwitchDataBuffer *) | encodedFrame | |
| offset: | (int) | offset | |
Gets the start code length at the specified offset.
| encodedFrame | The encoded frame. |
| offset | The offset into the encoded frame. |
| - (instancetype) init |
| + (bool) isIdrWithEncodedFrame: | (FMLiveSwitchDataBuffer *) | encodedFrame |
Determines whether the encoded frame starts with an IDR NALU.
| encodedFrame | The encoded frame. |
| + (bool) isIdrWithEncodedFrame: | (FMLiveSwitchDataBuffer *) | encodedFrame | |
| offset: | (int) | offset | |
Determines whether the encoded frame starts with an IDR NALU.
| encodedFrame | The encoded frame. |
| offset | The offset into the encoded frame. |
| + (bool) isKeyFrameWithEncodedFrame: | (FMLiveSwitchDataBuffer *) | encodedFrame |
Determines whether the encoded frame starts with a keyframe (IDR, VPS, PPS, or SPS).
| encodedFrame | The encoded frame. |
| + (bool) isNaluType: | (int) | naluType | |
| encodedFrame: | (FMLiveSwitchDataBuffer *) | encodedFrame | |
| offset: | (int) | offset | |
Determines whether the encoded frame starts with a given NALU type.
| naluType | The NALU type. |
| encodedFrame | The encoded frame. |
| offset | The offset into the encoded frame. |
| + (bool) isPpsWithEncodedFrame: | (FMLiveSwitchDataBuffer *) | encodedFrame |
Determines whether the encoded frame starts with a PPS NALU.
| encodedFrame | The encoded frame. |
| + (bool) isPpsWithEncodedFrame: | (FMLiveSwitchDataBuffer *) | encodedFrame | |
| offset: | (int) | offset | |
Determines whether the encoded frame starts with a PPS NALU.
| encodedFrame | The encoded frame. |
| offset | The offset into the encoded frame. |
| + (bool) isSpsWithEncodedFrame: | (FMLiveSwitchDataBuffer *) | encodedFrame |
Determines whether the encoded frame starts with an SPS NALU.
| encodedFrame | The encoded frame. |
| + (bool) isSpsWithEncodedFrame: | (FMLiveSwitchDataBuffer *) | encodedFrame | |
| offset: | (int) | offset | |
Determines whether the encoded frame starts with an SPS NALU.
| encodedFrame | The encoded frame. |
| offset | The offset into the encoded frame. |
| + (bool) isVpsWithEncodedFrame: | (FMLiveSwitchDataBuffer *) | encodedFrame |
Determines whether the encoded frame starts with a VPS NALU.
| encodedFrame | The encoded frame. |
| + (bool) isVpsWithEncodedFrame: | (FMLiveSwitchDataBuffer *) | encodedFrame | |
| offset: | (int) | offset | |
Determines whether the encoded frame starts with an VPS NALU.
| encodedFrame | The encoded frame. |
| offset | The offset into the encoded frame. |
| + (FMLiveSwitchH265Utility*) utility |