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

Go to the source code of this file.

Data Structures

struct  decklink_ctx
 
class  decklink_frame
 
class  decklink_callback
 

Macros

#define DECKLINK_STR   const char *
 
#define DECKLINK_STRDUP   av_strdup
 

Typedefs

typedef uint32_t buffercount_type
 

Functions

static HRESULT IDeckLink_GetDisplayName (IDeckLink *This, const char **displayName)
 
static int decklink_set_format (struct decklink_ctx *ctx, int width, int height, int tb_num, int tb_den)
 
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)
 

Macro Definition Documentation

#define DECKLINK_STR   const char *

Definition at line 169 of file decklink_enc.cpp.

Referenced by IDeckLink_GetDisplayName().

#define DECKLINK_STRDUP   av_strdup

Definition at line 170 of file decklink_enc.cpp.

Referenced by IDeckLink_GetDisplayName().

Typedef Documentation

typedef uint32_t buffercount_type

Definition at line 28 of file decklink_enc.cpp.

Function Documentation

static HRESULT IDeckLink_GetDisplayName ( IDeckLink *  This,
const char **  displayName 
)
static

Definition at line 173 of file decklink_enc.cpp.

Referenced by ff_decklink_write_header().

static int decklink_set_format ( struct decklink_ctx ctx,
int  width,
int  height,
int  tb_num,
int  tb_den 
)
static

Definition at line 184 of file decklink_enc.cpp.

Referenced by decklink_setup_video().

static int decklink_setup_video ( AVFormatContext avctx,
AVStream st 
)
static

Definition at line 226 of file decklink_enc.cpp.

Referenced by ff_decklink_write_header().

static int decklink_setup_audio ( AVFormatContext avctx,
AVStream st 
)
static

Definition at line 276 of file decklink_enc.cpp.

Referenced by ff_decklink_write_header().

av_cold int ff_decklink_write_trailer ( AVFormatContext avctx)

Definition at line 317 of file decklink_enc.cpp.

static int decklink_write_video_packet ( AVFormatContext avctx,
AVPacket pkt 
)
static

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

Referenced by ff_decklink_write_packet().

av_cold int ff_decklink_write_header ( AVFormatContext avctx)

Definition at line 449 of file decklink_enc.cpp.

int ff_decklink_write_packet ( AVFormatContext avctx,
AVPacket pkt 
)

Definition at line 572 of file decklink_enc.cpp.