imagingandcamerafws/imagingfws/src/ImageResolverAPI.cpp
changeset 34 31d6e1ae5283
parent 0 40261b775718
equal deleted inserted replaced
33:0267baa9dea9 34:31d6e1ae5283
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1997-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
   552 void CCustomMatchData::SetOptions(CImageDecoder::TOptions aOptions)
   552 void CCustomMatchData::SetOptions(CImageDecoder::TOptions aOptions)
   553 	{
   553 	{
   554 	if ((aOptions & CImageDecoder::EOptionAutoRotate) != 0) 
   554 	if ((aOptions & CImageDecoder::EOptionAutoRotate) != 0) 
   555 		{
   555 		{
   556 		iOptionsUidsArray.Append(KUidJPGAutoRotateSupport);
   556 		iOptionsUidsArray.Append(KUidJPGAutoRotateSupport);
   557 		iOptions = aOptions;
   557 		}
   558 		}
   558 	if((aOptions & CImageDecoder::EOptionOptimisedPartialImageDecoding) != 0)
       
   559 	    {
       
   560         iOptionsUidsArray.Append(KUidJPGOptimisedPartialDecodingSupport);
       
   561 	    }
       
   562 	iOptions = aOptions;
   559 	}
   563 	}
   560 	
   564 	
   561 /*
   565 /*
   562 * Get list of all options required 
   566 * Get list of all options required 
   563 *
   567 *