|
FFmpeg
|
#include <DeckLinkAPIVersion.h>#include "libavutil/mem.h"#include "libavcodec/packet_internal.h"#include "libavfilter/ccfifo.h"#include "libavutil/thread.h"#include "decklink_common_c.h"Go to the source code of this file.
Data Structures | |
| struct | DecklinkPacketQueue |
| struct | decklink_ctx |
Macros | |
| #define | IID_IDeckLinkProfileAttributes IID_IDeckLinkAttributes |
| #define | IDeckLinkProfileAttributes IDeckLinkAttributes |
| #define | DECKLINK_BOOL bool |
| #define | DECKLINK_STR const char * |
| #define | DECKLINK_STRDUP av_strdup |
| #define | DECKLINK_FREE(s) free((void *) s) |
Enumerations | |
| enum | decklink_direction_t { DIRECTION_IN, DIRECTION_OUT } |
Variables | |
| static const BMDPixelFormat | decklink_raw_format_map [] |
| static const BMDAudioConnection | decklink_audio_connection_map [] |
| static const BMDVideoConnection | decklink_video_connection_map [] |
| static const BMDTimecodeFormat | decklink_timecode_format_map [] |
| static const BMDLinkConfiguration | decklink_link_conf_map [] |
| #define IID_IDeckLinkProfileAttributes IID_IDeckLinkAttributes |
Definition at line 28 of file decklink_common.h.
| #define IDeckLinkProfileAttributes IDeckLinkAttributes |
Definition at line 29 of file decklink_common.h.
| #define DECKLINK_BOOL bool |
Definition at line 46 of file decklink_common.h.
| #define DECKLINK_STR const char * |
Definition at line 73 of file decklink_common.h.
| #define DECKLINK_STRDUP av_strdup |
Definition at line 74 of file decklink_common.h.
Definition at line 76 of file decklink_common.h.
| enum decklink_direction_t |
| Enumerator | |
|---|---|
| DIRECTION_IN | |
| DIRECTION_OUT | |
Definition at line 169 of file decklink_common.h.
| int ff_decklink_set_configs | ( | AVFormatContext * | avctx, |
| decklink_direction_t | direction | ||
| ) |
Definition at line 164 of file decklink_common.cpp.
Referenced by decklink_setup_video(), and ff_decklink_read_header().
| 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 = DIRECTION_OUT |
||
| ) |
Definition at line 257 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 | ||
| ) |
Definition at line 389 of file decklink_common.cpp.
| int ff_decklink_list_devices | ( | AVFormatContext * | avctx, |
| struct AVDeviceInfoList * | device_list, | ||
| int | show_inputs, | ||
| int | show_outputs | ||
| ) |
Definition at line 503 of file decklink_common.cpp.
Referenced by ff_decklink_list_devices_legacy(), ff_decklink_list_input_devices(), and ff_decklink_list_output_devices().
| void ff_decklink_list_devices_legacy | ( | AVFormatContext * | avctx, |
| int | show_inputs, | ||
| int | show_outputs | ||
| ) |
Definition at line 576 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 = DIRECTION_OUT |
||
| ) |
Definition at line 597 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 648 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 665 of file decklink_common.cpp.
Referenced by ff_decklink_read_header(), and ff_decklink_write_header().
| void ff_decklink_packet_queue_init | ( | AVFormatContext * | avctx, |
| DecklinkPacketQueue * | q, | ||
| int64_t | queue_size | ||
| ) |
Definition at line 393 of file decklink_common.cpp.
Referenced by ff_decklink_read_header(), and ff_decklink_write_header().
| void ff_decklink_packet_queue_flush | ( | DecklinkPacketQueue * | q | ) |
Definition at line 402 of file decklink_common.cpp.
Referenced by ff_decklink_packet_queue_end().
| void ff_decklink_packet_queue_end | ( | DecklinkPacketQueue * | q | ) |
Definition at line 415 of file decklink_common.cpp.
Referenced by ff_decklink_read_close(), and ff_decklink_write_trailer().
| unsigned long long ff_decklink_packet_queue_size | ( | DecklinkPacketQueue * | q | ) |
Definition at line 422 of file decklink_common.cpp.
Referenced by ff_decklink_packet_queue_put(), and decklink_input_callback::VideoInputFrameArrived().
| int ff_decklink_packet_queue_put | ( | DecklinkPacketQueue * | q, |
| AVPacket * | pkt | ||
| ) |
Definition at line 431 of file decklink_common.cpp.
Referenced by decklink_write_data_packet(), handle_klv(), and decklink_input_callback::VideoInputFrameArrived().
| int ff_decklink_packet_queue_get | ( | DecklinkPacketQueue * | q, |
| AVPacket * | pkt, | ||
| int | block | ||
| ) |
Definition at line 463 of file decklink_common.cpp.
Referenced by ff_decklink_read_packet().
| int64_t ff_decklink_packet_queue_peekpts | ( | DecklinkPacketQueue * | q | ) |
Definition at line 487 of file decklink_common.cpp.
|
static |
Definition at line 171 of file decklink_common.h.
Referenced by ff_decklink_read_header().
|
static |
Definition at line 180 of file decklink_common.h.
Referenced by ff_decklink_read_header().
|
static |
Definition at line 190 of file decklink_common.h.
Referenced by ff_decklink_read_header().
|
static |
Definition at line 200 of file decklink_common.h.
Referenced by ff_decklink_read_header().
|
static |
Definition at line 216 of file decklink_common.h.
Referenced by ff_decklink_write_header().
1.8.17