#include "avfilter.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 void end_frame | ( | AVFilterLink * | inlink | ) | [static] |
static av_cold int init | ( | AVFilterContext * | ctx, | |
const char * | args, | |||
void * | opaque | |||
) | [static] |
void mp_msg | ( | int | mod, | |
int | lev, | |||
const char * | format, | |||
... | ||||
) |
Definition at line 340 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(), gen_fname(), mp_image_setfmt(), parse_args(), print_values(), put_image(), safe_malloc(), stats(), status(), uninit(), vf_get_image(), vf_next_config(), vf_next_draw_slice(), vf_open(), and write_png().
int mp_msg_test | ( | int | mod, | |
int | lev | |||
) |
Definition at line 348 of file vf_mp.c.
Referenced by analyze_plane(), sws_getFlagsAndFilterFromCmdLine(), and vf_open().
static void 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 void start_frame | ( | AVFilterLink * | inlink, | |
AVFilterBufferRef * | picref | |||
) | [static] |
struct SwsContext* sws_getContextFromCmdLine | ( | int | srcW, | |
int | srcH, | |||
int | srcFormat, | |||
int | dstW, | |||
int | dstH, | |||
int | dstFormat | |||
) | [read] |
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 | |||
) |
Definition at line 445 of file vf_mp.c.
Referenced by config(), get_image(), put_image(), and start_slice().
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_config | ( | struct vf_instance * | vf, | |
int | width, | |||
int | height, | |||
int | d_width, | |||
int | d_height, | |||
unsigned int | voflags, | |||
unsigned int | outfmt | |||
) |
int vf_next_control | ( | struct vf_instance * | vf, | |
int | request, | |||
void * | data | |||
) |
void vf_next_draw_slice | ( | struct vf_instance * | vf, | |
unsigned char ** | src, | |||
int * | stride, | |||
int | w, | |||
int | h, | |||
int | x, | |||
int | y | |||
) |
int vf_next_put_image | ( | struct vf_instance * | vf, | |
mp_image_t * | mpi, | |||
double | pts | |||
) |
Definition at line 603 of file vf_mp.c.
Referenced by config(), do_put_image(), init(), and put_image().
int vf_next_query_format | ( | struct vf_instance * | vf, | |
unsigned int | fmt | |||
) |
Initial value:
{ .name = "mp", .description = NULL_IF_CONFIG_SMALL("libmpcodecs wrapper."), .init = init, .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 196 of file vf_mp.c.
Referenced by avfilter_graph_add_filter(), and new_video_stream().
int fmt |
Definition at line 46 of file vf_mp.c.
Referenced by av_find_input_format(), av_guess_format(), av_probe_input_format2(), av_probe_input_format3(), avfilter_make_all_formats(), config_inprops(), end_frame(), ffserver_guess_format(), init(), main(), probe(), query_formats(), set_codec_from_probe_data(), and str_read_packet().
Definition at line 275 of file vf_mp.c.
Referenced by check_values(), init_pullup(), put_image(), and vf_open().
enum PixelFormat pix_fmt |
const vf_info_t vf_info_1bpp |
const vf_info_t vf_info_2xsai |
Definition at line 327 of file vf_2xsai.c.
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_decimate |
Definition at line 191 of file vf_decimate.c.
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_framestep |
Definition at line 198 of file vf_framestep.c.
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_hue |
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_mirror |
Definition at line 122 of file vf_mirror.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_remove_logo |
const vf_info_t vf_info_rotate |
Definition at line 143 of file vf_rotate.c.
const vf_info_t vf_info_sab |
const vf_info_t vf_info_scale |
const vf_info_t vf_info_screenshot |
Definition at line 313 of file vf_screenshot.c.
const vf_info_t vf_info_smartblur |
Definition at line 255 of file vf_smartblur.c.
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_swapuv |
Definition at line 97 of file vf_swapuv.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 |