Ocean
FFmpeg.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_FFM_FFMPEG_H
9 #define META_OCEAN_MEDIA_FFM_FFMPEG_H
10 
11 #include "ocean/media/Media.h"
12 
13 namespace Ocean
14 {
15 
16 namespace Media
17 {
18 
19 namespace FFmpeg
20 {
21 
22 /**
23  * @ingroup media
24  * @defgroup mediaffm Ocean Media FFmpeg Library
25  * @{
26  * The Ocean Media FFmpeg Library provides media functionalities based on the FFmpeg video/audio library.
27  * The library is platform independent.
28  * @}
29  */
30 
31 /**
32  * @namespace Ocean::Media::FFmpeg Namespace of the Media FFmpeg library.<p>
33  * The Namespace Ocean::Media::FFmpeg is used in the entire Ocean Media FFmpeg Library.
34  */
35 
36 /**
37  * Returns the name of this media FFmpeg library.
38  * @ingroup mediaffm
39  */
40 std::string nameFFmpegLibrary();
41 
42 #if defined(OCEAN_RUNTIME_STATIC)
43 
44 /**
45  * Registers this media library at the global library manager.
46  * This function calls FFMLibrary::registerLibrary() only.
47  * @ingroup mediaffm
48  */
50 
51 /**
52  * Unregisters this media library at the global library manager.
53  * This function calls FFMLibrary::unregisterLibrary() only.
54  * @return True, if succeeded
55  * @ingroup mediaffm
56  */
58 
59 #endif // OCEAN_RUNTIME_STATIC
60 
61 }
62 
63 }
64 
65 }
66 
67 #endif // META_OCEAN_MEDIA_FFM_FFMPEG_H
std::string nameFFmpegLibrary()
Returns the name of this media FFmpeg library.
void registerFFmpegLibrary()
Registers this media library at the global library manager.
bool unregisterFFmpegLibrary()
Unregisters this media library at the global library manager.
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15