FFmpeg
|
#include <string.h>
#include "libavutil/avstring.h"
#include "libavutil/pixdesc.h"
#include "libavfilter/buffersink.h"
#include "ffmpeg.h"
Go to the source code of this file.
Functions | |
HWDevice * | hw_device_get_by_type (enum AVHWDeviceType type) |
HWDevice * | hw_device_get_by_name (const char *name) |
static HWDevice * | hw_device_add (void) |
static char * | hw_device_default_name (enum AVHWDeviceType type) |
int | hw_device_init_from_string (const char *arg, HWDevice **dev_out) |
int | hw_device_init_from_type (enum AVHWDeviceType type, const char *device, HWDevice **dev_out) |
void | hw_device_free_all (void) |
AVBufferRef * | hw_device_for_filter (void) |
Get a hardware device to be used with this filtergraph. More... | |
Variables | |
static int | nb_hw_devices |
static HWDevice ** | hw_devices |
HWDevice* hw_device_get_by_type | ( | enum AVHWDeviceType | type | ) |
Definition at line 30 of file ffmpeg_hw.c.
Referenced by hw_device_match_by_codec(), hw_device_setup_for_decode(), and hw_device_setup_for_encode().
HWDevice* hw_device_get_by_name | ( | const char * | name | ) |
Definition at line 44 of file ffmpeg_hw.c.
Referenced by hw_device_default_name(), hw_device_init_from_string(), hw_device_setup_for_decode(), and opt_filter_hw_device().
|
static |
Definition at line 54 of file ffmpeg_hw.c.
Referenced by hw_device_init_from_string(), and hw_device_init_from_type().
|
static |
Definition at line 69 of file ffmpeg_hw.c.
Referenced by hw_device_init_from_string(), and hw_device_init_from_type().
Definition at line 94 of file ffmpeg_hw.c.
Referenced by opt_init_hw_device().
int hw_device_init_from_type | ( | enum AVHWDeviceType | type, |
const char * | device, | ||
HWDevice ** | dev_out | ||
) |
Definition at line 245 of file ffmpeg_hw.c.
Referenced by hw_device_setup_for_decode().
void hw_device_free_all | ( | void | ) |
Definition at line 288 of file ffmpeg_hw.c.
Referenced by ffmpeg_cleanup().
AVBufferRef* hw_device_for_filter | ( | void | ) |
Get a hardware device to be used with this filtergraph.
The returned reference is owned by the callee, the caller must ref it explicitly for long-term use.
Definition at line 300 of file ffmpeg_hw.c.
Referenced by configure_filtergraph().
|
static |
Definition at line 27 of file ffmpeg_hw.c.
Referenced by hw_device_add(), hw_device_for_filter(), hw_device_free_all(), hw_device_get_by_name(), and hw_device_get_by_type().
|
static |
Definition at line 28 of file ffmpeg_hw.c.
Referenced by hw_device_add(), hw_device_for_filter(), hw_device_free_all(), hw_device_get_by_name(), and hw_device_get_by_type().