Ocean
Special.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) Meta Platforms, Inc. and affiliates.
3  *
4  * This source code is licensed under the MIT license found in the
5  * LICENSE file in the root directory of this source tree.
6  */
7 
8 #ifndef META_OCEAN_MEDIA_OPEN_IMAGE_LIBRARIES_SPECIAL_H
9 #define META_OCEAN_MEDIA_OPEN_IMAGE_LIBRARIES_SPECIAL_H
10 
11 #include "ocean/media/Media.h"
12 
13 namespace Ocean
14 {
15 
16 namespace Media
17 {
18 
19 namespace Special
20 {
21 
22 /**
23  * @ingroup media
24  * @defgroup mediaspecial Ocean Media Special Library
25  * @{
26  * The Ocean Media Special Library provides image media functionalities based on special image formats like e.g., Npy, Pfm, or Bmp.
27  * The library is platform independent.
28  * @}
29  */
30 
31 /**
32  * @namespace Ocean::Media::Special Namespace of the Media Special library.<p>
33  * The Namespace Ocean::Media::Special is used in the entire Ocean Media Special Library.
34  */
35 
36 // Defines OCEAN_MEDIA_SPECIAL_EXPORT for dll export and import.
37 #if defined(_WINDOWS) && defined(OCEAN_RUNTIME_SHARED)
38  #ifdef USE_OCEAN_MEDIA_SPECIAL_EXPORT
39  #define OCEAN_MEDIA_SPECIAL_EXPORT __declspec(dllexport)
40  #else
41  #define OCEAN_MEDIA_SPECIAL_EXPORT __declspec(dllimport)
42  #endif
43 #else
44  #define OCEAN_MEDIA_SPECIAL_EXPORT
45 #endif
46 
47 /**
48  * Returns the name of this media Special library.
49  * @ingroup mediaspecial
50  */
51 OCEAN_MEDIA_SPECIAL_EXPORT std::string nameSpecialLibrary();
52 
53 }
54 
55 }
56 
57 }
58 
59 #endif // META_OCEAN_MEDIA_OPEN_IMAGE_LIBRARIES_SPECIAL_H
OCEAN_MEDIA_SPECIAL_EXPORT std::string nameSpecialLibrary()
Returns the name of this media Special library.
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15