#include "avfilter.h"
#include "libavutil/eval.h"
#include "libavutil/avstring.h"
#include "libavutil/libm.h"
#include "libavutil/imgutils.h"
Go to the source code of this file.
Definition in file vf_crop.c.
enum var_name |
static int config_input | ( | AVFilterLink * | link | ) | [static] |
static int config_output | ( | AVFilterLink * | link | ) | [static] |
static void draw_slice | ( | AVFilterLink * | link, | |
int | y, | |||
int | h, | |||
int | slice_dir | |||
) | [static] |
static void end_frame | ( | AVFilterLink * | link | ) | [static] |
static av_cold int init | ( | AVFilterContext * | ctx, | |
const char * | args, | |||
void * | opaque | |||
) | [static] |
static int normalize_double | ( | int * | n, | |
double | d | |||
) | [inline, static] |
static int query_formats | ( | AVFilterContext * | ctx | ) | [static] |
static void start_frame | ( | AVFilterLink * | link, | |
AVFilterBufferRef * | picref | |||
) | [static] |
static av_cold void uninit | ( | AVFilterContext * | ctx | ) | [static] |
Initial value:
{ .name = "crop", .description = NULL_IF_CONFIG_SMALL("Crop the input video to width:height:x:y."), .priv_size = sizeof(CropContext), .query_formats = query_formats, .init = init, .uninit = uninit, .inputs = (AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_VIDEO, .start_frame = start_frame, .draw_slice = draw_slice, .end_frame = end_frame, .get_video_buffer = avfilter_null_get_video_buffer, .config_props = config_input, }, { .name = NULL}}, .outputs = (AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_VIDEO, .config_props = config_output, }, { .name = NULL}}, }
const char* var_names[] [static] |
Initial value:
{ "E", "PHI", "PI", "in_w", "iw", "in_h", "ih", "out_w", "ow", "out_h", "oh", "x", "y", "n", "pos", "t", NULL }
Definition at line 34 of file vf_crop.c.
Referenced by config_input(), config_input_overlay(), config_output_props(), config_props(), and init().