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.

115 lines
3.5KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2015 - ROLI 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. /*******************************************************************************
  18. The block below describes the properties of this module, and is read by
  19. the Projucer to automatically generate project code that uses it.
  20. For details about the syntax and how to create or use a module, see the
  21. JUCE Module Format.txt file.
  22. BEGIN_JUCE_MODULE_DECLARATION
  23. ID: juce_video
  24. vendor: juce
  25. version: 4.3.1
  26. name: JUCE video playback and capture classes
  27. description: Classes for playing video and capturing camera input.
  28. website: http://www.juce.com/juce
  29. license: GPL/Commercial
  30. dependencies: juce_data_structures juce_cryptography
  31. OSXFrameworks: AVFoundation CoreMedia
  32. END_JUCE_MODULE_DECLARATION
  33. *******************************************************************************/
  34. #ifndef JUCE_VIDEO_H_INCLUDED
  35. #define JUCE_VIDEO_H_INCLUDED
  36. //==============================================================================
  37. #include <juce_gui_extra/juce_gui_extra.h>
  38. //==============================================================================
  39. /** Config: JUCE_DIRECTSHOW
  40. Enables DirectShow media-streaming architecture (MS Windows only).
  41. */
  42. #ifndef JUCE_DIRECTSHOW
  43. #define JUCE_DIRECTSHOW 0
  44. #endif
  45. /** Config: JUCE_MEDIAFOUNDATION
  46. Enables Media Foundation multimedia platform (Windows Vista and above).
  47. */
  48. #ifndef JUCE_MEDIAFOUNDATION
  49. #define JUCE_MEDIAFOUNDATION 0
  50. #endif
  51. #if ! JUCE_WINDOWS
  52. #undef JUCE_DIRECTSHOW
  53. #undef JUCE_MEDIAFOUNDATION
  54. #endif
  55. /** Config: JUCE_QUICKTIME
  56. Enables the QuickTimeMovieComponent class (Mac and Windows).
  57. If you're building on Windows, you'll need to have the Apple QuickTime SDK
  58. installed, and its header files will need to be on your include path.
  59. */
  60. #if ! (defined (JUCE_QUICKTIME) || JUCE_LINUX || JUCE_IOS || JUCE_ANDROID || (JUCE_WINDOWS && ! JUCE_MSVC))
  61. #define JUCE_QUICKTIME 0
  62. #endif
  63. /** Config: JUCE_USE_CAMERA
  64. Enables web-cam support using the CameraDevice class (Mac and Windows).
  65. */
  66. #if (JUCE_QUICKTIME || JUCE_WINDOWS) && ! defined (JUCE_USE_CAMERA)
  67. #define JUCE_USE_CAMERA 0
  68. #endif
  69. #if ! (JUCE_MAC || JUCE_WINDOWS)
  70. #undef JUCE_QUICKTIME
  71. #undef JUCE_USE_CAMERA
  72. #endif
  73. //==============================================================================
  74. namespace juce
  75. {
  76. #if JUCE_DIRECTSHOW || DOXYGEN
  77. #include "playback/juce_DirectShowComponent.h"
  78. #endif
  79. #if JUCE_MAC || DOXYGEN
  80. #include "playback/juce_MovieComponent.h"
  81. #endif
  82. #include "capture/juce_CameraDevice.h"
  83. }
  84. #endif // JUCE_VIDEO_H_INCLUDED