RDK Documentation (Open Sourced RDK Components)
FakeIsoBmffBuffer.cpp
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 2022 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
#include "
isobmffbuffer.h
"
21
22
IsoBmffBuffer::~IsoBmffBuffer
()
23
{
24
}
25
26
bool
IsoBmffBuffer::isInitSegment
()
27
{
28
return
false
;
29
}
30
31
void
IsoBmffBuffer::setBuffer
(uint8_t *buf,
size_t
sz)
32
{
33
}
34
35
bool
IsoBmffBuffer::parseBuffer
(
bool
correctBoxSize,
int
newTrackId)
36
{
37
return
false
;
38
}
39
40
bool
IsoBmffBuffer::getTimeScale
(uint32_t &timeScale)
41
{
42
return
false
;
43
}
44
45
void
IsoBmffBuffer::destroyBoxes
()
46
{
47
}
48
49
bool
IsoBmffBuffer::getEMSGData
(uint8_t* &message, uint32_t &messageLen, uint8_t* &schemeIdUri, uint8_t* &value, uint64_t &presTime, uint32_t &timeScale, uint32_t &eventDuration, uint32_t &
id
)
50
{
51
return
false
;
52
}
IsoBmffBuffer::~IsoBmffBuffer
~IsoBmffBuffer()
IsoBmffBuffer destructor.
Definition:
isobmffbuffer.cpp:33
IsoBmffBuffer::getTimeScale
bool getTimeScale(uint32_t &timeScale)
Get TimeScale value of buffer.
Definition:
isobmffbuffer.cpp:307
IsoBmffBuffer::destroyBoxes
void destroyBoxes()
Release ISOBMFF boxes parsed.
Definition:
isobmffbuffer.cpp:177
IsoBmffBuffer::setBuffer
void setBuffer(uint8_t *buf, size_t sz)
Set buffer.
Definition:
isobmffbuffer.cpp:47
IsoBmffBuffer::parseBuffer
bool parseBuffer(bool correctBoxSize=false, int newTrackId=-1)
Parse ISOBMFF boxes from buffer.
Definition:
isobmffbuffer.cpp:59
IsoBmffBuffer::getEMSGData
bool getEMSGData(uint8_t *&message, uint32_t &messageLen, uint8_t *&schemeIdUri, uint8_t *&value, uint64_t &presTime, uint32_t &timeScale, uint32_t &eventDuration, uint32_t &id)
Get information from EMSG box.
Definition:
isobmffbuffer.cpp:408
isobmffbuffer.h
Header file for ISO Base Media File Format Buffer.
IsoBmffBuffer::isInitSegment
bool isInitSegment()
Check if buffer is an initialization segment.
Definition:
isobmffbuffer.cpp:360
components
generic
aamp
test
utests
fakes
FakeIsoBmffBuffer.cpp
Generated on Thu Feb 9 2023 06:32:28 for RDK Documentation (Open Sourced RDK Components) by
1.8.17