equal
deleted
inserted
replaced
24 // INCLUDES |
24 // INCLUDES |
25 #include <mmf/common/mmfutilities.h> |
25 #include <mmf/common/mmfutilities.h> |
26 |
26 |
27 #include "mccfilesourcetypebase.h" |
27 #include "mccfilesourcetypebase.h" |
28 |
28 |
|
29 |
|
30 const TUint KMccReadFrameFailCountMax = 20; |
|
31 |
29 // FORWARD DECLARATIONS |
32 // FORWARD DECLARATIONS |
30 class CMccFileSourceImpl; |
33 class CMccFileSourceImpl; |
31 class MMccResources; |
34 class MMccResources; |
32 |
35 |
33 class CMccFileVideo : public CMccFileSourceTypeBase |
36 class CMccFileVideo : public CMccFileSourceTypeBase |
51 TReal VideoFrameRateL(); |
54 TReal VideoFrameRateL(); |
52 void StartTimerL(); |
55 void StartTimerL(); |
53 TFourCC GetFourCC(); |
56 TFourCC GetFourCC(); |
54 TCallBack TickCallBack(); |
57 TCallBack TickCallBack(); |
55 HBufC8* GetConfigKeyL(); |
58 HBufC8* GetConfigKeyL(); |
|
59 TUint32 VideoType() const; |
56 |
60 |
57 public: |
61 public: |
58 static TInt TickVideoL( TAny* aObject ); |
62 static TInt TickVideoL( TAny* aObject ); |
59 void ReadFrameL(); |
63 void ReadFrameL(); |
60 |
64 |
110 |
114 |
111 TReal iFrameRate; |
115 TReal iFrameRate; |
112 TBool iIsVideoLeft; |
116 TBool iIsVideoLeft; |
113 TBool iIsFirstFrame; |
117 TBool iIsFirstFrame; |
114 TFourCC iFourCC; |
118 TFourCC iFourCC; |
|
119 |
|
120 TInt iReadFrameFailCount; |
|
121 TBool iSendReadFrameFailEvent; |
115 |
122 |
116 MMccResources* iMccResources; |
123 MMccResources* iMccResources; |
117 TUint32 iEndpointId; |
124 TUint32 iEndpointId; |
118 CCMRMediaBuffer::TBufferType iBufferType; |
125 CCMRMediaBuffer::TBufferType iBufferType; |
119 |
126 |