1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-21 06:14:32 +00:00
mpv/video/filter
Stefano Pigozzi 37388ebb0e configure: uniform the defines to #define HAVE_xxx (0|1)
The configure followed 5 different convetions of defines because the next guy
always wanted to introduce a new better way to uniform it[1]. For an
hypothetic feature 'hurr' you could have had:

  * #define HAVE_HURR 1   / #undef HAVE_DURR
  * #define HAVE_HURR     / #undef HAVE_DURR
  * #define CONFIG_HURR 1 / #undef CONFIG_DURR
  * #define HAVE_HURR 1   / #define HAVE_DURR 0
  * #define CONFIG_HURR 1 / #define CONFIG_DURR 0

All is now uniform and uses:
  * #define HAVE_HURR 1
  * #define HAVE_DURR 0

We like definining to 0 as opposed to `undef` bcause it can help spot typos
and is very helpful when doing big reorganizations in the code.

[1]: http://xkcd.com/927/ related
2013-11-03 21:59:54 +01:00
..
pullup.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
pullup.h
vf_crop.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_delogo.c Fix some more -Wshadow warnings 2013-11-01 17:35:38 +01:00
vf_divtc.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_dlopen.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_dlopen.h
vf_down3dright.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_dsize.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_eq.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_expand.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_flip.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_format.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_gradfun.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_hqdn3d.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_ilpack.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_lavfi.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_mirror.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_noformat.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_noise.c Fix some more -Wshadow warnings 2013-11-01 17:35:38 +01:00
vf_phase.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_pp.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_pullup.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_rotate.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_scale.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_screenshot.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_softpulldown.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_stereo3d.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_sub.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_swapuv.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_unsharp.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_vavpp.c Enable -Wshadow 2013-11-01 13:00:15 +01:00
vf_vo.c video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00
vf_yadif.c Enable -Wshadow 2013-11-01 13:00:15 +01:00
vf.c configure: uniform the defines to #define HAVE_xxx (0|1) 2013-11-03 21:59:54 +01:00
vf.h video/filter: remove useless vf_info fields 2013-10-23 19:30:01 +02:00