imagehandlingutilities/thumbnailmanager/plugins/audio/src/thumbnailimagedecoderv3.cpp
equal
deleted
inserted
replaced
91 // Decode the thumbnail image |
91 // Decode the thumbnail image |
92 // ----------------------------------------------------------------------------- |
92 // ----------------------------------------------------------------------------- |
93 // |
93 // |
94 void CThumbnailImageDecoderv3::DecodeL( const TDisplayMode aDisplayMode ) |
94 void CThumbnailImageDecoderv3::DecodeL( const TDisplayMode aDisplayMode ) |
95 { |
95 { |
|
96 TN_DEBUG1( "CThumbnailImageDecoderv3::DecodeL() start" ); |
|
97 |
96 // Create the bitmap |
98 // Create the bitmap |
97 if ( !iBitmap ) |
99 if ( !iBitmap ) |
98 { |
100 { |
99 iBitmap = new( ELeave )CFbsBitmap(); |
101 iBitmap = new( ELeave )CFbsBitmap(); |
100 } |
102 } |
139 iBitmap = NULL; |
141 iBitmap = NULL; |
140 User::Leave(err); |
142 User::Leave(err); |
141 } |
143 } |
142 |
144 |
143 iDecoder->Convert( &iStatus, * iBitmap ); |
145 iDecoder->Convert( &iStatus, * iBitmap ); |
144 while ( iStatus == KErrUnderflow ) |
146 |
145 { |
|
146 iDecoder->ContinueConvert( &iStatus ); |
|
147 } |
|
148 SetActive(); |
147 SetActive(); |
|
148 |
|
149 TN_DEBUG1( "CThumbnailImageDecoderv3::DecodeL() end" ); |
149 } |
150 } |
150 |
151 |
151 |
152 |
152 // ----------------------------------------------------------------------------- |
153 // ----------------------------------------------------------------------------- |
153 // CThumbnailImageDecoderv3::Release() |
154 // CThumbnailImageDecoderv3::Release() |