|
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 "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef __EXTENDED_TEST_CONVERT_H__ |
|
17 #define __EXTENDED_TEST_CONVERT_H__ |
|
18 |
|
19 #include "ExtendedPlugin.h" |
|
20 |
|
21 // Decoder. |
|
22 class CExtendedTestDecoderPlugin : public CExtendedDecoderPlugin |
|
23 { |
|
24 public: |
|
25 static CExtendedTestDecoderPlugin* NewL(); |
|
26 virtual ~CExtendedTestDecoderPlugin(); |
|
27 |
|
28 protected: |
|
29 //From CImageDecoderPlugin |
|
30 virtual void ScanDataL(); |
|
31 virtual CFrameInfoStrings* FrameInfoStringsL(RFs& aFs, TInt aFrameNumber = 0); |
|
32 virtual void ImageType(TInt aFrameNumber, TUid& aImageType, TUid& aImageSubType) const; |
|
33 |
|
34 private: |
|
35 CExtendedTestDecoderPlugin(); |
|
36 }; |
|
37 |
|
38 // Encoder. |
|
39 class CExtendedTestEncoderPlugin : public CExtendedEncoderPlugin |
|
40 { |
|
41 public: |
|
42 static CExtendedTestEncoderPlugin* NewL(); |
|
43 virtual ~CExtendedTestEncoderPlugin(); |
|
44 |
|
45 protected: |
|
46 //From CImageEncoderPlugin |
|
47 virtual void PrepareEncoderL(const CFrameImageData* aFrameImageData); |
|
48 virtual void UpdateHeaderL(); |
|
49 |
|
50 private: |
|
51 CExtendedTestEncoderPlugin(); |
|
52 }; |
|
53 |
|
54 |
|
55 #endif // __EXTENDED_TEST_CONVERT_H__ |
|
56 |