FFmpeg
Data Fields
SwsOpBackend Struct Reference

#include <ops_internal.h>

Data Fields

const char * name
 
int(* compile )(SwsContext *ctx, 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 119 of file ops_internal.h.

Field Documentation

◆ name

const char* SwsOpBackend::name

Definition at line 120 of file ops_internal.h.

Referenced by check_ops().

◆ compile

int(* SwsOpBackend::compile) (SwsContext *ctx, 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 128 of file ops_internal.h.

◆ 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 135 of file ops_internal.h.


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