FFmpeg
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

◆ OFFSET

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

Definition at line 326 of file vf_program_opencl.c.

◆ FLAGS

Definition at line 327 of file vf_program_opencl.c.

Function Documentation

◆ program_opencl_load()

static int program_opencl_load ( AVFilterContext avctx)
static

Definition at line 50 of file vf_program_opencl.c.

Referenced by program_opencl_run().

◆ 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().

◆ program_opencl_request_frame()

static int program_opencl_request_frame ( AVFilterLink outlink)
static

Definition at line 179 of file vf_program_opencl.c.

◆ program_opencl_filter()

static int program_opencl_filter ( FFFrameSync fs)
static

Definition at line 186 of file vf_program_opencl.c.

Referenced by program_opencl_config_output().

◆ program_opencl_activate()

static int program_opencl_activate ( AVFilterContext avctx)
static

Definition at line 201 of file vf_program_opencl.c.

◆ program_opencl_config_output()

static int program_opencl_config_output ( AVFilterLink outlink)
static

Definition at line 210 of file vf_program_opencl.c.

◆ program_opencl_init()

static av_cold int program_opencl_init ( AVFilterContext avctx)
static

Definition at line 252 of file vf_program_opencl.c.

◆ program_opencl_uninit()

static av_cold void program_opencl_uninit ( AVFilterContext avctx)
static

Definition at line 298 of file vf_program_opencl.c.