vfcap.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /* VFCAP_* values: they are flags, returned by query_format():
  2. *
  3. * This file is part of MPlayer.
  4. *
  5. * MPlayer is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * MPlayer is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License along
  16. * with MPlayer; if not, write to the Free Software Foundation, Inc.,
  17. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  18. */
  19. #ifndef MPLAYER_VFCAP_H
  20. #define MPLAYER_VFCAP_H
  21. // set, if the given colorspace is supported (with or without conversion)
  22. #define VFCAP_CSP_SUPPORTED 0x1
  23. // set, if the given colorspace is supported _without_ conversion
  24. #define VFCAP_CSP_SUPPORTED_BY_HW 0x2
  25. // set if the driver/filter can draw OSD
  26. #define VFCAP_OSD 0x4
  27. // set if the driver/filter can handle compressed SPU stream
  28. #define VFCAP_SPU 0x8
  29. // scaling up/down by hardware, or software:
  30. #define VFCAP_HWSCALE_UP 0x10
  31. #define VFCAP_HWSCALE_DOWN 0x20
  32. #define VFCAP_SWSCALE 0x40
  33. // driver/filter can do vertical flip (upside-down)
  34. #define VFCAP_FLIP 0x80
  35. // driver/hardware handles timing (blocking)
  36. #define VFCAP_TIMER 0x100
  37. // driver _always_ flip image upside-down (for ve_vfw)
  38. #define VFCAP_FLIPPED 0x200
  39. // vf filter: accepts stride (put_image)
  40. // vo driver: has draw_slice() support for the given csp
  41. #define VFCAP_ACCEPT_STRIDE 0x400
  42. // filter does postprocessing (so you shouldn't scale/filter image before it)
  43. #define VFCAP_POSTPROC 0x800
  44. // filter cannot be reconfigured to different size & format
  45. #define VFCAP_CONSTANT 0x1000
  46. // filter can draw EOSD
  47. #define VFCAP_EOSD 0x2000
  48. // filter will draw EOSD at screen resolution (without scaling)
  49. #define VFCAP_EOSD_UNSCALED 0x4000
  50. // used by libvo and vf_vo, indicates the VO does not support draw_slice for this format
  51. #define VOCAP_NOSLICES 0x8000
  52. #endif /* MPLAYER_VFCAP_H */