FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
vf_program_opencl.c File Reference
#include "libavutil/avstring.h"
#include "libavutil/log.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "framesync.h"
#include "internal.h"
#include "opencl.h"
#include "video.h"

Go to the source code of this file.

Data Structures

struct  ProgramOpenCLContext
 

Macros

#define OFFSET(x)   offsetof(ProgramOpenCLContext, x)
 
#define FLAGS   (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM)
 

Functions

static int program_opencl_load (AVFilterContext *avctx)
 
static int program_opencl_run (AVFilterContext *avctx)
 
static int program_opencl_request_frame (AVFilterLink *outlink)
 
static int program_opencl_filter (FFFrameSync *fs)
 
static int program_opencl_activate (AVFilterContext *avctx)
 
static int program_opencl_config_output (AVFilterLink *outlink)
 
static av_cold int program_opencl_init (AVFilterContext *avctx)
 
static av_cold void program_opencl_uninit (AVFilterContext *avctx)
 

Macro Definition Documentation

#define OFFSET (   x)    offsetof(ProgramOpenCLContext, x)

Definition at line 341 of file vf_program_opencl.c.

Definition at line 342 of file vf_program_opencl.c.

Function Documentation

static int program_opencl_load ( AVFilterContext avctx)
static

Definition at line 50 of file vf_program_opencl.c.

Referenced by program_opencl_run().

static int program_opencl_run ( AVFilterContext avctx)
static

Definition at line 84 of file vf_program_opencl.c.

Referenced by program_opencl_filter(), and program_opencl_request_frame().

static int program_opencl_request_frame ( AVFilterLink outlink)
static

Definition at line 188 of file vf_program_opencl.c.

static int program_opencl_filter ( FFFrameSync fs)
static

Definition at line 195 of file vf_program_opencl.c.

Referenced by program_opencl_config_output().

static int program_opencl_activate ( AVFilterContext avctx)
static

Definition at line 210 of file vf_program_opencl.c.

static int program_opencl_config_output ( AVFilterLink outlink)
static

Definition at line 219 of file vf_program_opencl.c.

static av_cold int program_opencl_init ( AVFilterContext avctx)
static

Definition at line 261 of file vf_program_opencl.c.

static av_cold void program_opencl_uninit ( AVFilterContext avctx)
static

Definition at line 310 of file vf_program_opencl.c.