FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
vidstabutils.c File Reference
#include "vidstabutils.h"

Go to the source code of this file.

Data Structures

struct  VS2AVLogCtx
 struct to hold a valid context for logging from within vid.stab lib More...
 

Functions

VSPixelFormat av_2_vs_pixel_format (AVFilterContext *ctx, enum AVPixelFormat pf)
 convert AV's pixelformat to vid.stab pixelformat
 
static int vs_2_av_log_wrapper (int type, const char *tag, const char *format,...)
 wrapper to log vs_log into av_log
 
void vs_set_mem_and_log_functions (void)
 sets the memory allocation function and logging constants to av versions
 

Function Documentation

VSPixelFormat av_2_vs_pixel_format ( AVFilterContext ctx,
enum AVPixelFormat  pf 
)

convert AV's pixelformat to vid.stab pixelformat

converts the pixelformat of avlib into the one of the vid.stab library

Definition at line 24 of file vidstabutils.c.

Referenced by config_input().

static int vs_2_av_log_wrapper ( int  type,
const char *  tag,
const char *  format,
  ... 
)
static

wrapper to log vs_log into av_log

Definition at line 50 of file vidstabutils.c.

Referenced by vs_set_mem_and_log_functions().

void vs_set_mem_and_log_functions ( void  )

sets the memory allocation function and logging constants to av versions

Definition at line 69 of file vidstabutils.c.

Referenced by init().