FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
rtpenc_hevc.c File Reference
#include "libavutil/intreadwrite.h"
#include "avc.h"
#include "avformat.h"
#include "rtpenc.h"

Go to the source code of this file.

Macros

#define RTP_HEVC_HEADERS_SIZE   3
 

Functions

static void flush_buffered (AVFormatContext *s1, int last)
 
static void nal_send (AVFormatContext *ctx, const uint8_t *buf, int len, int last_packet_of_frame)
 
void ff_rtp_send_hevc (AVFormatContext *ctx, const uint8_t *frame_buf, int frame_size)
 

Macro Definition Documentation

#define RTP_HEVC_HEADERS_SIZE   3

Definition at line 28 of file rtpenc_hevc.c.

Referenced by nal_send().

Function Documentation

static void flush_buffered ( AVFormatContext s1,
int  last 
)
static

Definition at line 30 of file rtpenc_hevc.c.

Referenced by ff_rtp_send_hevc(), and nal_send().

static void nal_send ( AVFormatContext ctx,
const uint8_t buf,
int  len,
int  last_packet_of_frame 
)
static

Definition at line 44 of file rtpenc_hevc.c.

Referenced by ff_rtp_send_hevc().

void ff_rtp_send_hevc ( AVFormatContext ctx,
const uint8_t frame_buf,
int  frame_size 
)

Definition at line 135 of file rtpenc_hevc.c.

Referenced by rtp_write_packet().