45#ifndef _RTP_DEC_H264_H
46#define _RTP_DEC_H264_H
86#define H264_NALU_HDR_GET_TYPE(nal) ((nal) & 0x1F)
87#define H264_NALU_HDR_GET_NRI(nal) (((nal) & 0x60) >> 5)
88#define NALU_HDR_GET_TYPE(nal, is_hevc) \
89 ((is_hevc) ? (nal) >> 1 : H264_NALU_HDR_GET_TYPE((nal)))
int width_height_from_SDP(int *widthOut, int *heightOut, unsigned char *data, int data_len)
aux_nal_types
NAL values >23 are invalid in H.264 codestream but used by RTP.
int decode_frame_h264(struct coded_data *cdata, void *decode_data)
struct video_frame * get_sps_pps_frame(const struct video_desc *desc, struct decode_data_rtsp *decode_data)
Struct video_frame represents a video frame and contains video description.