All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
vf_hwupload.c File Reference
#include "libavutil/buffer.h"
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_internal.h"
#include "libavutil/log.h"
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"

Go to the source code of this file.

Data Structures

struct  HWUploadContext


static int hwupload_query_formats (AVFilterContext *avctx)
static int hwupload_config_output (AVFilterLink *outlink)
static int hwupload_filter_frame (AVFilterLink *link, AVFrame *input)
static av_cold void hwupload_uninit (AVFilterContext *avctx)


static const AVClass hwupload_class
static const AVFilterPad hwupload_inputs []
static const AVFilterPad hwupload_outputs []
AVFilter ff_vf_hwupload

Function Documentation

static int hwupload_query_formats ( AVFilterContext avctx)

Definition at line 41 of file vf_hwupload.c.

static int hwupload_config_output ( AVFilterLink outlink)

Definition at line 98 of file vf_hwupload.c.

static int hwupload_filter_frame ( AVFilterLink link,
AVFrame input 

Definition at line 153 of file vf_hwupload.c.

static av_cold void hwupload_uninit ( AVFilterContext avctx)

Definition at line 199 of file vf_hwupload.c.

Variable Documentation

const AVClass hwupload_class
Initial value:
= {
.class_name = "hwupload",
.item_name = av_default_item_name,
.option = NULL,
#define NULL
Definition: coverity.c:32
Definition: version.h:70

Definition at line 207 of file vf_hwupload.c.

const AVFilterPad hwupload_inputs[]
Initial value:
= {
.name = "default",
.filter_frame = hwupload_filter_frame,
{ NULL }
#define NULL
Definition: coverity.c:32
static int hwupload_filter_frame(AVFilterLink *link, AVFrame *input)
Definition: vf_hwupload.c:153

Definition at line 214 of file vf_hwupload.c.

const AVFilterPad hwupload_outputs[]
Initial value:
= {
.name = "default",
.config_props = hwupload_config_output,
{ NULL }
#define NULL
Definition: coverity.c:32
static int hwupload_config_output(AVFilterLink *outlink)
Definition: vf_hwupload.c:98

Definition at line 223 of file vf_hwupload.c.

AVFilter ff_vf_hwupload
Initial value:
= {
.name = "hwupload",
.description = NULL_IF_CONFIG_SMALL("Upload a normal frame to a hardware frame"),
.uninit = hwupload_uninit,
.query_formats = hwupload_query_formats,
.priv_size = sizeof(HWUploadContext),
.priv_class = &hwupload_class,
static int hwupload_query_formats(AVFilterContext *avctx)
Definition: vf_hwupload.c:41
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:176
static const AVFilterPad outputs[]
Definition: af_afftfilt.c:386
static const AVFilterPad inputs[]
Definition: af_afftfilt.c:376
static av_cold void hwupload_uninit(AVFilterContext *avctx)
Definition: vf_hwupload.c:199
static const AVFilterPad hwupload_outputs[]
Definition: vf_hwupload.c:223
static const AVFilterPad hwupload_inputs[]
Definition: vf_hwupload.c:214
static const AVClass hwupload_class
Definition: vf_hwupload.c:207

Definition at line 232 of file vf_hwupload.c.