RDK Documentation (Open Sourced RDK Components)
compositein_shim.h
Go to the documentation of this file.
1
/*
2
* If not stated otherwise in this file or this component's license file the
3
* following copyright and licenses apply:
4
*
5
* Copyright 2021 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
* @file compositein_shim.h
22
* @brief shim for dispatching UVE Composite input playback
23
*/
24
25
#ifndef COMPOSITEIN_SHIM_H_
26
#define COMPOSITEIN_SHIM_H_
27
28
#include "
videoin_shim.h
"
29
#include <string>
30
#include <stdint.h>
31
#ifdef USE_CPP_THUNDER_PLUGIN_ACCESS
32
#include <core/core.h>
33
#include "
ThunderAccess.h
"
34
#endif
35
using namespace
std;
36
37
/**
38
* @class StreamAbstractionAAMP_COMPOSITEIN
39
* @brief Fragment collector for MPEG DASH
40
*/
41
class
StreamAbstractionAAMP_COMPOSITEIN
:
public
StreamAbstractionAAMP_VIDEOIN
42
{
43
public
:
44
/**
45
* @fn StreamAbstractionAAMP_COMPOSITEIN
46
* @param aamp pointer to PrivateInstanceAAMP object associated with player
47
* @param seekpos Seek position
48
* @param rate playback rate
49
*/
50
StreamAbstractionAAMP_COMPOSITEIN
(
AampLogManager
*logObj,
class
PrivateInstanceAAMP
*aamp,
double
seekpos,
float
rate);
51
/**
52
* @fn ~StreamAbstractionAAMP_COMPOSITEIN
53
*/
54
~
StreamAbstractionAAMP_COMPOSITEIN
();
55
/**
56
* @brief Copy constructor disabled
57
*
58
*/
59
StreamAbstractionAAMP_COMPOSITEIN
(
const
StreamAbstractionAAMP_COMPOSITEIN
&) =
delete
;
60
/**
61
* @brief assignment operator disabled
62
*
63
*/
64
StreamAbstractionAAMP_COMPOSITEIN
& operator=(
const
StreamAbstractionAAMP_COMPOSITEIN
&) =
delete
;
65
/**
66
* @brief Initialize a newly created object.
67
* @param tuneType to set type of object.
68
* @retval eAAMPSTATUS_OK
69
*/
70
AAMPStatusType
Init(
TuneType
tuneType)
override
;
71
/**
72
* @fn Start
73
*/
74
void
Start()
override
;
75
/**
76
* @fn Stop
77
*/
78
void
Stop(
bool
clearChannelData)
override
;
79
/**
80
* @fn GetAvailableVideoTracks
81
*/
82
std::vector<StreamInfo*> GetAvailableVideoTracks(
void
)
override
;
83
/**
84
* @fn GetAvailableThumbnailTracks
85
* @return available thunbnail tracks.
86
*/
87
std::vector<StreamInfo*> GetAvailableThumbnailTracks(
void
)
override
;
88
/**
89
* @fn SetThumbnailTrack
90
* @return True/False to set.
91
*/
92
bool
SetThumbnailTrack(
int
)
override
;
93
/***************************************************************************
94
* @fn GetThumbnailRangeData
95
*
96
* @param tStart start duration of thumbnail data.
97
* @param tEnd end duration of thumbnail data.
98
* @param baseurl base url of thumbnail images.
99
* @param raw_w absolute width of the thumbnail spritesheet.
100
* @param raw_h absolute height of the thumbnail spritesheet.
101
* @param width width of each thumbnail tile.
102
* @param height height of each thumbnail tile.
103
***************************************************************************/
104
std::vector<ThumbnailData> GetThumbnailRangeData(
double
tStart,
double
tEnd, std::string *baseurl,
int
*raw_w,
int
*raw_h,
int
*width,
int
*height)
override
;
105
};
106
107
#endif // COMPOSITEIN_SHIM_H_
108
/**
109
* @}
110
*/
111
ThunderAccess.h
shim for dispatching UVE HDMI input playback
videoin_shim.h
shim for dispatching UVE Video input playback
TuneType
TuneType
Tune Typea.
Definition:
priv_aamp.h:190
AampLogManager
AampLogManager Class.
Definition:
AampLogManager.h:150
PrivateInstanceAAMP
Class representing the AAMP player's private instance, which is not exposed to outside world.
Definition:
priv_aamp.h:640
AAMPStatusType
AAMPStatusType
AAMP Function return values.
Definition:
priv_aamp.h:205
StreamAbstractionAAMP_COMPOSITEIN
Fragment collector for MPEG DASH.
Definition:
compositein_shim.h:41
StreamAbstractionAAMP_VIDEOIN
Fragment collector for MPEG DASH.
Definition:
videoin_shim.h:42
components
generic
aamp
compositein_shim.h
Generated on Thu Feb 9 2023 06:32:27 for RDK Documentation (Open Sourced RDK Components) by
1.8.17