libavfilter/vf_idet.c File Reference
#include "libavutil/cpu.h"
#include "libavutil/common.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include <assert.h>
Go to the source code of this file.
|
Data Structures |
struct | IDETContext |
Defines |
#define | HIST_SIZE 4 |
Enumerations |
enum | Type { TFF,
BFF,
PROGRSSIVE,
UNDETERMINED
} |
Functions |
static const char * | type2str (Type type) |
static int | filter_line_c (const uint8_t *a, const uint8_t *b, const uint8_t *c, int w) |
static int | filter_line_c_16bit (const uint16_t *a, const uint16_t *b, const uint16_t *c, int w) |
static void | filter (AVFilterContext *ctx) |
static void | start_frame (AVFilterLink *link, AVFilterBufferRef *picref) |
static void | end_frame (AVFilterLink *link) |
static int | request_frame (AVFilterLink *link) |
static int | poll_frame (AVFilterLink *link) |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
static av_cold int | init (AVFilterContext *ctx, const char *args, void *opaque) |
static void | null_draw_slice (AVFilterLink *link, int y, int h, int slice_dir) |
Variables |
AVFilter | avfilter_vf_idet |
Define Documentation
Enumeration Type Documentation
- Enumerator:
-
TFF |
|
BFF |
|
PROGRSSIVE |
|
UNDETERMINED |
|
Definition at line 31 of file vf_idet.c.
Function Documentation
static int filter_line_c_16bit |
( |
const uint16_t * |
a, |
|
|
const uint16_t * |
b, |
|
|
const uint16_t * |
c, |
|
|
int |
w | |
|
) |
| | [static] |
static av_cold int init |
( |
AVFilterContext * |
ctx, |
|
|
const char * |
args, |
|
|
void * |
opaque | |
|
) |
| | [static] |
static void null_draw_slice |
( |
AVFilterLink * |
link, |
|
|
int |
y, |
|
|
int |
h, |
|
|
int |
slice_dir | |
|
) |
| | [static] |
static const char* type2str |
( |
Type |
type |
) |
[static] |
Variable Documentation
Initial value:
{
.name = "idet",
.description = NULL_IF_CONFIG_SMALL("Interlace detect Filter."),
.priv_size = sizeof(IDETContext),
.init = init,
.uninit = uninit,
.query_formats = query_formats,
.inputs = (const AVFilterPad[]) {{ .name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.start_frame = start_frame,
.draw_slice = null_draw_slice,
.end_frame = end_frame,
.rej_perms = AV_PERM_REUSE2, },
{ .name = NULL}},
.outputs = (const AVFilterPad[]) {{ .name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.poll_frame = poll_frame,
.request_frame = request_frame, },
{ .name = NULL}},
}
Definition at line 315 of file vf_idet.c.