VERSION 0.7
===========
* in the "callbacks.h" changed the "int /*Bool*/" in prototypes to "bool"





VERSION 0.6
===========
=> Should we fist test a MGR build with a simple DFB_Init() and DFB_Create()??

* created the callback structure in "callbacks.h"
* added static function "ConvertPalette2Clut"
	=> pointer type incompatibility to check !!!!!!!

where is TMCOPY ??????????????????????????????

R: to call a function named by its pointer pFunc, we can call >(*pFunc)(1) or directly pFunc(1) ...
is this correct ??

* got problems in the "bool" definition in the file "callbacks.h" in the MRG build....
	=> replaced by unsigned char as suggested in the dfb_types.h



VERSION 0.5
===========
* removed include "video.h"
* "CETVFB_VIDEO_SET_REGION" case in the call handler
* removed lots of tm@@@ prototypes like "tmDbg_AssertError" etc... in cetvfb.c	
* modified the makefile (old is stored under makefile.old) to remove the "tm" includes and kick out "video.c"
=> builds ok!!


VERSION 0.4
===========
* removed from cetvfb.h :
	* cetvfb->scaling   and use in c code
	* cetvfb->scale_size etc...
	* cetvfb->pIVmix;
	* cetvfb->pILayer;
	* cetvfb->pIGfxLayer;
	* cetvfb->pIColorKey;
	*
* changed type of format and format_class to UInt32
* removed from DFBCETVFB structure :
	* scale_buffer;
	* mbsLock;
	* mbsCond;
	* mbsBusy;
* removed references to all
* changed all "UInt32" to "unsigned long"





VERSION 0.3
===========
* changed fielrate type from tmVmix_FieldRate_t to UInt32 (equivalent of Nat32)
* in the fucntion "set_region" replaced "rect" of type tmRect_t by 	 
	 int ul_x = 0;
	 int ul_y = 0;
	 int lr_x = 0;
	 int lr_y = 0;
* in the function "set_region", replaced all tmVmix calls to koala "mix" calls !!
=> OPEN QUESTIONS :
	keytypes ??
	more than 1 colorkey ??
	uppercolor = lowercolor ???

* in function "update_screen" removed the MBS part -> SetBuffer called always (no SW scaling needed)
=> we should get rid of the field "->scaling" !!!

* removed function "SetScaleBuffer"
* in function "SetSurfaceBuffer" :
	cetvld->format_class /* Nat32 fmtclass */
	cetvld->format       /* Nat32 fmttype  */
=> this types should be defined !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
		the function "dfb_to_pixrgbfmt" does the conversion
		between type "DFBSurfacePixelFormat" to type "tmPixFmtCls_t"
		this function should be adapted to return types
		understood by the mix_ interface !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
			=> and add YUV !!

* adapted function "dfb_to_pixrgbfmt" with constants from "tmGlobalNhapiTypes"
	=> should be changed to "IGfxGraphicsConstants" and later intermediate constants defined in "callbacks.h"


* investigate in the function "dfb_cetvfb_set_region"
	- the "direct_memcpy( tmp, data, sizeof(*tmp) );" call ..... !!!
	- same for function "dfb_cetvfb_update_screen"
=> it seems to be used to copy the updatescreendata between processes for the one who is going to do the update!

* removed functions "tmIPlfInstGfxNtfOnScaledBlitCompleted" and "tmIPlfInstGfxNtfOnSubscriptionChanged"
and some other tmCom.h and other unused interfaces ...

* next step should be to remove those interfaces in the TV520_Inc directory ...
BUT IT IS NOT WORKING ...
	=> TRANSLATE TYPES used in cetvfb.h into callbacks local types !!!!!!!!!


VERSION 0.2
===========

* changed the SetBuffer to use the mix_ function
* DIG INTO SCALE BUFFER !!!??!!
* replaced name "jld" by "cetvld" (layerdata)

* removed the attribute "Bool first" of structure CETVFBLayerData and replaced by "int LayerId"
* In function "primaryInitLayer", removed all subscription to tmIVmix and tmIGfxLayer... (avpgfx does it all for us!!)
* In static function "set_region" : replaced "tmIVmix_GetOutputProperties" with "mix_GetOutputProperties"



VERSION 0.1
===========

* replaced macros and values SYSTEM_GFX_MEM by CETVFB_VIDEO_MEM etc ...
* replace tmmlcreate and malloc to future cetvgfx functions that allocate the whole video memory used for DFB
	=> Q: to Bert, how to implement this future function ?
* added field memSize to the dfb_cetv structure
* removed the preinit functions (unused)

* added registration of the layer functions for the 3 layers (was only supported for Vmix1... and optionally Vmix2)
=> Q: the same functions are used for the different layers ... How can I differentiate them when the functions are called ?
	Is the param (0,1,2) playing the role of the layerId ??
	This param is passed in the layer structure as "driver_data" !!
		=> yes driver_data passes the layer_Id !! (! needs a cast!)

* enhanced layer registration in function system_join to thr 3 layers !

system_join function currently (jaguar) registers layer functions only for 1st layer...
Q: should we also initialize the 3 layers there ??

* changed return accelerator to NULL (instead of 5050) (not compiling with gfx5050 module)


=> MODULE "cetvfb.c" should already be finished !!
(still some questions to clarify...)