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

Go to the source code of this file.

Functions

static int print_ops (SwsContext *ctx, const SwsOpList *ops, SwsCompiledOp *out)
 
static int print_passes (SwsContext *ctx, void *graph, SwsOpList *ops)
 
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,
const SwsOpList ops,
SwsCompiledOp out 
)
static

Definition at line 35 of file sws_ops.c.

◆ print_passes()

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

Definition at line 76 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 98 of file sws_ops.c.

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 107 of file sws_ops.c.

Variable Documentation

◆ pass_idx

int pass_idx
static

Definition at line 33 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 71 of file sws_ops.c.

Referenced by print_passes().

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