CCMRMediaBuffer Class Reference
class CCMRMediaBuffer : public CBase
|
Buffer class used in
MCMRMediaSink
CAMCMEDIARECORDER.LIB
-
Since
-
2.1
Public Member Enumerations
|
enum
|
TBufferType
{
EAudioAMRNB
= 0,
EAudioAMRWB
,
EVideoH263
,
EVideoMPEG4
,
EVideoMPEG4DecSpecInfo
,
EAudioDecSpecInfo
= 6,
EAudioMPEG4AAC
,
EVideoH264NAL
,
EVideoH264Bytestream
,
EVideoH264NALDecSpecInfo
,
EVideoH264BytestreamDecSpecInfo
}
|
Constructor & Destructor Documentation
CCMRMediaBuffer()
CCMRMediaBuffer
|
(
|
)
|
[inline]
|
C++ constructors. The 1st creates a buffer to be initialized later with Set, and the 2nd one initializes it already here
CCMRMediaBuffer(const TPtrC8 &, const TBufferType, const TInt, const TBool, const TTimeIntervalMicroSeconds &)
~CCMRMediaBuffer()
~CCMRMediaBuffer
|
(
|
)
|
[inline]
|
Member Functions Documentation
BufferSize()
TInt
|
BufferSize
|
(
|
)
|
const [inline]
|
Write Return buffer size
-
Since
-
2.1
Data()
TPtrC8
|
Data
|
(
|
)
|
const [inline]
|
Return the data pointer
-
Since
-
2.1
RandomAccessPoint()
TBool
|
RandomAccessPoint
|
(
|
)
|
const [inline]
|
Query whether this buffer contains a frame that can be used as a random-access point
-
Since
-
2.1
Set(const TPtrC8 &, const TBufferType, const TInt, const TBool, const TTimeIntervalMicroSeconds &)
Set the buffer parameters. This enables reusing the buffer
-
Since
-
2.1
TimeStamp()
Write a buffer to sink
-
Since
-
2.1
Type()
Return buffer type
-
Since
-
2.1
Member Enumerations Documentation
Enum TBufferType
Enumerators
EAudioAMRNB = 0
|
|
EAudioAMRWB
|
|
EVideoH263
|
|
EVideoMPEG4
|
|
EVideoMPEG4DecSpecInfo
|
|
EAudioDecSpecInfo = 6
|
|
EAudioMPEG4AAC
|
|
EVideoH264NAL
|
|
EVideoH264Bytestream
|
|
EVideoH264NALDecSpecInfo
|
|
EVideoH264BytestreamDecSpecInfo
|
|
Member Data Documentation
TBool
iRandomAccessPoint
TBool
|
iRandomAccessPoint
|
[private]
|
TTimeIntervalMicroSeconds
iTimeStamp
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.