|
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 | IDeckLinkInput_v14_2_1 IDeckLinkInput |
| #define | IDeckLinkInputCallback_v14_2_1 IDeckLinkInputCallback |
| #define | IDeckLinkMemoryAllocator_v14_2_1 IDeckLinkMemoryAllocator |
| #define | IDeckLinkOutput_v14_2_1 IDeckLinkOutput |
| #define | IDeckLinkVideoFrame_v14_2_1 IDeckLinkVideoFrame |
| #define | IDeckLinkVideoInputFrame_v14_2_1 IDeckLinkVideoInputFrame |
| #define | IDeckLinkVideoOutputCallback_v14_2_1 IDeckLinkVideoOutputCallback |
| #define | IID_IDeckLinkInput_v14_2_1 IID_IDeckLinkInput |
| #define | IID_IDeckLinkInputCallback_v14_2_1 IID_IDeckLinkInputCallback |
| #define | IID_IDeckLinkMemoryAllocator_v14_2_1 IID_IDeckLinkMemoryAllocator |
| #define | IID_IDeckLinkOutput_v14_2_1 IID_IDeckLinkOutput |
| #define | IID_IDeckLinkVideoFrame_v14_2_1 IID_IDeckLinkVideoFrame |
| #define | IID_IDeckLinkVideoInputFrame_v14_2_1 IID_IDeckLinkVideoInputFrame |
| #define | IID_IDeckLinkVideoOutputCallback_v14_2_1 IID_IDeckLinkVideoOutputCallback |
| #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 IDeckLinkInput_v14_2_1 IDeckLinkInput |
Definition at line 33 of file decklink_common.h.
| #define IDeckLinkInputCallback_v14_2_1 IDeckLinkInputCallback |
Definition at line 34 of file decklink_common.h.
| #define IDeckLinkMemoryAllocator_v14_2_1 IDeckLinkMemoryAllocator |
Definition at line 35 of file decklink_common.h.
| #define IDeckLinkOutput_v14_2_1 IDeckLinkOutput |
Definition at line 36 of file decklink_common.h.
| #define IDeckLinkVideoFrame_v14_2_1 IDeckLinkVideoFrame |
Definition at line 37 of file decklink_common.h.
| #define IDeckLinkVideoInputFrame_v14_2_1 IDeckLinkVideoInputFrame |
Definition at line 38 of file decklink_common.h.
| #define IDeckLinkVideoOutputCallback_v14_2_1 IDeckLinkVideoOutputCallback |
Definition at line 39 of file decklink_common.h.
| #define IID_IDeckLinkInput_v14_2_1 IID_IDeckLinkInput |
Definition at line 40 of file decklink_common.h.
| #define IID_IDeckLinkInputCallback_v14_2_1 IID_IDeckLinkInputCallback |
Definition at line 41 of file decklink_common.h.
| #define IID_IDeckLinkMemoryAllocator_v14_2_1 IID_IDeckLinkMemoryAllocator |
Definition at line 42 of file decklink_common.h.
| #define IID_IDeckLinkOutput_v14_2_1 IID_IDeckLinkOutput |
Definition at line 43 of file decklink_common.h.
| #define IID_IDeckLinkVideoFrame_v14_2_1 IID_IDeckLinkVideoFrame |
Definition at line 44 of file decklink_common.h.
| #define IID_IDeckLinkVideoInputFrame_v14_2_1 IID_IDeckLinkVideoInputFrame |
Definition at line 45 of file decklink_common.h.
| #define IID_IDeckLinkVideoOutputCallback_v14_2_1 IID_IDeckLinkVideoOutputCallback |
Definition at line 46 of file decklink_common.h.
| #define DECKLINK_BOOL bool |
Definition at line 63 of file decklink_common.h.
| #define DECKLINK_STR const char * |
Definition at line 90 of file decklink_common.h.
| #define DECKLINK_STRDUP av_strdup |
Definition at line 91 of file decklink_common.h.
Definition at line 93 of file decklink_common.h.
| enum decklink_direction_t |
| Enumerator | |
|---|---|
| DIRECTION_IN | |
| DIRECTION_OUT | |
Definition at line 196 of file decklink_common.h.
|
inlinestatic |
Definition at line 100 of file decklink_common.h.
Referenced by decklink_frame::QueryInterface(), decklink_allocator::QueryInterface(), decklink_output_callback::QueryInterface(), and decklink_input_callback::QueryInterface().
| int ff_decklink_set_configs | ( | AVFormatContext * | avctx, |
| decklink_direction_t | direction | ||
| ) |
Definition at line 169 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 262 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 394 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 508 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 581 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 602 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 653 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 670 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 398 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 407 of file decklink_common.cpp.
Referenced by ff_decklink_packet_queue_end().
| void ff_decklink_packet_queue_end | ( | DecklinkPacketQueue * | q | ) |
Definition at line 420 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 427 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 436 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 468 of file decklink_common.cpp.
Referenced by ff_decklink_read_packet().
| int64_t ff_decklink_packet_queue_peekpts | ( | DecklinkPacketQueue * | q | ) |
Definition at line 492 of file decklink_common.cpp.
|
static |
Definition at line 198 of file decklink_common.h.
Referenced by ff_decklink_read_header().
|
static |
Definition at line 207 of file decklink_common.h.
Referenced by ff_decklink_read_header().
|
static |
Definition at line 217 of file decklink_common.h.
Referenced by ff_decklink_read_header().
|
static |
Definition at line 227 of file decklink_common.h.
Referenced by ff_decklink_read_header().
|
static |
Definition at line 243 of file decklink_common.h.
Referenced by ff_decklink_write_header().
1.8.17