FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
decklink_dec.cpp File Reference
#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_dec.h"

Go to the source code of this file.

Data Structures

class  decklink_input_callback
 

Functions

static void avpacket_queue_init (AVFormatContext *avctx, AVPacketQueue *q)
 
static void avpacket_queue_flush (AVPacketQueue *q)
 
static void avpacket_queue_end (AVPacketQueue *q)
 
static unsigned long long avpacket_queue_size (AVPacketQueue *q)
 
static int avpacket_queue_put (AVPacketQueue *q, AVPacket *pkt)
 
static int avpacket_queue_get (AVPacketQueue *q, AVPacket *pkt, int block)
 
static HRESULT decklink_start_input (AVFormatContext *avctx)
 
av_cold int ff_decklink_read_close (AVFormatContext *avctx)
 
av_cold int ff_decklink_read_header (AVFormatContext *avctx)
 
int ff_decklink_read_packet (AVFormatContext *avctx, AVPacket *pkt)
 

Function Documentation

static void avpacket_queue_init ( AVFormatContext avctx,
AVPacketQueue q 
)
static

Definition at line 36 of file decklink_dec.cpp.

Referenced by ff_decklink_read_header().

static void avpacket_queue_flush ( AVPacketQueue q)
static

Definition at line 44 of file decklink_dec.cpp.

Referenced by avpacket_queue_end().

static void avpacket_queue_end ( AVPacketQueue q)
static

Definition at line 61 of file decklink_dec.cpp.

Referenced by ff_decklink_read_close().

static unsigned long long avpacket_queue_size ( AVPacketQueue q)
static
static int avpacket_queue_put ( AVPacketQueue q,
AVPacket pkt 
)
static

Definition at line 77 of file decklink_dec.cpp.

Referenced by decklink_input_callback::VideoInputFrameArrived().

static int avpacket_queue_get ( AVPacketQueue q,
AVPacket pkt,
int  block 
)
static

Definition at line 116 of file decklink_dec.cpp.

Referenced by ff_decklink_read_packet().

static HRESULT decklink_start_input ( AVFormatContext avctx)
static

Definition at line 328 of file decklink_dec.cpp.

Referenced by ff_decklink_read_header().

av_cold int ff_decklink_read_close ( AVFormatContext avctx)

Definition at line 340 of file decklink_dec.cpp.

av_cold int ff_decklink_read_header ( AVFormatContext avctx)

Definition at line 363 of file decklink_dec.cpp.

int ff_decklink_read_packet ( AVFormatContext avctx,
AVPacket pkt 
)

Definition at line 524 of file decklink_dec.cpp.