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...
 
enum AVPixelFormat hw_format
 If NONE, backend only supports software frames. More...
 

Detailed Description

Definition at line 133 of file ops_dispatch.h.

Field Documentation

◆ name

const char* SwsOpBackend::name

Definition at line 134 of file ops_dispatch.h.

Referenced by check_ops(), and compile_backend().

◆ flags

SwsBackend SwsOpBackend::flags

Definition at line 135 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.

May modify ops freely; the original list will be freed automatically by the caller.

Returns 0 or a negative error code.

Definition at line 143 of file ops_dispatch.h.

Referenced by compile_backend().

◆ 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 150 of file ops_dispatch.h.

Referenced by check_ops(), and ff_sws_ops_compile().


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