CCamC3GPDataSinkImp Class Reference
class CCamC3GPDataSinkImp : public CCamC3GPDataSink
|
Constructor & Destructor Documentation
CCamC3GPDataSinkImp()
CCamC3GPDataSinkImp
|
(
|
)
|
[inline]
|
~CCamC3GPDataSinkImp(void)
~CCamC3GPDataSinkImp
|
(
|
void
|
|
)
|
|
Member Functions Documentation
ComposeUDTAL()
void
|
ComposeUDTAL
|
(
|
)
|
[private]
|
Compose UDTA (
User
Data) to video file
-
Since
-
5.2
ConstructL(M3GPDataSinkObserver *)
ConvertAVCHeaderByteStreamL(CCMRMediaBuffer *, TDes8 &)
Convert AVC specific decoder config info from Bytestream (ElementaryStream) encapsulation to AVC Decoder Configuration Record -format
-
Since
-
3.2
ConvertAVCHeaderNALL(CCMRMediaBuffer *, TDes8 &)
Convert AVC specific decoder config info from NAL (GenericPayload) encapsulation to AVC Decoder Configuration Record -format
-
Since
-
3.2
ConvertBytestreamHeadersToNALSizes(CCMRMediaBuffer *)
void
|
ConvertBytestreamHeadersToNALSizes
|
(
|
CCMRMediaBuffer
*
|
aBuffer
|
)
|
[private]
|
Converts AVC frame from Bytestream (ElementaryStream) encapsulation to file format AVC sample structure by replacing bytestream headers with NAL unit sizes.
-
Since
-
5.0
ConvertNALEncapsulationToNALSizes(CCMRMediaBuffer *)
void
|
ConvertNALEncapsulationToNALSizes
|
(
|
CCMRMediaBuffer
*
|
aBuffer
|
)
|
[private]
|
Converts AVC frame from NAL (EGenericPayload) encapsulation to file format AVC sample structure by replacing NAL encapsulation with NAL unit sizes.
-
Since
-
5.0
CurrentFileSize()
TUint
|
CurrentFileSize
|
(
|
)
|
const [private]
|
Estimate current file size
-
Since
-
2.1
CurrentMetadataSize()
TUint
|
CurrentMetadataSize
|
(
|
)
|
const [private]
|
Estimate current metadata size
-
Since
-
2.1
DetermineAACFrameDurationL(CCMRMediaBuffer *)
Determines AAC audio frame duration.
-
Since
-
2.8
DriveFreeSpaceL()
TInt64
|
DriveFreeSpaceL
|
(
|
)
|
[private]
|
Calculate free space on a drive in bytes.
-
Since
-
2.1
GetElapsedTime()
Return the amount of time recording has been on in microseconds.
-
Since
-
2.1
GetRemainingTimeL()
Return the estimated remaining time for the recording in microseconds.
-
Since
-
2.1
IdleDelete(TAny *)
TInt
|
IdleDelete
|
(
|
TAny
*
|
aCont
|
)
|
[private, static]
|
LittleEndianPut16(TUint8 *, TUint16)
Convert 16bit unsigned value to little endian format into buffer
-
Since
-
5.2
LittleEndianPut32(TUint8 *, TUint32)
Convert 32bit unsigned value to little endian format into buffer
-
Since
-
5.2
M3GPMP4LibDeleteTempFileName(MP4FileName)
void
|
M3GPMP4LibDeleteTempFileName
|
(
|
MP4FileName
|
tempFileName
|
)
|
|
OpenFileL(TFileName, TFourCC, const TDesC8 &, TCamCSinkFileFormat)
Open a file for writing.
-
Since
-
2.1
Parameters
TFileName
aFileName
|
File name
|
TFourCC
aAudioCodecType
|
Four CC code of the used audio codec
|
const
TDesC8
& aVideoCodecType
|
Four CC code of the used video codec
|
TCamCSinkFileFormat
aFileFormat
|
Used file format TCamCSinkFileFormat
|
OpenFileL(CMMFFile *, TFourCC, const TDesC8 &, TCamCSinkFileFormat)
Open a 3GP file for writing.
-
Since
-
3.2
Parameters
CMMFFile
* aMMFFile
|
CMMFFile from MMF
|
TFourCC
aAudioCodecType
|
Four CC code of the used audio codec
|
const
TDesC8
& aVideoCodecType
|
Four CC code of the used video codec
|
TCamCSinkFileFormat
aFileFormat
|
Used file format TCamCSinkFileFormat
|
SetAverageAudioBitRate(TInt)
TInt
|
SetAverageAudioBitRate
|
(
|
TInt
|
aBitRate
|
)
|
[virtual]
|
Give average audio bitrate to sink.
-
Since
-
2.1
Parameters
TInt
aBitRate
|
Average bitrate
|
SetAverageVideoBitRate(TInt)
TInt
|
SetAverageVideoBitRate
|
(
|
TInt
|
aBitRate
|
)
|
[virtual]
|
Give average video bitrate to sink.
-
Since
-
2.1
Parameters
TInt
aBitRate
|
Average bitrate
|
SetMaxVideoBitRate(TInt)
TInt
|
SetMaxVideoBitRate
|
(
|
TInt
|
aBitRate
|
)
|
[virtual]
|
Give maximum video bitrate to sink.
-
Since
-
2.1
Parameters
TInt
aBitRate
|
Maximum bitrate
|
SetSizeLimit(TUint)
void
|
SetSizeLimit
|
(
|
TUint
|
aSize
|
)
|
[virtual]
|
Set size limit of the 3GP file to be recorded in bytes.
-
Since
-
2.1
SetVideoFrameSize(TSize)
TInt
|
SetVideoFrameSize
|
(
|
TSize
|
aSize
|
)
|
[virtual]
|
Give video frame size to sink.
-
Since
-
2.1
SinkStopL()
void
|
SinkStopL
|
(
|
)
|
[virtual]
|
Order the sink to finalize and close the current 3GP file.
-
Since
-
2.1
WriteBufferL(CCMRMediaBuffer *)
Write an audio/video buffer to the sink.
-
Since
-
2.1
Member Data Documentation
TInt
iAVCOutputLevel
TInt
|
iAVCOutputLevel
|
[private]
|
TInt
iAudioAACFrameDuration
TInt
|
iAudioAACFrameDuration
|
[private]
|
TInt
iAudioAACSamplerate
TInt
|
iAudioAACSamplerate
|
[private]
|
TInt
iAudioAverageBitRate
TInt
|
iAudioAverageBitRate
|
[private]
|
TUint8 * iAudioBuffer
TUint8
*
|
iAudioBuffer
|
[private]
|
TUint
iAudioBufferFrameSize
TUint
|
iAudioBufferFrameSize
|
[private]
|
TUint
iAudioBufferSize
TUint
|
iAudioBufferSize
|
[private]
|
TInt
iAudioDecSpecInfoSize
TInt
|
iAudioDecSpecInfoSize
|
[private]
|
TUint
iAudioFrameNumber
TUint
|
iAudioFrameNumber
|
[private]
|
TUint
iAudioFramesInBuffer
TUint
|
iAudioFramesInBuffer
|
[private]
|
TInt64
iAvailableSpaceAtStart
TInt64
|
iAvailableSpaceAtStart
|
[private]
|
TTimeIntervalMicroSeconds
iAvarageEndTime
TInt
iBufferSize
TInt
|
iBufferSize
|
[private]
|
CCMRMediaBuffer::TBufferType
iBufferType
TUint
iBytesOfMetadata
TUint
|
iBytesOfMetadata
|
[private]
|
TUint
iBytesReceived
TUint
|
iBytesReceived
|
[private]
|
TInt
iCriticalDiskVal
TInt
|
iCriticalDiskVal
|
[private]
|
RPointerArray< MP4FileName > * iDeleteFileQueue
TBool
iDiskFull
TBool
|
iDiskFull
|
[private]
|
TInt
iDriveNumber
TInt
|
iDriveNumber
|
[private]
|
TUint
iFileCodecType
TUint
|
iFileCodecType
|
[private]
|
TBool
iFileHandleExists
TBool
|
iFileHandleExists
|
[private]
|
TBool
iFileSizeLimitReached
TBool
|
iFileSizeLimitReached
|
[private]
|
TTimeIntervalMicroSeconds
iFirstVideoFrameTimestamp
TInt64
iFreeDiskSpace
TInt64
|
iFreeDiskSpace
|
[private]
|
TInt
iFreeDiskSpaceCounter
TInt
|
iFreeDiskSpaceCounter
|
[private]
|
CIdle * iIdleDelete
CIdle
*
|
iIdleDelete
|
[private]
|
MP4Handle iMP4Handle
MP4Handle
|
iMP4Handle
|
[private]
|
M3GPDataSinkObserver * iObserver
TTimeIntervalMicroSeconds
iRemainingTime
TInt
iVideoAverageBitRate
TInt
|
iVideoAverageBitRate
|
[private]
|
TUint8 * iVideoBuffer
TUint8
*
|
iVideoBuffer
|
[private]
|
TUint
iVideoBufferFrameSize
TUint
|
iVideoBufferFrameSize
|
[private]
|
TBool
iVideoBufferRandomAccessPoint
TBool
|
iVideoBufferRandomAccessPoint
|
[private]
|
TUint
iVideoBufferSize
TUint
|
iVideoBufferSize
|
[private]
|
TTimeIntervalMicroSeconds
iVideoBufferTimestamp
TInt
iVideoDecSpecInfoSize
TInt
|
iVideoDecSpecInfoSize
|
[private]
|
TUint
iVideoFrameDuration
TUint
|
iVideoFrameDuration
|
[private]
|
TUint
iVideoFrameNumber
TUint
|
iVideoFrameNumber
|
[private]
|
TUint
iVideoIntraFrameNumber
TUint
|
iVideoIntraFrameNumber
|
[private]
|
TInt
iVideoMaxBitRate
TInt
|
iVideoMaxBitRate
|
[private]
|
TBool
iVideoRandomAccessPoint
TBool
|
iVideoRandomAccessPoint
|
[private]
|
TTimeIntervalMicroSeconds
iVideoTimestamp
TInt
iVideoXResolution
TInt
|
iVideoXResolution
|
[private]
|
TInt
iVideoYResolution
TInt
|
iVideoYResolution
|
[private]
|
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.