1 /* |
|
2 * Copyright (c) 2010 Ixonos Plc. |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - Initial contribution |
|
11 * |
|
12 * Contributors: |
|
13 * Ixonos Plc |
|
14 * |
|
15 * Description: |
|
16 * Header file for external usage of the services provided by |
|
17 * the H.263 Video Decoder Engine. |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 #ifndef _VDEMAIN_H_ |
|
23 #define _VDEMAIN_H_ |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 /* |
|
29 * Includes |
|
30 */ |
|
31 |
|
32 #include "biblin.h" |
|
33 |
|
34 #include "epoclib.h" |
|
35 #include "vdefrt.h" |
|
36 |
|
37 |
|
38 /* |
|
39 * Structs and typedefs |
|
40 */ |
|
41 |
|
42 /* {{-output"vdeHInstance_t_info.txt" -ignore"*" -noCR}} |
|
43 vdeHInstance_t is used as a unique identifier of a Video Decoder |
|
44 Engine instance. |
|
45 The type can be casted to u_int32 or void pointer and then back to |
|
46 vdeHInstance_t without any problems. |
|
47 {{-output"vdeHInstance_t_info.txt"}} */ |
|
48 |
|
49 /* {{-output"vdeHInstance_t.txt"}} */ |
|
50 typedef void * vdeHInstance_t; |
|
51 /* {{-output"vdeHInstance_t.txt"}} */ |
|
52 |
|
53 |
|
54 |
|
55 /* |
|
56 * Function prototypes |
|
57 */ |
|
58 |
|
59 int vdeFree(void); |
|
60 |
|
61 int vdeGetLatestFrame( |
|
62 vdeHInstance_t hInstance, |
|
63 u_char **ppy, u_char **ppu, u_char **ppv, |
|
64 int *pLumWidth, int *pLumHeight, |
|
65 int *pFrameNum); |
|
66 |
|
67 vdeHInstance_t vdeInit(h263dOpen_t *param); |
|
68 |
|
69 int vdeIsINTRA( |
|
70 vdeHInstance_t hInstance, |
|
71 void *frameStart, |
|
72 unsigned frameLength); |
|
73 |
|
74 int vdeLoad(const char *rendererFileName); |
|
75 |
|
76 int vdeReturnImageBuffer(vdeHInstance_t hInstance, u_int32 typelessParam); |
|
77 |
|
78 int vdeSetInputBuffer(vdeHInstance_t hInstance, bibBuffer_t *buffer); |
|
79 |
|
80 |
|
81 int vdeSetOutputBuffer(vdeHInstance_t hInstance, bibBuffer_t *buffer); |
|
82 |
|
83 int vdeSetBufferEdit(vdeHInstance_t hInstance, bibBufferEdit_t *bufEdit); |
|
84 |
|
85 int vdeSetVideoEditParams(vdeHInstance_t hInstance, int aColorEffect, |
|
86 TBool aGetDecodedFrame, TInt aColorToneU, TInt aColorToneV); |
|
87 |
|
88 int vdeShutDown(vdeHInstance_t hInstance); |
|
89 |
|
90 #endif |
|
91 // End of File |
|