FFmpeg
Data Fields
SwsOpBackend Struct Reference

#include <ops_dispatch.h>

Data Fields

const char * name
 
SwsBackend flags
 
int(* compile )(SwsContext *ctx, const SwsOpList *ops, SwsCompiledOp *out)
 Compile an operation list to an implementation chain. More...
 
int(* compile_uops )(SwsContext *ctx, const SwsUOpList *uops, SwsCompiledOp *out)
 Alternative to compile that takes a list of micro-ops directly. More...
 
enum AVPixelFormat hw_format
 If NONE, backend only supports software frames. More...
 

Detailed Description

Definition at line 134 of file ops_dispatch.h.

Field Documentation

◆ name

const char* SwsOpBackend::name

Definition at line 135 of file ops_dispatch.h.

Referenced by compile_backend(), and run_test().

◆ flags

SwsBackend SwsOpBackend::flags

Definition at line 136 of file ops_dispatch.h.

Referenced by ff_sws_ops_compile().

◆ compile

int(* SwsOpBackend::compile) (SwsContext *ctx, const SwsOpList *ops, SwsCompiledOp *out)

Compile an operation list to an implementation chain.

Returns 0 or a negative error code.

Definition at line 143 of file ops_dispatch.h.

Referenced by compile_backend().

◆ compile_uops

int(* SwsOpBackend::compile_uops) (SwsContext *ctx, const SwsUOpList *uops, SwsCompiledOp *out)

Alternative to compile that takes a list of micro-ops directly.

Definition at line 148 of file ops_dispatch.h.

Referenced by run_test().

◆ hw_format

enum AVPixelFormat SwsOpBackend::hw_format

If NONE, backend only supports software frames.

Otherwise, frame hardware format must match hw_format for the backend to be used.

Definition at line 155 of file ops_dispatch.h.

Referenced by ff_sws_ops_compile(), and run_test().


The documentation for this struct was generated from the following file: