Amazon Kinesis Webrtc C SDK
RtpH264Payloader.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FU_A_HEADER_SIZE   2
 
#define FU_B_HEADER_SIZE   4
 
#define STAP_A_HEADER_SIZE   1
 
#define STAP_B_HEADER_SIZE   3
 
#define SINGLE_U_HEADER_SIZE   1
 
#define FU_A_INDICATOR   28
 
#define FU_B_INDICATOR   29
 
#define STAP_A_INDICATOR   24
 
#define STAP_B_INDICATOR   25
 
#define NAL_TYPE_MASK   31
 

Functions

STATUS createPayloadForH264 (UINT32, PBYTE, UINT32, PBYTE, PUINT32, PUINT32, PUINT32)
 
STATUS getNextNaluLength (PBYTE, UINT32, PUINT32, PUINT32)
 
STATUS createPayloadFromNalu (UINT32, PBYTE, UINT32, PPayloadArray, PUINT32, PUINT32)
 
STATUS depayH264FromRtpPayload (PBYTE, UINT32, PBYTE, PUINT32, PBOOL)
 

Macro Definition Documentation

◆ FU_A_HEADER_SIZE

#define FU_A_HEADER_SIZE   2

◆ FU_A_INDICATOR

#define FU_A_INDICATOR   28

◆ FU_B_HEADER_SIZE

#define FU_B_HEADER_SIZE   4

◆ FU_B_INDICATOR

#define FU_B_INDICATOR   29

◆ NAL_TYPE_MASK

#define NAL_TYPE_MASK   31

◆ SINGLE_U_HEADER_SIZE

#define SINGLE_U_HEADER_SIZE   1

◆ STAP_A_HEADER_SIZE

#define STAP_A_HEADER_SIZE   1

◆ STAP_A_INDICATOR

#define STAP_A_INDICATOR   24

◆ STAP_B_HEADER_SIZE

#define STAP_B_HEADER_SIZE   3

◆ STAP_B_INDICATOR

#define STAP_B_INDICATOR   25

Function Documentation

◆ createPayloadForH264()

STATUS createPayloadForH264 ( UINT32  mtu,
PBYTE  nalus,
UINT32  nalusLength,
PBYTE  payloadBuffer,
PUINT32  pPayloadLength,
PUINT32  pPayloadSubLength,
PUINT32  pPayloadSubLenSize 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createPayloadFromNalu()

STATUS createPayloadFromNalu ( UINT32  mtu,
PBYTE  nalu,
UINT32  naluLength,
PPayloadArray  pPayloadArray,
PUINT32  filledLength,
PUINT32  filledSubLenSize 
)
Here is the caller graph for this function:

◆ depayH264FromRtpPayload()

STATUS depayH264FromRtpPayload ( PBYTE  pRawPacket,
UINT32  packetLength,
PBYTE  pNaluData,
PUINT32  pNaluLength,
PBOOL  pIsStart 
)
Here is the caller graph for this function:

◆ getNextNaluLength()

STATUS getNextNaluLength ( PBYTE  nalus,
UINT32  nalusLength,
PUINT32  pStart,
PUINT32  pNaluLength 
)
Here is the caller graph for this function: