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 "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 #include <fbs.h> |
|
17 #include "TestCodec.h" |
|
18 |
|
19 |
|
20 // CTestReadCodec |
|
21 CTestReadCodec::CTestReadCodec(CTestDecoder& aDecoder): |
|
22 iDecoder(&aDecoder) |
|
23 {} |
|
24 |
|
25 CTestReadCodec::~CTestReadCodec() |
|
26 { |
|
27 } |
|
28 |
|
29 TFrameState CTestReadCodec::ProcessFrameL(TBufPtr8& /*aSrc*/) |
|
30 { |
|
31 return EFrameComplete; |
|
32 } |
|
33 |
|
34 void CTestReadCodec::Complete() |
|
35 { |
|
36 } |
|
37 |
|
38 void CTestReadCodec::InitFrameL(TFrameInfo& /*aFrameInfo*/, CFrameImageData& /*aFrameImageData*/, TBool /*aDisableErrorDiffusion*/, CFbsBitmap& /*aDestination*/, CFbsBitmap* /*aDestinationMask*/) |
|
39 { |
|
40 } |
|
41 |
|
42 //CTestWriteCodec |
|
43 CTestWriteCodec::CTestWriteCodec() |
|
44 { |
|
45 } |
|
46 |
|
47 CTestWriteCodec::~CTestWriteCodec() |
|
48 { |
|
49 } |
|
50 |
|
51 void CTestWriteCodec::InitFrameL(TBufPtr8& /*aDst*/, const CFbsBitmap& /*aSource*/) |
|
52 { |
|
53 } |
|
54 |
|
55 TFrameState CTestWriteCodec::ProcessFrameL(TBufPtr8& /*aDst*/) |
|
56 { |
|
57 return EFrameComplete; |
|
58 } |
|
59 |
|
60 |
|
61 |
|
62 |