RDK Documentation (Open Sourced RDK Components)
videoDeviceConfig.hpp
1
/*
2
* If not stated otherwise in this file or this component's Licenses.txt file the
3
* following copyright and licenses apply:
4
*
5
* Copyright 2016 RDK Management
6
*
7
* Licensed under the Apache License, Version 2.0 (the "License");
8
* you may not use this file except in compliance with the License.
9
* You may obtain a copy of the License at
10
*
11
* http://www.apache.org/licenses/LICENSE-2.0
12
*
13
* Unless required by applicable law or agreed to in writing, software
14
* distributed under the License is distributed on an "AS IS" BASIS,
15
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
* See the License for the specific language governing permissions and
17
* limitations under the License.
18
*/
19
20
21
22
23
/**
24
* @defgroup devicesettings
25
* @{
26
* @defgroup ds
27
* @{
28
**/
29
30
31
#ifndef VIDEODEVICECONFIG_HPP_
32
#define VIDEODEVICECONFIG_HPP_
33
34
#include "
videoDFC.hpp
"
35
#include "
videoDevice.hpp
"
36
#include <vector>
37
38
namespace
device {
39
40
class
VideoDeviceConfig
{
41
std::vector<VideoDFC> _vDFCs;
42
std::vector<VideoDevice> _vDevices;
43
44
VideoDeviceConfig
();
45
virtual
~
VideoDeviceConfig
();
46
static
VideoDeviceConfig
_singleton;
47
48
public
:
49
static
VideoDeviceConfig
& getInstance();
50
51
List<VideoDevice>
getDevices();
52
VideoDevice
& getDevice(
int
id
);
53
54
List<VideoDFC>
getDFCs();
55
VideoDFC
& getDFC(
int
id
);
56
VideoDFC
& getDefaultDFC();
57
58
void
load();
59
void
release();
60
61
};
62
63
}
64
65
#endif
/* VIDEODEVICECONFIG_HPP_ */
66
67
68
/** @} */
69
/** @} */
device::List
This class is implemented using templates and it is used to maintain a container with the list of sup...
Definition:
list.hpp:51
device::VideoDFC
This class extends DSConstant to manage the video Decoder Format Conversion.
Definition:
videoDFC.hpp:50
videoDevice.hpp
It contains class referenced by videoDevice.cpp file.
device::VideoDevice
class extending DSConstant to implement the videoDevice interface.
Definition:
videoDevice.hpp:53
device::VideoDeviceConfig
Definition:
videoDeviceConfig.hpp:40
videoDFC.hpp
This file defines VideoDFC class for managing video decoder format conversion types.
components
generic
devicesettings
ds
videoDeviceConfig.hpp
Generated on Thu Feb 9 2023 06:32:29 for RDK Documentation (Open Sourced RDK Components) by
1.8.17