FFmpeg
|
#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 "libavutil/intreadwrite.h"
#include "libavutil/bswap.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) |
#define | DECKLINK_BOOL bool |
Functions | |
HRESULT | ff_decklink_get_display_name (IDeckLink *This, const char **displayName) |
static int | decklink_select_input (AVFormatContext *avctx, BMDDeckLinkConfigurationID cfg_id) |
static DECKLINK_BOOL | field_order_eq (enum AVFieldOrder field_order, BMDFieldDominance bmd_field_order) |
int | ff_decklink_set_format (AVFormatContext *avctx, int width, int height, int tb_num, int tb_den, enum AVFieldOrder field_order, 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) |
void | ff_decklink_cleanup (AVFormatContext *avctx) |
int | ff_decklink_init_device (AVFormatContext *avctx, const char *name) |
#define DECKLINK_STR const char * |
Definition at line 88 of file decklink_common.cpp.
Referenced by ff_decklink_get_display_name().
#define DECKLINK_STRDUP av_strdup |
Definition at line 89 of file decklink_common.cpp.
Referenced by ff_decklink_get_display_name().
Definition at line 91 of file decklink_common.cpp.
Referenced by ff_decklink_get_display_name().
#define DECKLINK_BOOL bool |
Definition at line 92 of file decklink_common.cpp.
Referenced by ff_decklink_set_format().
HRESULT ff_decklink_get_display_name | ( | IDeckLink * | This, |
const char ** | displayName | ||
) |
Definition at line 95 of file decklink_common.cpp.
Referenced by ff_decklink_init_device(), and ff_decklink_list_devices().
|
static |
Definition at line 106 of file decklink_common.cpp.
Referenced by ff_decklink_list_formats(), and ff_decklink_set_format().
|
static |
Definition at line 135 of file decklink_common.cpp.
Referenced by ff_decklink_set_format().
int ff_decklink_set_format | ( | AVFormatContext * | avctx, |
int | width, | ||
int | height, | ||
int | tb_num, | ||
int | tb_den, | ||
enum AVFieldOrder | field_order, | ||
decklink_direction_t | direction, | ||
int | num | ||
) |
Definition at line 148 of file decklink_common.cpp.
Referenced by decklink_setup_video(), ff_decklink_read_header(), and ff_decklink_set_format().
int ff_decklink_set_format | ( | AVFormatContext * | avctx, |
decklink_direction_t | direction, | ||
int | num | ||
) |
Definition at line 258 of file decklink_common.cpp.
int ff_decklink_list_devices | ( | AVFormatContext * | avctx | ) |
Definition at line 262 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 282 of file decklink_common.cpp.
Referenced by ff_decklink_read_header(), and ff_decklink_write_header().
void ff_decklink_cleanup | ( | AVFormatContext * | avctx | ) |
Definition at line 333 of file decklink_common.cpp.
Referenced by ff_decklink_init_device(), ff_decklink_read_close(), ff_decklink_read_header(), ff_decklink_write_header(), and ff_decklink_write_trailer().
int ff_decklink_init_device | ( | AVFormatContext * | avctx, |
const char * | name | ||
) |
Definition at line 350 of file decklink_common.cpp.
Referenced by ff_decklink_read_header(), and ff_decklink_write_header().