FFmpeg
Functions | Variables
sws_ops.c File Reference
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/mem.h"
#include "libavutil/pixdesc.h"
#include "libavutil/tree.h"
#include "libswscale/ops.h"
#include "libswscale/ops_dispatch.h"
#include "libswscale/format.h"

Go to the source code of this file.

Functions

static int print_ops (SwsContext *ctx, SwsOpList *ops, SwsCompiledOp *out)
 
static int print_passes (SwsContext *ctx, void *graph, SwsOpList *ops)
 
static int cmp_str (const void *a, const void *b)
 
static int register_op (SwsContext *ctx, void *opaque, SwsOp *op)
 
static int print_and_free_summary (void *opaque, void *key)
 
static void log_stdout (void *avcl, int level, const char *fmt, va_list vl)
 
int main (int argc, char **argv)
 

Variables

static int pass_idx
 
static const SwsOpBackend backend_print
 

Function Documentation

◆ print_ops()

static int print_ops ( SwsContext ctx,
SwsOpList ops,
SwsCompiledOp out 
)
static

Definition at line 37 of file sws_ops.c.

◆ print_passes()

static int print_passes ( SwsContext ctx,
void *  graph,
SwsOpList ops 
)
static

Definition at line 69 of file sws_ops.c.

Referenced by main().

◆ cmp_str()

static int cmp_str ( const void *  a,
const void *  b 
)
static

Definition at line 91 of file sws_ops.c.

Referenced by register_op().

◆ register_op()

static int register_op ( SwsContext ctx,
void *  opaque,
SwsOp op 
)
static

Definition at line 96 of file sws_ops.c.

Referenced by main().

◆ print_and_free_summary()

static int print_and_free_summary ( void *  opaque,
void *  key 
)
static

Definition at line 149 of file sws_ops.c.

Referenced by main().

◆ log_stdout()

static void log_stdout ( void *  avcl,
int  level,
const char *  fmt,
va_list  vl 
)
static

Definition at line 157 of file sws_ops.c.

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 166 of file sws_ops.c.

Variable Documentation

◆ pass_idx

int pass_idx
static

Definition at line 35 of file sws_ops.c.

Referenced by print_ops(), and print_passes().

◆ backend_print

const SwsOpBackend backend_print
static
Initial value:
= {
.name = "print_ops",
.compile = print_ops,
}

Definition at line 64 of file sws_ops.c.

Referenced by print_passes().

print_ops
static int print_ops(SwsContext *ctx, SwsOpList *ops, SwsCompiledOp *out)
Definition: sws_ops.c:37