Ocean
Loading...
Searching...
No Matches
DSMovieRecorder.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_DS_MOVIE_RECORDER_H
9#define META_OCEAN_MEDIA_DS_MOVIE_RECORDER_H
10
14
16
17namespace Ocean
18{
19
20namespace Media
21{
22
23namespace DirectShow
24{
25
26/**
27 * This class implements a DirectShow movie recorder.
28 * @ingroup mediads
29 */
30class OCEAN_MEDIA_DS_EXPORT DSMovieRecorder :
31 virtual public DSFileRecorder,
32 virtual public DSFrameRecorder,
33 virtual public MovieRecorder
34{
35 friend class DSLibrary;
36
37 protected:
38
39 /**
40 * Creates a new DirectShow movie recorder.
41 */
43
44 /**
45 * Destructs a DirectShow movie recorder.
46 */
47 ~DSMovieRecorder() override;
48
49 /**
50 * Builds the entire filter graph.
51 * @see DSGraphObject::buildGraph().
52 */
53 bool buildGraph() override;
54
55 /**
56 * Releases the entire filter graph.
57 * @see DSGraphObject::releaseGraph().
58 */
59 void releaseGraph() override;
60};
61
62}
63
64}
65
66}
67
68#endif // META_OCEAN_MEDIA_DS_MOVIE_RECORDER_H
DSFileRecorder()=default
Creates a new DirectShow file recorder.
DSFrameRecorder()=default
Creates a new DirectShow frame recorder.
bool buildGraph() override
Builds the entire filter graph.
DSMovieRecorder()
Creates a new DirectShow movie recorder.
void releaseGraph() override
Releases the entire filter graph.
friend class DSLibrary
Definition DSMovieRecorder.h:35
~DSMovieRecorder() override
Destructs a DirectShow movie recorder.
MovieRecorder()
Creates a new movie recorder.
Namespace of the Media DirectShow library.
Definition DirectShow.h:24
Namespace of the Media library.
Definition AAudio.h:26
The namespace covering the entire Ocean framework.
Definition Accessor.h:15