libavfilter/vf_idet.c File Reference
#include "libavutil/cpu.h"
#include "libavutil/common.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "internal.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 int | start_frame (AVFilterLink *link, AVFilterBufferRef *picref) |
static int | 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) |
static int | 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 32 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 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,
.min_perms = AV_PERM_PRESERVE },
{ .name = NULL}},
.outputs = (const AVFilterPad[]) {{ .name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.rej_perms = AV_PERM_WRITE,
.poll_frame = poll_frame,
.request_frame = request_frame, },
{ .name = NULL}},
}
Definition at line 313 of file vf_idet.c.