view src/aci2/mfw/mfw_fv.h @ 685:3fb7384e820d

tpudrv12.h: FCDEV3B goes back to being itself A while back we had the idea of a FreeCalypso modem family whereby our current fcdev3b target would some day morph into fcmodem, with multiple FC modem family products, potentially either triband or quadband, being firmware-compatible with each other and with our original FCDEV3B. But in light of the discovery of Tango modules that earlier idea is now being withdrawn: instead the already existing Tango hw is being adopted into our FreeCalypso family. Tango cannot be firmware-compatible with triband OM/FCDEV3B targets because the original quadband RFFE on Tango modules is wired in TI's original Leonardo arrangement. Because this Leonardo/Tango way is now becoming the official FreeCalypso way of driving quadband RFFEs thanks to the adoption of Tango into our FC family, our earlier idea of extending FIC's triband RFFE control signals with TSPACT5 no longer makes much sense - we will probably never produce any new hardware with that once-proposed arrangement. Therefore, that triband-or-quadband FCFAM provision is being removed from the code base, and FCDEV3B goes back to being treated the same way as CONFIG_TARGET_GTAMODEM for RFFE control purposes.
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 24 Sep 2020 21:03:08 +0000
parents 93999a60b835
children
line wrap: on
line source

/*
+--------------------------------------------------------------------+
| PROJECT:	MMI-Framework (8417)		$Workfile::	mfw_fv.h	    $|
| $Author::	NDH							$Revision::	1			    $|
| CREATED:	21.05.04		     		$Modtime::	21.05.04	 14:58	$|
| STATE  :	code														 |
+--------------------------------------------------------------------+

   MODULE  : MFW_FV

   PURPOSE :This module contains File Viewer Interface functions.

   HISTORY  :

    Aug 22, 2005    REF: ENH 31154 xdeepadh
   	Description: Application to Test Camera
   	Solution: Implemeted the Fileviewer to view the jpeg images.Camera Application to 
   	preview,capture and save image has been implemented.
	

*/
#ifndef DEF_MFW_FV
#define DEF_MFW_FV

//Defines 

#define SCREEN_SIZE_X 				176	
#define SCREEN_SIZE_Y 				220	
#define  SK_HEIGHT_LATIN				24

#define FV_DSPL_WIDTH 				 SCREEN_SIZE_X
#define FV_DSPL_HEIGHT 				 (SCREEN_SIZE_Y - SK_HEIGHT_LATIN)
#define FV_DSPL_VOLUME 				FV_DSPL_WIDTH * FV_DSPL_HEIGHT

#define  FV_SCALE_VOLUME  			 FV_DSPL_VOLUME / 4

#define MFW_ZOOM_WIDTH_DELTA  	32
#define MFW_ZOOM_HEIGHT_DELTA  	35 


//Defines for zooming
#define FV_NO_ZOOM 		0
#define FV_ZOOM_IN 		1
#define FV_ZOOM_OUT 	2

//Defines for rotation
#define FV_ROTATE_90	 0
#define FV_ROTATE_180 	 1
#define FV_ROTATE_270 	 2
#define FV_ROTATE_360 	 3

int mfw_fv_decode_image(UBYTE * inputbuffer, int size);
SHORT  mfw_fv_zoom_image();
SHORT  mfw_fv_rotate_image();

#endif  //DEF_MFW_FV