equal
deleted
inserted
replaced
|
1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef __JPEG_YUV_DECODER_H__ |
|
17 #define __JPEG_YUV_DECODER_H__ |
|
18 |
|
19 #include <imageconversion.h> |
|
20 |
|
21 /** |
|
22 @internalAll |
|
23 |
|
24 Extended decoder for JPEG images. |
|
25 */ |
|
26 class CJpegYuvDecoder : public CImageDecoder |
|
27 { |
|
28 public: |
|
29 /** |
|
30 Flags to control how the image is decoded. |
|
31 These can be combined using an OR operation. |
|
32 */ |
|
33 enum TOptions |
|
34 { |
|
35 /** No flag set |
|
36 */ |
|
37 EOptionNone = 0x00, |
|
38 |
|
39 /** Decode the pixels in YUV format |
|
40 */ |
|
41 EOptionYuvDecode = 0x01 |
|
42 }; |
|
43 |
|
44 public: |
|
45 IMPORT_C void ConvertYuv(TRequestStatus* aRequestStatus, CFbsBitmap& aDestination, TInt aFrameNumber = 0); |
|
46 IMPORT_C void ConvertYuv(TRequestStatus* aRequestStatus, CFbsBitmap& aDestination, CFbsBitmap& aDestinationMask, TInt aFrameNumber = 0); |
|
47 }; |
|
48 |
|
49 #endif // __JPEG_YUV_DECODER_H__ |