#include "avfilter.h"
#include "video.h"
#include "formats.h"
#include "internal.h"
#include "libavutil/avassert.h"
#include "libavutil/pixdesc.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h"
#include "libmpcodecs/vf.h"
#include "libmpcodecs/img_format.h"
#include "libmpcodecs/cpudetect.h"
#include "libmpcodecs/vd_ffmpeg.h"
#include "libmpcodecs/vf_scale.h"
#include "libmpcodecs/libvo/fastmemcpy.h"
#include "libswscale/swscale.h"
Go to the source code of this file.
Definition in file vf_mp.c.
#define CLEAR_PACKEDYUV_PATTERN 0x80008000 |
Referenced by vf_mpi_clear().
#define CLEAR_PACKEDYUV_PATTERN_SWAPPED 0x00800080 |
Referenced by vf_mpi_clear().
static int config_inprops | ( | AVFilterLink * | inlink | ) | [static] |
static int config_outprops | ( | AVFilterLink * | outlink | ) | [static] |
static int end_frame | ( | AVFilterLink * | inlink | ) | [static] |
static av_cold int init | ( | AVFilterContext * | ctx, | |
const char * | args | |||
) | [static] |
Definition at line 324 of file vf_mp.c.
Referenced by analyze(), analyze_aggressive(), analyze_fixed_pattern(), analyze_plane(), block_metrics_3dnow(), block_metrics_mmx2(), config(), control(), copy_merge_fields(), diff_fields(), dint_copy_line_mmx2(), do_put_image(), find_best(), find_breaks(), mp_image_setfmt(), parse_args(), print_values(), put_image(), stats(), status(), uninit(), vf_get_image(), vf_next_config(), vf_next_draw_slice(), and vf_open().
Definition at line 332 of file vf_mp.c.
Referenced by analyze_plane(), sws_getFlagsAndFilterFromCmdLine(), and vf_open().
static int null_draw_slice | ( | AVFilterLink * | link, | |
int | y, | |||
int | h, | |||
int | slice_dir | |||
) | [static] |
static int query_formats | ( | AVFilterContext * | ctx | ) | [static] |
static int request_frame | ( | AVFilterLink * | outlink | ) | [static] |
static int start_frame | ( | AVFilterLink * | inlink, | |
AVFilterBufferRef * | picref | |||
) | [static] |
static av_cold void uninit | ( | AVFilterContext * | ctx | ) | [static] |
void vf_clone_mpi_attributes | ( | mp_image_t * | dst, | |
mp_image_t * | src | |||
) |
static int vf_default_query_format | ( | struct vf_instance * | vf, | |
unsigned int | fmt | |||
) | [static] |
mp_image_t* vf_get_image | ( | vf_instance_t * | vf, | |
unsigned int | outfmt, | |||
int | mp_imgtype, | |||
int | mp_imgflag, | |||
int | w, | |||
int | h | |||
) |
unsigned int vf_match_csp | ( | vf_instance_t ** | vfp, | |
const unsigned int * | list, | |||
unsigned int | preferred | |||
) |
void vf_mpi_clear | ( | mp_image_t * | mpi, | |
int | x0, | |||
int | y0, | |||
int | w, | |||
int | h | |||
) |
int vf_next_control | ( | struct vf_instance * | vf, | |
int | request, | |||
void * | data | |||
) |
int vf_next_put_image | ( | struct vf_instance * | vf, | |
mp_image_t * | mpi, | |||
double | pts | |||
) |
int vf_next_query_format | ( | struct vf_instance * | vf, | |
unsigned int | fmt | |||
) |
Initial value:
{ .name = "mp", .description = NULL_IF_CONFIG_SMALL("Apply a libmpcodecs filter to the input video."), .init = init, .uninit = uninit, .priv_size = sizeof(MPContext), .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, .config_props = config_inprops, .min_perms = AV_PERM_READ, }, { .name = NULL}}, .outputs = (const AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_VIDEO, .request_frame = request_frame, .config_props = config_outprops, }, { .name = NULL}}, }
struct { ... } conversion_map[] [static] |
Referenced by config_inprops(), end_frame(), query_formats(), sws_getContextFromCmdLine(), vf_default_query_format(), and vf_next_put_image().
Definition at line 189 of file vf_mp.c.
Referenced by avfilter_graph_add_filter(), exit_program(), new_audio_stream(), and new_video_stream().
Definition at line 49 of file vf_mp.c.
Referenced by av_find_input_format(), av_guess_format(), av_probe_input_format2(), av_probe_input_format3(), channelmap_init(), config_inprops(), dc1394_read_common(), end_frame(), ff_all_formats(), ff_planar_sample_fmts(), ffserver_guess_format(), iff_read_header(), main(), probe(), query_formats(), set_codec_from_probe_data(), show_help_demuxer(), show_help_muxer(), and str_read_packet().
Definition at line 259 of file vf_mp.c.
Referenced by check_values(), config(), init_pullup(), put_image(), and vf_open().
enum PixelFormat pix_fmt |
const vf_info_t vf_info_1bpp |
const vf_info_t vf_info_ass |
const vf_info_t vf_info_bmovl |
const vf_info_t vf_info_crop |
const vf_info_t vf_info_denoise3d |
Definition at line 259 of file vf_denoise3d.c.
const vf_info_t vf_info_detc |
const vf_info_t vf_info_dint |
const vf_info_t vf_info_divtc |
Definition at line 37 of file vf_divtc.c.
const vf_info_t vf_info_down3dright |
Definition at line 159 of file vf_down3dright.c.
const vf_info_t vf_info_dsize |
Definition at line 116 of file vf_dsize.c.
const vf_info_t vf_info_dvbscale |
const vf_info_t vf_info_eq |
const vf_info_t vf_info_eq2 |
const vf_info_t vf_info_expand |
const vf_info_t vf_info_field |
Definition at line 80 of file vf_field.c.
const vf_info_t vf_info_fil |
const vf_info_t vf_info_filmdint |
Definition at line 1454 of file vf_filmdint.c.
const vf_info_t vf_info_fixpts |
Definition at line 130 of file vf_fixpts.c.
const vf_info_t vf_info_flip |
const vf_info_t vf_info_format |
const vf_info_t vf_info_fspp |
const vf_info_t vf_info_geq |
const vf_info_t vf_info_halfpack |
const vf_info_t vf_info_harddup |
Definition at line 85 of file vf_harddup.c.
const vf_info_t vf_info_hqdn3d |
Definition at line 364 of file vf_hqdn3d.c.
const vf_info_t vf_info_il |
const vf_info_t vf_info_ilpack |
Definition at line 449 of file vf_ilpack.c.
const vf_info_t vf_info_ivtc |
const vf_info_t vf_info_kerndeint |
Definition at line 336 of file vf_kerndeint.c.
const vf_info_t vf_info_lavc |
const vf_info_t vf_info_lavcdeint |
const vf_info_t vf_info_mcdeint |
Definition at line 330 of file vf_mcdeint.c.
const vf_info_t vf_info_noformat |
const vf_info_t vf_info_noise |
Definition at line 465 of file vf_noise.c.
const vf_info_t vf_info_ow |
const vf_info_t vf_info_palette |
Definition at line 227 of file vf_palette.c.
const vf_info_t vf_info_perspective |
Definition at line 336 of file vf_perspective.c.
const vf_info_t vf_info_phase |
Definition at line 293 of file vf_phase.c.
const vf_info_t vf_info_pp |
const vf_info_t vf_info_pp7 |
const vf_info_t vf_info_pullup |
Definition at line 307 of file vf_pullup.c.
const vf_info_t vf_info_qp |
const vf_info_t vf_info_rectangle |
Definition at line 174 of file vf_rectangle.c.
const vf_info_t vf_info_sab |
const vf_info_t vf_info_scale |
Definition at line 157 of file vf_softpulldown.c.
const vf_info_t vf_info_softskip |
Definition at line 95 of file vf_softskip.c.
const vf_info_t vf_info_spp |
const vf_info_t vf_info_stereo3d |
Definition at line 505 of file vf_stereo3d.c.
const vf_info_t vf_info_telecine |
Definition at line 148 of file vf_telecine.c.
const vf_info_t vf_info_test |
const vf_info_t vf_info_tfields |
const vf_info_t vf_info_tile |
const vf_info_t vf_info_tinterlace |
Definition at line 228 of file vf_tinterlace.c.
const vf_info_t vf_info_unsharp |
Definition at line 315 of file vf_unsharp.c.
const vf_info_t vf_info_uspp |
const vf_info_t vf_info_vo |
const vf_info_t vf_info_yadif |
const vf_info_t vf_info_yuvcsp |
Definition at line 111 of file vf_yuvcsp.c.
const vf_info_t vf_info_yvu9 |
const vf_info_t vf_info_zrmjpeg |