libavfilter/vf_setfield.c File Reference

set field order More...

#include "avfilter.h"
#include "video.h"

Go to the source code of this file.

Data Structures

struct  SetFieldContext

Enumerations

enum  SetFieldMode { MODE_AUTO = -1, MODE_BFF, MODE_TFF, MODE_PROG }

Functions

static av_cold int init (AVFilterContext *ctx, const char *args)
static int start_frame (AVFilterLink *inlink, AVFilterBufferRef *inpicref)

Variables

AVFilter avfilter_vf_setfield


Detailed Description

set field order

Definition in file vf_setfield.c.


Enumeration Type Documentation

Enumerator:
MODE_AUTO 
MODE_BFF 
MODE_TFF 
MODE_PROG 

Definition at line 29 of file vf_setfield.c.


Function Documentation

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

Definition at line 40 of file vf_setfield.c.

static int start_frame ( AVFilterLink inlink,
AVFilterBufferRef inpicref 
) [static]

Definition at line 72 of file vf_setfield.c.


Variable Documentation

Initial value:

 {
    .name      = "setfield",
    .description = NULL_IF_CONFIG_SMALL("Force field for the output video frame."),
    .init      = init,

    .priv_size = sizeof(SetFieldContext),

    .inputs = (const AVFilterPad[]) {
        { .name             = "default",
          .type             = AVMEDIA_TYPE_VIDEO,
          .get_video_buffer = ff_null_get_video_buffer,
          .start_frame      = start_frame, },
        { .name = NULL }
    },
    .outputs = (const AVFilterPad[]) {
        { .name             = "default",
          .type             = AVMEDIA_TYPE_VIDEO, },
        { .name = NULL }
    },
}

Definition at line 86 of file vf_setfield.c.


Generated on Fri Oct 26 02:50:10 2012 for FFmpeg by  doxygen 1.5.8