FFmpeg
Data Structures | Functions
decklink_enc.cpp File Reference
#include <atomic>
#include "libavformat/internal.h"
#include <DeckLinkAPI.h>
#include "libavformat/avformat.h"
#include "libavcodec/bytestream.h"
#include "libavutil/frame.h"
#include "libavutil/internal.h"
#include "libavutil/imgutils.h"
#include "avdevice.h"
#include "decklink_common.h"
#include "decklink_enc.h"

Go to the source code of this file.

Data Structures

class  decklink_frame
 
class  decklink_output_callback
 

Functions

static int decklink_setup_video (AVFormatContext *avctx, AVStream *st)
 
static int decklink_setup_audio (AVFormatContext *avctx, AVStream *st)
 
static int create_s337_payload (AVPacket *pkt, uint8_t **outbuf, int *outsize)
 
static int decklink_setup_subtitle (AVFormatContext *avctx, AVStream *st)
 
static int decklink_setup_data (AVFormatContext *avctx, AVStream *st)
 
av_cold int ff_decklink_write_trailer (AVFormatContext *avctx)
 
static int decklink_write_video_packet (AVFormatContext *avctx, AVPacket *pkt)
 
static int decklink_write_audio_packet (AVFormatContext *avctx, AVPacket *pkt)
 
static int decklink_write_subtitle_packet (AVFormatContext *avctx, AVPacket *pkt)
 
static int decklink_write_data_packet (AVFormatContext *avctx, AVPacket *pkt)
 
av_cold int ff_decklink_write_header (AVFormatContext *avctx)
 
int ff_decklink_write_packet (AVFormatContext *avctx, AVPacket *pkt)
 
int ff_decklink_list_output_devices (AVFormatContext *avctx, struct AVDeviceInfoList *device_list)
 

Function Documentation

◆ decklink_setup_video()

static int decklink_setup_video ( AVFormatContext avctx,
AVStream st 
)
static

Definition at line 167 of file decklink_enc.cpp.

Referenced by ff_decklink_write_header().

◆ decklink_setup_audio()

static int decklink_setup_audio ( AVFormatContext avctx,
AVStream st 
)
static

Definition at line 238 of file decklink_enc.cpp.

Referenced by ff_decklink_write_header().

◆ create_s337_payload()

static int create_s337_payload ( AVPacket pkt,
uint8_t **  outbuf,
int *  outsize 
)
static

Definition at line 293 of file decklink_enc.cpp.

Referenced by decklink_write_audio_packet().

◆ decklink_setup_subtitle()

static int decklink_setup_subtitle ( AVFormatContext avctx,
AVStream st 
)
static

Definition at line 330 of file decklink_enc.cpp.

Referenced by ff_decklink_write_header().

◆ decklink_setup_data()

static int decklink_setup_data ( AVFormatContext avctx,
AVStream st 
)
static

Definition at line 349 of file decklink_enc.cpp.

Referenced by ff_decklink_write_header().

◆ ff_decklink_write_trailer()

av_cold int ff_decklink_write_trailer ( AVFormatContext avctx)

Definition at line 368 of file decklink_enc.cpp.

◆ decklink_write_video_packet()

static int decklink_write_video_packet ( AVFormatContext avctx,
AVPacket pkt 
)
static

Definition at line 680 of file decklink_enc.cpp.

Referenced by ff_decklink_write_packet().

◆ decklink_write_audio_packet()

static int decklink_write_audio_packet ( AVFormatContext avctx,
AVPacket pkt 
)
static

Definition at line 777 of file decklink_enc.cpp.

Referenced by ff_decklink_write_packet().

◆ decklink_write_subtitle_packet()

static int decklink_write_subtitle_packet ( AVFormatContext avctx,
AVPacket pkt 
)
static

Definition at line 816 of file decklink_enc.cpp.

Referenced by ff_decklink_write_packet().

◆ decklink_write_data_packet()

static int decklink_write_data_packet ( AVFormatContext avctx,
AVPacket pkt 
)
static

Definition at line 826 of file decklink_enc.cpp.

Referenced by ff_decklink_write_packet().

◆ ff_decklink_write_header()

av_cold int ff_decklink_write_header ( AVFormatContext avctx)

Definition at line 840 of file decklink_enc.cpp.

◆ ff_decklink_write_packet()

int ff_decklink_write_packet ( AVFormatContext avctx,
AVPacket pkt 
)

Definition at line 938 of file decklink_enc.cpp.

◆ ff_decklink_list_output_devices()

int ff_decklink_list_output_devices ( AVFormatContext avctx,
struct AVDeviceInfoList device_list 
)

Definition at line 954 of file decklink_enc.cpp.