|
FFmpeg
|
H.264 / RTP Code (RFC3984) More...
#include "libavutil/attributes.h"#include "libavutil/base64.h"#include "libavutil/intreadwrite.h"#include "libavutil/avstring.h"#include "libavutil/mem.h"#include "avformat.h"#include "rtpdec.h"#include "rtpdec_formats.h"Go to the source code of this file.
Data Structures | |
| struct | PayloadContext |
| RTP/JPEG specific private data. More... | |
Macros | |
| #define | COUNT_NAL_TYPE(data, nal) do { } while (0) |
| #define | NAL_COUNTERS NULL |
| #define | NAL_MASK 0x1f |
Functions | |
| static void | parse_profile_level_id (AVFormatContext *s, PayloadContext *h264_data, const char *value) |
| int | ff_h264_parse_sprop_parameter_sets (AVFormatContext *s, uint8_t **data_ptr, int *size_ptr, const char *value) |
| static int | sdp_parse_fmtp_config_h264 (AVFormatContext *s, AVStream *stream, PayloadContext *h264_data, const char *attr, const char *value) |
| void | ff_h264_parse_framesize (AVCodecParameters *par, const char *p) |
| int | ff_h264_handle_aggregated_packet (AVFormatContext *ctx, PayloadContext *data, AVPacket *pkt, const uint8_t *buf, int len, int skip_between, int *nal_counters, int nal_mask) |
| int | ff_h264_handle_frag_packet (AVPacket *pkt, const uint8_t *buf, int len, int start_bit, const uint8_t *nal_header, int nal_header_len) |
| static int | h264_handle_packet_fu_a (AVFormatContext *ctx, PayloadContext *data, AVPacket *pkt, const uint8_t *buf, int len, int *nal_counters, int nal_mask) |
| static int | h264_handle_packet (AVFormatContext *ctx, PayloadContext *data, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags) |
| static void | h264_close_context (PayloadContext *data) |
| static int | parse_h264_sdp_line (AVFormatContext *s, int st_index, PayloadContext *h264_data, const char *line) |
Variables | |
| static const uint8_t | start_sequence [] = { 0, 0, 0, 1 } |
| const RTPDynamicProtocolHandler | ff_h264_dynamic_handler |
H.264 / RTP Code (RFC3984)
Definition in file rtpdec_h264.c.
Definition at line 61 of file rtpdec_h264.c.
| #define NAL_COUNTERS NULL |
Definition at line 62 of file rtpdec_h264.c.
| #define NAL_MASK 0x1f |
Definition at line 64 of file rtpdec_h264.c.
|
static |
Definition at line 68 of file rtpdec_h264.c.
Referenced by sdp_parse_fmtp_config_h264().
| int ff_h264_parse_sprop_parameter_sets | ( | AVFormatContext * | s, |
| uint8_t ** | data_ptr, | ||
| int * | size_ptr, | ||
| const char * | value | ||
| ) |
Definition at line 97 of file rtpdec_h264.c.
Referenced by hevc_sdp_parse_fmtp_config(), and sdp_parse_fmtp_config_h264().
|
static |
Definition at line 145 of file rtpdec_h264.c.
Referenced by parse_h264_sdp_line().
| void ff_h264_parse_framesize | ( | AVCodecParameters * | par, |
| const char * | p | ||
| ) |
Definition at line 185 of file rtpdec_h264.c.
Referenced by hevc_parse_sdp_line(), and parse_h264_sdp_line().
| int ff_h264_handle_aggregated_packet | ( | AVFormatContext * | ctx, |
| PayloadContext * | data, | ||
| AVPacket * | pkt, | ||
| const uint8_t * | buf, | ||
| int | len, | ||
| int | skip_between, | ||
| int * | nal_counters, | ||
| int | nal_mask | ||
| ) |
Definition at line 207 of file rtpdec_h264.c.
Referenced by h264_handle_packet(), and hevc_handle_packet().
| int ff_h264_handle_frag_packet | ( | AVPacket * | pkt, |
| const uint8_t * | buf, | ||
| int | len, | ||
| int | start_bit, | ||
| const uint8_t * | nal_header, | ||
| int | nal_header_len | ||
| ) |
Definition at line 265 of file rtpdec_h264.c.
Referenced by h264_handle_packet_fu_a(), and hevc_handle_packet().
|
static |
Definition at line 286 of file rtpdec_h264.c.
Referenced by h264_handle_packet().
|
static |
Definition at line 313 of file rtpdec_h264.c.
|
static |
Definition at line 377 of file rtpdec_h264.c.
|
static |
Definition at line 390 of file rtpdec_h264.c.
|
static |
Definition at line 66 of file rtpdec_h264.c.
Referenced by ff_h264_handle_aggregated_packet(), ff_h264_handle_frag_packet(), ff_h264_parse_sprop_parameter_sets(), and h264_handle_packet().
| const RTPDynamicProtocolHandler ff_h264_dynamic_handler |
Definition at line 412 of file rtpdec_h264.c.
1.8.17