imagehandlingutilities/thumbnailmanager/plugins/image/src/thumbnailimagedecoderv2.cpp
changeset 31 d429f823a6b7
parent 25 cb86b71cae0a
child 39 1a8af2cd6858
equal deleted inserted replaced
30:b67379558a75 31:d429f823a6b7
   168     
   168     
   169     delete iDecoder;
   169     delete iDecoder;
   170     iDecoder = NULL;
   170     iDecoder = NULL;
   171     
   171     
   172     CImageDecoder::TOptions options = ( CImageDecoder::TOptions )( 
   172     CImageDecoder::TOptions options = ( CImageDecoder::TOptions )( 
   173             CImageDecoder::EOptionNoDither | CImageDecoder::EPreferFastDecode | CImageDecoder::EOptionAlwaysThread );
   173             CImageDecoder::EOptionNoDither );
   174 
   174 
   175     TRAPD( decErr, iDecoder = CExtJpegDecoder::DataNewL( 
   175     TRAPD( decErr, iDecoder = CExtJpegDecoder::DataNewL( 
   176             CExtJpegDecoder::EHwImplementation, iFs, *iBuffer, options ));
   176             CExtJpegDecoder::EHwImplementation, iFs, *iBuffer, options ));
   177                     
   177                     
   178     if ( decErr != KErrNone )
   178     if ( decErr != KErrNone )