FFmpeg
Data Structures | Macros | Functions
vf_stack_vaapi.c File Reference
#include "config_components.h"
#include "libavutil/opt.h"
#include "libavutil/common.h"
#include "libavutil/pixdesc.h"
#include "libavutil/eval.h"
#include "libavutil/hwcontext.h"
#include "libavutil/avstring.h"
#include "libavutil/avassert.h"
#include "libavutil/imgutils.h"
#include "libavutil/mathematics.h"
#include "libavutil/parseutils.h"
#include "libavutil/mem.h"
#include "internal.h"
#include "filters.h"
#include "formats.h"
#include "video.h"
#include "framesync.h"
#include "vaapi_vpp.h"
#include "stack_internal.h"
#include "stack_internal.c"

Go to the source code of this file.

Data Structures

struct  StackVAAPIContext
 

Macros

#define HSTACK_NAME   "hstack_vaapi"
 
#define VSTACK_NAME   "vstack_vaapi"
 
#define XSTACK_NAME   "xstack_vaapi"
 
#define HWContext   VAAPIVPPContext
 
#define StackHWContext   StackVAAPIContext
 

Functions

static int process_frame (FFFrameSync *fs)
 
static int config_output (AVFilterLink *outlink)
 
static int vaapi_stack_init (AVFilterContext *avctx)
 
static av_cold void vaapi_stack_uninit (AVFilterContext *avctx)
 
static int vaapi_stack_query_formats (AVFilterContext *avctx)
 

Detailed Description

Hardware accelerated hstack, vstack and xstack filters based on VA-API

Definition in file vf_stack_vaapi.c.

Macro Definition Documentation

◆ HSTACK_NAME

#define HSTACK_NAME   "hstack_vaapi"

Definition at line 45 of file vf_stack_vaapi.c.

◆ VSTACK_NAME

#define VSTACK_NAME   "vstack_vaapi"

Definition at line 46 of file vf_stack_vaapi.c.

◆ XSTACK_NAME

#define XSTACK_NAME   "xstack_vaapi"

Definition at line 47 of file vf_stack_vaapi.c.

◆ HWContext

#define HWContext   VAAPIVPPContext

Definition at line 48 of file vf_stack_vaapi.c.

◆ StackHWContext

#define StackHWContext   StackVAAPIContext

Definition at line 49 of file vf_stack_vaapi.c.

Function Documentation

◆ process_frame()

static int process_frame ( FFFrameSync fs)
static

Definition at line 58 of file vf_stack_vaapi.c.

◆ config_output()

static int config_output ( AVFilterLink outlink)
static

Definition at line 134 of file vf_stack_vaapi.c.

◆ vaapi_stack_init()

static int vaapi_stack_init ( AVFilterContext avctx)
static

Definition at line 192 of file vf_stack_vaapi.c.

◆ vaapi_stack_uninit()

static av_cold void vaapi_stack_uninit ( AVFilterContext avctx)
static

Definition at line 213 of file vf_stack_vaapi.c.

◆ vaapi_stack_query_formats()

static int vaapi_stack_query_formats ( AVFilterContext avctx)
static

Definition at line 222 of file vf_stack_vaapi.c.