1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-25 17:13:21 +00:00

new filter: vf_noformat.

like vf_format, but in reverse.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11928 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
joey 2004-02-06 20:31:57 +00:00
parent 43eba3994c
commit 7a09069daf
3 changed files with 16 additions and 1 deletions

View File

@ -2640,6 +2640,19 @@ format name like rgb15, bgr24, yv12, etc (default: yuy2)
.RE .RE
.PD 1 .PD 1
.TP .TP
.B noformat[=fourcc]
Restricts the colorspace for the next filter without doing any conversion.
Unlike the format filter, this will allow any colorspace
.B except
the one you specify.
For a list of available formats see noformat=fmt=help.
.PD 0
.RSs
.IPs fourcc
format name like rgb15, bgr24, yv12, etc (default: yv12)
.RE
.PD 1
.TP
.B pp[=filter1[:option1[:option2...]]/[-]filter2...] (see \-pphelp too) .B pp[=filter1[:option1[:option2...]]/[-]filter2...] (see \-pphelp too)
This option enables usage of MPlayer's internal postprocessing filter, This option enables usage of MPlayer's internal postprocessing filter,
and also gives an interface where you can pass options to the named filter. and also gives an interface where you can pass options to the named filter.

View File

@ -14,7 +14,7 @@ VIDEO_SRCS_NAT=vd_null.c vd_cinepak.c vd_raw.c vd_hmblck.c vd_fli.c vd_qtrle.c v
VIDEO_SRCS_OPT=vd_realvid.c vd_ffmpeg.c vd_dshow.c vd_dmo.c vd_vfw.c vd_vfwex.c vd_odivx.c vd_divx4.c vd_zrmjpeg.c vd_xanim.c vd_xvid.c vd_xvid4.c vd_libdv.c vd_qtvideo.c vd_theora.c VIDEO_SRCS_OPT=vd_realvid.c vd_ffmpeg.c vd_dshow.c vd_dmo.c vd_vfw.c vd_vfwex.c vd_odivx.c vd_divx4.c vd_zrmjpeg.c vd_xanim.c vd_xvid.c vd_xvid4.c vd_libdv.c vd_qtvideo.c vd_theora.c
VIDEO_SRCS=dec_video.c vd.c $(VIDEO_SRCS_NAT) $(VIDEO_SRCS_LIB) $(VIDEO_SRCS_OPT) VIDEO_SRCS=dec_video.c vd.c $(VIDEO_SRCS_NAT) $(VIDEO_SRCS_LIB) $(VIDEO_SRCS_OPT)
VFILTER_SRCS=vf.c vf_vo.c vf_crop.c vf_expand.c vf_scale.c vf_format.c vf_yuy2.c vf_flip.c vf_rgb2bgr.c vf_rotate.c vf_mirror.c vf_palette.c vf_lavc.c vf_dvbscale.c vf_cropdetect.c vf_test.c vf_noise.c vf_yvu9.c vf_rectangle.c vf_lavcdeint.c vf_eq.c vf_eq2.c vf_halfpack.c vf_dint.c vf_1bpp.c vf_bmovl.c vf_2xsai.c vf_unsharp.c vf_swapuv.c vf_il.c vf_boxblur.c vf_sab.c vf_smartblur.c vf_perspective.c vf_down3dright.c vf_field.c vf_denoise3d.c vf_hqdn3d.c vf_detc.c vf_telecine.c vf_tfields.c vf_ivtc.c vf_ilpack.c vf_dsize.c vf_decimate.c vf_softpulldown.c vf_tinterlace.c vf_pullup.c pullup.c vf_framestep.c vf_tile.c vf_delogo.c vf_fil.c vf_hue.c vf_spp.c vf_yuvcsp.c vf_filmdint.c vf_kerndeint.c vf_rgbtest.c vf_qp.c VFILTER_SRCS=vf.c vf_vo.c vf_crop.c vf_expand.c vf_scale.c vf_format.c vf_noformat.c vf_yuy2.c vf_flip.c vf_rgb2bgr.c vf_rotate.c vf_mirror.c vf_palette.c vf_lavc.c vf_dvbscale.c vf_cropdetect.c vf_test.c vf_noise.c vf_yvu9.c vf_rectangle.c vf_lavcdeint.c vf_eq.c vf_eq2.c vf_halfpack.c vf_dint.c vf_1bpp.c vf_bmovl.c vf_2xsai.c vf_unsharp.c vf_swapuv.c vf_il.c vf_boxblur.c vf_sab.c vf_smartblur.c vf_perspective.c vf_down3dright.c vf_field.c vf_denoise3d.c vf_hqdn3d.c vf_detc.c vf_telecine.c vf_tfields.c vf_ivtc.c vf_ilpack.c vf_dsize.c vf_decimate.c vf_softpulldown.c vf_tinterlace.c vf_pullup.c pullup.c vf_framestep.c vf_tile.c vf_delogo.c vf_fil.c vf_hue.c vf_spp.c vf_yuvcsp.c vf_filmdint.c vf_kerndeint.c vf_rgbtest.c vf_qp.c
ifeq ($(HAVE_FFPOSTPROCESS),yes) ifeq ($(HAVE_FFPOSTPROCESS),yes)
VFILTER_SRCS += vf_pp.c VFILTER_SRCS += vf_pp.c
endif endif

View File

@ -34,6 +34,7 @@ extern vf_info_t vf_info_scale;
extern vf_info_t vf_info_fame; extern vf_info_t vf_info_fame;
#endif #endif
extern vf_info_t vf_info_format; extern vf_info_t vf_info_format;
extern vf_info_t vf_info_noformat;
extern vf_info_t vf_info_yuy2; extern vf_info_t vf_info_yuy2;
extern vf_info_t vf_info_flip; extern vf_info_t vf_info_flip;
extern vf_info_t vf_info_rgb2bgr; extern vf_info_t vf_info_rgb2bgr;
@ -105,6 +106,7 @@ static vf_info_t* filter_list[]={
&vf_info_fame, &vf_info_fame,
#endif #endif
&vf_info_format, &vf_info_format,
&vf_info_noformat,
&vf_info_yuy2, &vf_info_yuy2,
&vf_info_flip, &vf_info_flip,
&vf_info_rgb2bgr, &vf_info_rgb2bgr,