FFmpeg  4.0
Functions
vidstabutils.h File Reference
#include <vid.stab/libvidstab.h>
#include "avfilter.h"

Go to the source code of this file.

Functions

VSPixelFormat ff_av2vs_pixfmt (AVFilterContext *ctx, enum AVPixelFormat pf)
 Converts an AVPixelFormat to a VSPixelFormat. More...
 
void ff_vs_init (void)
 Initialize libvidstab. More...
 

Function Documentation

◆ ff_av2vs_pixfmt()

VSPixelFormat ff_av2vs_pixfmt ( AVFilterContext ctx,
enum AVPixelFormat  pf 
)

Converts an AVPixelFormat to a VSPixelFormat.

Parameters
[in]ctxAVFilterContext used for logging
[in]pfAVPixelFormat
Returns
a corresponding VSPixelFormat

Converts an AVPixelFormat to a VSPixelFormat.

Definition at line 24 of file vidstabutils.c.

Referenced by config_input().

◆ ff_vs_init()

void ff_vs_init ( void  )

Initialize libvidstab.

Sets the memory allocation functions and logging constants to corresponding av* versions.

Initialize libvidstab.

Definition at line 69 of file vidstabutils.c.

Referenced by init().