|
FFmpeg
|
#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.
Data Structures | |
| struct | MPContext |
Macros | |
| #define | CLEAR_PACKEDYUV_PATTERN 0x80008000 |
| #define | CLEAR_PACKEDYUV_PATTERN_SWAPPED 0x00800080 |
Functions | |
| enum AVPixelFormat | ff_mp2ff_pix_fmt (int mp) |
| static void | ff_sws_getFlagsAndFilterFromCmdLine (int *flags, SwsFilter **srcFilterParam, SwsFilter **dstFilterParam) |
| struct SwsContext * | ff_sws_getContextFromCmdLine (int srcW, int srcH, int srcFormat, int dstW, int dstH, int dstFormat) |
| void | ff_mp_msg (int mod, int lev, const char *format,...) |
| int | ff_mp_msg_test (int mod, int lev) |
| void | ff_init_avcodec (void) |
| void | ff_vf_clone_mpi_attributes (mp_image_t *dst, mp_image_t *src) |
| void | ff_vf_next_draw_slice (struct vf_instance *vf, unsigned char **src, int *stride, int w, int h, int x, int y) |
| void | ff_vf_mpi_clear (mp_image_t *mpi, int x0, int y0, int w, int h) |
| int | ff_vf_next_query_format (struct vf_instance *vf, unsigned int fmt) |
| unsigned int | ff_vf_match_csp (vf_instance_t **vfp, const unsigned int *list, unsigned int preferred) |
| mp_image_t * | ff_vf_get_image (vf_instance_t *vf, unsigned int outfmt, int mp_imgtype, int mp_imgflag, int w, int h) |
| int | ff_vf_next_put_image (struct vf_instance *vf, mp_image_t *mpi, double pts) |
| int | ff_vf_next_config (struct vf_instance *vf, int width, int height, int d_width, int d_height, unsigned int voflags, unsigned int outfmt) |
| int | ff_vf_next_control (struct vf_instance *vf, int request, void *data) |
| static int | vf_default_query_format (struct vf_instance *vf, unsigned int fmt) |
| static av_cold int | init (AVFilterContext *ctx, const char *args) |
| static av_cold void | uninit (AVFilterContext *ctx) |
| static int | query_formats (AVFilterContext *ctx) |
| static int | config_inprops (AVFilterLink *inlink) |
| static int | config_outprops (AVFilterLink *outlink) |
| static int | request_frame (AVFilterLink *outlink) |
| static int | filter_frame (AVFilterLink *inlink, AVFilterBufferRef *inpic) |
| #define CLEAR_PACKEDYUV_PATTERN 0x80008000 |
Referenced by ff_vf_mpi_clear().
| #define CLEAR_PACKEDYUV_PATTERN_SWAPPED 0x00800080 |
Referenced by ff_vf_mpi_clear().
| enum AVPixelFormat ff_mp2ff_pix_fmt | ( | int | mp | ) |
Definition at line 220 of file vf_mp.c.
Referenced by ff_mp_image_alloc_planes().
|
static |
Definition at line 227 of file vf_mp.c.
Referenced by ff_sws_getContextFromCmdLine().
|
read |
| void ff_mp_msg | ( | int | mod, |
| int | lev, | ||
| const char * | format, | ||
| ... | |||
| ) |
Definition at line 289 of file vf_mp.c.
Referenced by analyze(), analyze_aggressive(), analyze_fixed_pattern(), analyze_plane(), block_metrics_3dnow(), block_metrics_mmx2(), config(), copy_merge_fields(), diff_fields(), dint_copy_line_mmx2(), do_put_image(), ff_mp_image_setfmt(), ff_vf_get_image(), ff_vf_next_config(), ff_vf_next_draw_slice(), find_breaks(), print_values(), put_image(), stats(), status(), uninit(), and vf_open().
| int ff_mp_msg_test | ( | int | mod, |
| int | lev | ||
| ) |
Definition at line 297 of file vf_mp.c.
Referenced by analyze_plane(), and ff_sws_getFlagsAndFilterFromCmdLine().
| void ff_vf_clone_mpi_attributes | ( | mp_image_t * | dst, |
| mp_image_t * | src | ||
| ) |
Definition at line 307 of file vf_mp.c.
Referenced by put_image().
| void ff_vf_next_draw_slice | ( | struct vf_instance * | vf, |
| unsigned char ** | src, | ||
| int * | stride, | ||
| int | w, | ||
| int | h, | ||
| int | x, | ||
| int | y | ||
| ) |
| void ff_vf_mpi_clear | ( | mp_image_t * | mpi, |
| int | x0, | ||
| int | y0, | ||
| int | w, | ||
| int | h | ||
| ) |
Definition at line 341 of file vf_mp.c.
Referenced by ff_vf_get_image(), and put_image().
| int ff_vf_next_query_format | ( | struct vf_instance * | vf, |
| unsigned int | fmt | ||
| ) |
Definition at line 385 of file vf_mp.c.
Referenced by query_format().
| unsigned int ff_vf_match_csp | ( | vf_instance_t ** | vfp, |
| const unsigned int * | list, | ||
| unsigned int | preferred | ||
| ) |
| mp_image_t* ff_vf_get_image | ( | vf_instance_t * | vf, |
| unsigned int | outfmt, | ||
| int | mp_imgtype, | ||
| int | mp_imgflag, | ||
| int | w, | ||
| int | h | ||
| ) |
Definition at line 394 of file vf_mp.c.
Referenced by config(), get_image(), and put_image().
| int ff_vf_next_put_image | ( | struct vf_instance * | vf, |
| mp_image_t * | mpi, | ||
| double | pts | ||
| ) |
Definition at line 552 of file vf_mp.c.
Referenced by do_put_image(), init(), and put_image().
| int ff_vf_next_config | ( | struct vf_instance * | vf, |
| int | width, | ||
| int | height, | ||
| int | d_width, | ||
| int | d_height, | ||
| unsigned int | voflags, | ||
| unsigned int | outfmt | ||
| ) |
| int ff_vf_next_control | ( | struct vf_instance * | vf, |
| int | request, | ||
| void * | data | ||
| ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| int fmt |
Definition at line 49 of file vf_mp.c.
Referenced by av_find_input_format(), av_get_pcm_codec(), av_guess_format(), av_probe_input_buffer(), av_probe_input_format2(), av_probe_input_format3(), avcodec_default_get_format(), avformat_open_input(), channelmap_init(), config_inprops(), dc1394_read_common(), ff_all_formats(), ff_planar_sample_fmts(), ffserver_guess_format(), filter_frame(), func_strftime(), get_pixel_format(), iff_read_header(), main(), probe(), query_formats(), set_audiodata_fmt(), set_codec_from_probe_data(), show_help_demuxer(), show_help_muxer(), and str_read_packet().
| enum AVPixelFormat pix_fmt |
| struct { ... } conversion_map[] |
| const vf_info_t ff_vf_info_divtc |
Definition at line 37 of file vf_divtc.c.
| const vf_info_t ff_vf_info_down3dright |
Definition at line 159 of file vf_down3dright.c.
| const vf_info_t ff_vf_info_dsize |
Definition at line 116 of file vf_dsize.c.
| const vf_info_t ff_vf_info_harddup |
Definition at line 85 of file vf_harddup.c.
| const vf_info_t ff_vf_info_ilpack |
Definition at line 450 of file vf_ilpack.c.
| const vf_info_t ff_vf_info_kerndeint |
Definition at line 336 of file vf_kerndeint.c.
| const vf_info_t ff_vf_info_mcdeint |
Definition at line 330 of file vf_mcdeint.c.
| const vf_info_t ff_vf_info_noise |
Definition at line 465 of file vf_noise.c.
| const vf_info_t ff_vf_info_perspective |
Definition at line 336 of file vf_perspective.c.
| const vf_info_t ff_vf_info_phase |
Definition at line 295 of file vf_phase.c.
| const vf_info_t ff_vf_info_pullup |
Definition at line 306 of file vf_pullup.c.
| const vf_info_t ff_vf_info_softpulldown |
Definition at line 156 of file vf_softpulldown.c.
| const vf_info_t ff_vf_info_softskip |
Definition at line 95 of file vf_softskip.c.
| const vf_info_t ff_vf_info_stereo3d |
Definition at line 505 of file vf_stereo3d.c.
| const vf_info_t ff_vf_info_telecine |
Definition at line 151 of file vf_telecine.c.
| const vf_info_t ff_vf_info_tinterlace |
Definition at line 228 of file vf_tinterlace.c.
| const vf_info_t ff_vf_info_unsharp |
Definition at line 315 of file vf_unsharp.c.
|
static |
Definition at line 159 of file vf_mp.c.
Referenced by avfilter_graph_add_filter(), exit_program(), new_audio_stream(), and new_video_stream().
| CpuCaps ff_gCpuCaps |
Definition at line 218 of file vf_mp.c.
Referenced by check_values(), init_pullup(), put_image(), and vf_open().
|
static |
|
static |
| AVFilter avfilter_vf_mp |
1.8.2