FFmpeg
Data Structures | Functions
decklink_enc.cpp File Reference
#include <atomic>
#include "libavformat/internal.h"
#include <DeckLinkAPI.h>
#include "libavformat/avformat.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)
 
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)
 
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

static int decklink_setup_video ( AVFormatContext avctx,
AVStream st 
)
static

Definition at line 164 of file decklink_enc.cpp.

Referenced by ff_decklink_write_header().

static int decklink_setup_audio ( AVFormatContext avctx,
AVStream st 
)
static

Definition at line 235 of file decklink_enc.cpp.

Referenced by ff_decklink_write_header().

av_cold int ff_decklink_write_trailer ( AVFormatContext avctx)

Definition at line 276 of file decklink_enc.cpp.

static int decklink_write_video_packet ( AVFormatContext avctx,
AVPacket pkt 
)
static

Definition at line 431 of file decklink_enc.cpp.

Referenced by ff_decklink_write_packet().

static int decklink_write_audio_packet ( AVFormatContext avctx,
AVPacket pkt 
)
static

Definition at line 523 of file decklink_enc.cpp.

Referenced by ff_decklink_write_packet().

av_cold int ff_decklink_write_header ( AVFormatContext avctx)

Definition at line 546 of file decklink_enc.cpp.

int ff_decklink_write_packet ( AVFormatContext avctx,
AVPacket pkt 
)

Definition at line 619 of file decklink_enc.cpp.

int ff_decklink_list_output_devices ( AVFormatContext avctx,
struct AVDeviceInfoList device_list 
)

Definition at line 635 of file decklink_enc.cpp.