The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

83 lines
2.6KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2013 - Raw Material Software Ltd.
  5. Permission is granted to use this software under the terms of either:
  6. a) the GPL v2 (or any later version)
  7. b) the Affero GPL v3
  8. Details of these licenses can be found at: www.gnu.org/licenses
  9. JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
  10. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  11. A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  12. ------------------------------------------------------------------------------
  13. To release a closed-source product which uses JUCE, commercial licenses are
  14. available: visit www.juce.com for more information.
  15. ==============================================================================
  16. */
  17. #ifndef JUCE_VIDEO_H_INCLUDED
  18. #define JUCE_VIDEO_H_INCLUDED
  19. //=============================================================================
  20. #include "../juce_gui_extra/juce_gui_extra.h"
  21. //=============================================================================
  22. /** Config: JUCE_DIRECTSHOW
  23. Enables DirectShow media-streaming architecture (MS Windows only).
  24. */
  25. #ifndef JUCE_DIRECTSHOW
  26. #define JUCE_DIRECTSHOW 0
  27. #endif
  28. /** Config: JUCE_MEDIAFOUNDATION
  29. Enables Media Foundation multimedia platform (Windows Vista and above).
  30. */
  31. #ifndef JUCE_MEDIAFOUNDATION
  32. #define JUCE_MEDIAFOUNDATION 0
  33. #endif
  34. #if ! JUCE_WINDOWS
  35. #undef JUCE_DIRECTSHOW
  36. #undef JUCE_MEDIAFOUNDATION
  37. #endif
  38. /** Config: JUCE_QUICKTIME
  39. Enables the QuickTimeMovieComponent class (Mac and Windows).
  40. If you're building on Windows, you'll need to have the Apple QuickTime SDK
  41. installed, and its header files will need to be on your include path.
  42. */
  43. #if ! (defined (JUCE_QUICKTIME) || JUCE_LINUX || JUCE_IOS || JUCE_ANDROID || (JUCE_WINDOWS && ! JUCE_MSVC))
  44. #define JUCE_QUICKTIME 0
  45. #endif
  46. /** Config: JUCE_USE_CAMERA
  47. Enables web-cam support using the CameraDevice class (Mac and Windows).
  48. */
  49. #if (JUCE_QUICKTIME || JUCE_WINDOWS) && ! defined (JUCE_USE_CAMERA)
  50. #define JUCE_USE_CAMERA 0
  51. #endif
  52. #if ! (JUCE_MAC || JUCE_WINDOWS)
  53. #undef JUCE_QUICKTIME
  54. #undef JUCE_USE_CAMERA
  55. #endif
  56. //=============================================================================
  57. namespace juce
  58. {
  59. #include "playback/juce_DirectShowComponent.h"
  60. #include "playback/juce_QuickTimeMovieComponent.h"
  61. #include "capture/juce_CameraDevice.h"
  62. }
  63. #endif // JUCE_VIDEO_H_INCLUDED