FreeCalypso > hg > tcs211-c139
comparison g23m/condat/ms/src/mfw/mfw_fv.h @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:509db1a7b7b8 |
---|---|
1 /* | |
2 +--------------------------------------------------------------------+ | |
3 | PROJECT: MMI-Framework (8417) $Workfile:: mfw_fv.h $| | |
4 | $Author:: NDH $Revision:: 1 $| | |
5 | CREATED: 21.05.04 $Modtime:: 21.05.04 14:58 $| | |
6 | STATE : code | | |
7 +--------------------------------------------------------------------+ | |
8 | |
9 MODULE : MFW_FV | |
10 | |
11 PURPOSE :This module contains File Viewer Interface functions. | |
12 | |
13 HISTORY : | |
14 | |
15 Aug 22, 2005 REF: ENH 31154 xdeepadh | |
16 Description: Application to Test Camera | |
17 Solution: Implemeted the Fileviewer to view the jpeg images.Camera Application to | |
18 preview,capture and save image has been implemented. | |
19 | |
20 | |
21 */ | |
22 #ifndef DEF_MFW_FV | |
23 #define DEF_MFW_FV | |
24 | |
25 //Defines | |
26 | |
27 #define SCREEN_SIZE_X 176 | |
28 #define SCREEN_SIZE_Y 220 | |
29 #define SK_HEIGHT_LATIN 24 | |
30 | |
31 #define FV_DSPL_WIDTH SCREEN_SIZE_X | |
32 #define FV_DSPL_HEIGHT (SCREEN_SIZE_Y - SK_HEIGHT_LATIN) | |
33 #define FV_DSPL_VOLUME FV_DSPL_WIDTH * FV_DSPL_HEIGHT | |
34 | |
35 #define FV_SCALE_VOLUME FV_DSPL_VOLUME / 4 | |
36 | |
37 #define MFW_ZOOM_WIDTH_DELTA 32 | |
38 #define MFW_ZOOM_HEIGHT_DELTA 35 | |
39 | |
40 | |
41 //Defines for zooming | |
42 #define FV_NO_ZOOM 0 | |
43 #define FV_ZOOM_IN 1 | |
44 #define FV_ZOOM_OUT 2 | |
45 | |
46 //Defines for rotation | |
47 #define FV_ROTATE_90 0 | |
48 #define FV_ROTATE_180 1 | |
49 #define FV_ROTATE_270 2 | |
50 #define FV_ROTATE_360 3 | |
51 | |
52 int mfw_fv_decode_image(UBYTE * inputbuffer, int size); | |
53 SHORT mfw_fv_zoom_image(); | |
54 SHORT mfw_fv_rotate_image(); | |
55 | |
56 #endif //DEF_MFW_FV |