FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
decklink_common.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_common.h"

Go to the source code of this file.

Macros

#define DECKLINK_STR   const char *
 
#define DECKLINK_STRDUP   av_strdup
 
#define DECKLINK_FREE(s)   free((void *) s)
 

Functions

HRESULT ff_decklink_get_display_name (IDeckLink *This, const char **displayName)
 
int ff_decklink_set_format (AVFormatContext *avctx, int width, int height, int tb_num, int tb_den, decklink_direction_t direction, int num)
 
int ff_decklink_set_format (AVFormatContext *avctx, decklink_direction_t direction, int num)
 
int ff_decklink_list_devices (AVFormatContext *avctx)
 
int ff_decklink_list_formats (AVFormatContext *avctx, decklink_direction_t direction)
 

Macro Definition Documentation

#define DECKLINK_STR   const char *

Definition at line 84 of file decklink_common.cpp.

Referenced by ff_decklink_get_display_name().

#define DECKLINK_STRDUP   av_strdup

Definition at line 85 of file decklink_common.cpp.

Referenced by ff_decklink_get_display_name().

#define DECKLINK_FREE (   s)    free((void *) s)

Definition at line 87 of file decklink_common.cpp.

Referenced by ff_decklink_get_display_name().

Function Documentation

HRESULT ff_decklink_get_display_name ( IDeckLink *  This,
const char **  displayName 
)
int ff_decklink_set_format ( AVFormatContext avctx,
int  width,
int  height,
int  tb_num,
int  tb_den,
decklink_direction_t  direction,
int  num 
)
int ff_decklink_set_format ( AVFormatContext avctx,
decklink_direction_t  direction,
int  num 
)

Definition at line 176 of file decklink_common.cpp.

int ff_decklink_list_devices ( AVFormatContext avctx)

Definition at line 180 of file decklink_common.cpp.

Referenced by ff_decklink_read_header(), and ff_decklink_write_header().

int ff_decklink_list_formats ( AVFormatContext avctx,
decklink_direction_t  direction 
)

Definition at line 200 of file decklink_common.cpp.

Referenced by ff_decklink_read_header(), and ff_decklink_write_header().