libavfilter/vf_settb.c File Reference

Set timebase for the output link. More...

#include "libavutil/avstring.h"
#include "libavutil/eval.h"
#include "libavutil/rational.h"
#include "avfilter.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  SetTBContext

Enumerations

enum  var_name {
  VAR_E, VAR_PHI, VAR_PI, VAR_IN_W,
  VAR_IW, VAR_IN_H, VAR_IH, VAR_OUT_W,
  VAR_OW, VAR_OUT_H, VAR_OH, VAR_X,
  VAR_Y, VAR_N, VAR_POS, VAR_T,
  VAR_VARS_NB, VAR_E, VAR_PHI, VAR_PI,
  VAR_MAIN_W, VAR_MW, VAR_MAIN_H, VAR_MH,
  VAR_OVERLAY_W, VAR_OW, VAR_OVERLAY_H, VAR_OH,
  VAR_VARS_NB, VAR_E, VAR_INTERLACED, VAR_N,
  VAR_PHI, VAR_PI, VAR_POS, VAR_PREV_INPTS,
  VAR_PREV_OUTPTS, VAR_PTS, VAR_STARTPTS, VAR_TB,
  VAR_VARS_NB, VAR_E, VAR_PHI, VAR_PI,
  VAR_AVTB, VAR_INTB, VAR_VARS_NB, VAR_E,
  VAR_PHI, VAR_PI, VAR_AVTB, VAR_VARS_NB
}

Functions

static av_cold int init (AVFilterContext *ctx, const char *args, void *opaque)
static int config_output_props (AVFilterLink *outlink)
static void start_frame (AVFilterLink *inlink, AVFilterBufferRef *picref)

Variables

static const char * var_names []
AVFilter avfilter_vf_settb


Detailed Description

Set timebase for the output link.

Definition in file vf_settb.c.


Enumeration Type Documentation

enum var_name

Enumerator:
VAR_E 
VAR_PHI 
VAR_PI 
VAR_IN_W 
VAR_IW 
VAR_IN_H 
VAR_IH 
VAR_OUT_W 
VAR_OW 
VAR_OUT_H 
VAR_OH 
VAR_X 
VAR_Y 
VAR_N 
VAR_POS 
VAR_T 
VAR_VARS_NB 
VAR_E 
VAR_PHI 
VAR_PI 
VAR_MAIN_W 
VAR_MW 
VAR_MAIN_H 
VAR_MH 
VAR_OVERLAY_W 
VAR_OW 
VAR_OVERLAY_H 
VAR_OH 
VAR_VARS_NB 
VAR_E 
VAR_INTERLACED 
VAR_N 
VAR_PHI 
VAR_PI 
VAR_POS 
VAR_PREV_INPTS 
VAR_PREV_OUTPTS 
VAR_PTS 
VAR_STARTPTS 
VAR_TB 
VAR_VARS_NB 
VAR_E 
VAR_PHI 
VAR_PI 
VAR_AVTB 
VAR_INTB 
VAR_VARS_NB 
VAR_E 
VAR_PHI 
VAR_PI 
VAR_AVTB 
VAR_VARS_NB 

Definition at line 41 of file vf_settb.c.


Function Documentation

static int config_output_props ( AVFilterLink outlink  )  [static]

Definition at line 66 of file vf_settb.c.

static av_cold int init ( AVFilterContext ctx,
const char *  args,
void *  opaque 
) [static]

Definition at line 55 of file vf_settb.c.

static void start_frame ( AVFilterLink inlink,
AVFilterBufferRef picref 
) [static]

Definition at line 105 of file vf_settb.c.


Variable Documentation

Initial value:

 {
    .name      = "settb",
    .description = NULL_IF_CONFIG_SMALL("Set timebase for the output link."),
    .init      = init,

    .priv_size = sizeof(SetTBContext),

    .inputs    = (AVFilterPad[]) {{ .name             = "default",
                                    .type             = AVMEDIA_TYPE_VIDEO,
                                    .get_video_buffer = avfilter_null_get_video_buffer,
                                    .start_frame      = start_frame,
                                    .end_frame        = avfilter_null_end_frame },
                                  { .name = NULL }},

    .outputs   = (AVFilterPad[]) {{ .name            = "default",
                                    .type            = AVMEDIA_TYPE_VIDEO,
                                    .config_props    = config_output_props, },
                                  { .name = NULL}},
}

Definition at line 123 of file vf_settb.c.

const char* var_names[] [static]

Initial value:

 {
    "E",
    "PHI",
    "PI",
    "AVTB",   
    "intb",   
    NULL
}

Definition at line 32 of file vf_settb.c.


Generated on Mon May 2 19:50:25 2011 for FFmpeg by  doxygen 1.5.6