imagehandlingutilities/thumbnailmanager/plugins/audio/src/thumbnailimagedecoderv3.cpp
changeset 36 c5df59b4ae2d
parent 29 4bdfb6b5c9b4
child 39 1a8af2cd6858
equal deleted inserted replaced
30:b67379558a75 36:c5df59b4ae2d
   214     {
   214     {
   215     delete iDecoder;
   215     delete iDecoder;
   216     iDecoder = NULL;
   216     iDecoder = NULL;
   217 	
   217 	
   218     CImageDecoder::TOptions options = ( CImageDecoder::TOptions )( 
   218     CImageDecoder::TOptions options = ( CImageDecoder::TOptions )( 
   219             CImageDecoder::EOptionNoDither | CImageDecoder::EPreferFastDecode | CImageDecoder::EOptionAlwaysThread );
   219             CImageDecoder::EOptionNoDither );
   220  
   220  
   221     TRAPD( decErr, iDecoder = CExtJpegDecoder::DataNewL(
   221     TRAPD( decErr, iDecoder = CExtJpegDecoder::DataNewL(
   222             CExtJpegDecoder::EHwImplementation, iFs, *iBuffer, options ));
   222             CExtJpegDecoder::EHwImplementation, iFs, *iBuffer, options ));
   223     
   223     
   224     if ( decErr != KErrNone )
   224     if ( decErr != KErrNone )