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 "libavutil/opt.h"
#include "libmpcodecs/vf.h"
#include "libmpcodecs/img_format.h"
#include "libmpcodecs/cpudetect.h"
#include "libmpcodecs/av_helpers.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 | OFFSET(x) offsetof(MPContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
#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) |
AVFILTER_DEFINE_CLASS (mp) | |
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) |
static void | dummy_free (void *opaque, uint8_t *data) |
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) |
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, AVFrame *inpic) |
Variables | |
struct { | |
int fmt | |
enum AVPixelFormat pix_fmt | |
} | conversion_map [] |
const vf_info_t | ff_vf_info_dint |
const vf_info_t | ff_vf_info_down3dright |
const vf_info_t | ff_vf_info_eq2 |
const vf_info_t | ff_vf_info_eq |
const vf_info_t | ff_vf_info_fil |
const vf_info_t | ff_vf_info_fspp |
const vf_info_t | ff_vf_info_ilpack |
const vf_info_t | ff_vf_info_mcdeint |
const vf_info_t | ff_vf_info_ow |
const vf_info_t | ff_vf_info_perspective |
const vf_info_t | ff_vf_info_phase |
const vf_info_t | ff_vf_info_pp7 |
const vf_info_t | ff_vf_info_pullup |
const vf_info_t | ff_vf_info_qp |
const vf_info_t | ff_vf_info_sab |
const vf_info_t | ff_vf_info_softpulldown |
const vf_info_t | ff_vf_info_spp |
const vf_info_t | ff_vf_info_tinterlace |
const vf_info_t | ff_vf_info_uspp |
static const vf_info_t *const | filters [] |
CpuCaps | ff_gCpuCaps |
static const AVOption | mp_options [] |
static const AVFilterPad | mp_inputs [] |
static const AVFilterPad | mp_outputs [] |
AVFilter | avfilter_vf_mp |
Macro Definition Documentation
#define CLEAR_PACKEDYUV_PATTERN 0x80008000 |
Referenced by ff_vf_mpi_clear().
#define CLEAR_PACKEDYUV_PATTERN_SWAPPED 0x00800080 |
Referenced by ff_vf_mpi_clear().
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Function Documentation
AVFILTER_DEFINE_CLASS | ( | mp | ) |
|
static |
|
static |
enum AVPixelFormat ff_mp2ff_pix_fmt | ( | int | mp | ) |
Definition at line 195 of file vf_mp.c.
Referenced by ff_mp_image_alloc_planes().
void ff_mp_msg | ( | int | mod, |
int | lev, | ||
const char * | format, | ||
... | |||
) |
Definition at line 275 of file vf_mp.c.
Referenced by analyze_plane(), config(), ff_mp_image_setfmt(), ff_vf_get_image(), ff_vf_next_config(), ff_vf_next_draw_slice(), print_values(), put_image(), uninit(), and vf_open().
int ff_mp_msg_test | ( | int | mod, |
int | lev | ||
) |
Definition at line 283 of file vf_mp.c.
Referenced by analyze_plane(), and ff_sws_getFlagsAndFilterFromCmdLine().
struct SwsContext* ff_sws_getContextFromCmdLine | ( | int | srcW, |
int | srcH, | ||
int | srcFormat, | ||
int | dstW, | ||
int | dstH, | ||
int | dstFormat | ||
) |
|
static |
Definition at line 202 of file vf_mp.c.
Referenced by ff_sws_getContextFromCmdLine().
void ff_vf_clone_mpi_attributes | ( | mp_image_t * | dst, |
mp_image_t * | src | ||
) |
Definition at line 293 of file vf_mp.c.
Referenced by put_image().
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 380 of file vf_mp.c.
Referenced by config(), get_image(), and put_image().
unsigned int ff_vf_match_csp | ( | vf_instance_t ** | vfp, |
const unsigned int * | list, | ||
unsigned int | preferred | ||
) |
void ff_vf_mpi_clear | ( | mp_image_t * | mpi, |
int | x0, | ||
int | y0, | ||
int | w, | ||
int | h | ||
) |
Definition at line 327 of file vf_mp.c.
Referenced by ff_vf_get_image(), 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 | ||
) |
void ff_vf_next_draw_slice | ( | struct vf_instance * | vf, |
unsigned char ** | src, | ||
int * | stride, | ||
int | w, | ||
int | h, | ||
int | x, | ||
int | y | ||
) |
int ff_vf_next_put_image | ( | struct vf_instance * | vf, |
mp_image_t * | mpi, | ||
double | pts | ||
) |
Definition at line 539 of file vf_mp.c.
Referenced by init(), and put_image().
int ff_vf_next_query_format | ( | struct vf_instance * | vf, |
unsigned int | fmt | ||
) |
Definition at line 371 of file vf_mp.c.
Referenced by query_format().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Variable Documentation
AVFilter avfilter_vf_mp |
const { ... } conversion_map[] |
CpuCaps ff_gCpuCaps |
Definition at line 193 of file vf_mp.c.
Referenced by check_values(), init_pullup(), put_image(), and vf_open().
const vf_info_t ff_vf_info_down3dright |
Definition at line 159 of file vf_down3dright.c.
const vf_info_t ff_vf_info_ilpack |
Definition at line 451 of file vf_ilpack.c.
const vf_info_t ff_vf_info_mcdeint |
Definition at line 333 of file vf_mcdeint.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 309 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_tinterlace |
Definition at line 228 of file libmpcodecs/vf_tinterlace.c.
|
static |
int fmt |
Definition at line 50 of file vf_mp.c.
Referenced by config_inprops(), filter_frame(), and query_formats().
|
static |
|
static |
|
static |
enum AVPixelFormat pix_fmt |
Definition at line 51 of file vf_mp.c.
Referenced by query_formats().
Generated on Fri Dec 20 2024 06:56:16 for FFmpeg by 1.8.11