FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
decklink_enc.cpp File Reference
#include <atomic>
#include <DeckLinkAPI.h>
#include <pthread.h>
#include <semaphore.h>
#include "libavformat/avformat.h"
#include "libavformat/internal.h"
#include "libavutil/imgutils.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)
 

Function Documentation

static int decklink_setup_video ( AVFormatContext avctx,
AVStream st 
)
static

Definition at line 104 of file decklink_enc.cpp.

Referenced by ff_decklink_write_header().

static int decklink_setup_audio ( AVFormatContext avctx,
AVStream st 
)
static

Definition at line 154 of file decklink_enc.cpp.

Referenced by ff_decklink_write_header().

av_cold int ff_decklink_write_trailer ( AVFormatContext avctx)

Definition at line 195 of file decklink_enc.cpp.

static int decklink_write_video_packet ( AVFormatContext avctx,
AVPacket pkt 
)
static

Definition at line 221 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 288 of file decklink_enc.cpp.

Referenced by ff_decklink_write_packet().

av_cold int ff_decklink_write_header ( AVFormatContext avctx)

Definition at line 311 of file decklink_enc.cpp.

int ff_decklink_write_packet ( AVFormatContext avctx,
AVPacket pkt 
)

Definition at line 375 of file decklink_enc.cpp.