deutsch =======================================================================================

Das Programm "save_raw_image.c" zeigt ihnen den Zugriff auf die v2l Schnittstelle aus einem C-Programm heraus.
- Die Sourcen befinden sich im "bvtest-0.1.0.tar.gz" Archiv.
- Die mitgelieferten Scripte "xxx.sh" zeigen den Aufruf des "save_raw_image" fr die verschiedenen PHYTEC phyCAM Kameras.
- Die v4l2-ctl Aufrufe erfolgen separat. Solange keine Geometrie- oder Farbformatnderung notwendig ist,
  mssen diese Funktionen nur einmal nach dem Neustart aufgerufen werden.
- Das "save_raw_image" binary ist auf dem YOCTO BSP PD18.1.0 getestet worden.
- Alternativ kann auch das Programm yavta zum speichern von Bildern verwendet werden.


Vorgehen:
- System starten
- ins "/phytec-v4l2-c-examples/..." wechseln
- das jeweilige Script starten
- das generierte RAW-Bild kann z.B. mit einem Bildbetrachtungsprogramm z.B. "Irfanview" betrachtet werden. 


Folgende Kameras wurden getestet:
VM-016-BW-M 	= ar0144_bw_full_save-raw.sh (phyCAM-M)
VM-016-COL-M 	= ar0144_col_full_save-raw.sh (phyCAM-M)

Achtung: Es mu die jeweis richtige Kamera in der "/env/config_expansions" eingestellt sein.

Hinweis: Das Programm "save_raw-image.c" befindet sich noch im Entwicklungsstadium.
         Es kann daher noch keine vollstndig korrekte Arbeitsweise garantiert werden.
         Die Aufrufparameter knnen durch Eingabe "save_raw_image -h" angezeigt werden.

#Library for remapper are located in Git Repository https://git.phytec.de/vita-1300-remapper/ 
#and the Yocto-Reciep ist compiled in BSP "sources/meta-yogurt/recipes-multimedia/vita-1300-remapper/vita-1300-remapper_0.2.bb"



english =======================================================================================

The program "save_raw_image.c" show the access on the  v2l-interface with an C-program.
- The sources are locate in "bvtest-0.1.0.tar.gz" archive.
- The included scripts "xxx.sh" show the "save_raw_image" call for the different PHYTEC phyCAM cameras.
- The v4l2-ctl calls are seperat.If no geometrie- or colorformatchange necessary,
  call the v4l2-ctl functions only once after restart.
- The "save_raw_image" binary runs on YOCTO BSP PD18.1.0
- Alternate you can use the program yavta for save of pictures.


procedure:
- start up the modul
- change into directory "/phytec-v4l2-c-examples/..."
- call the respective script
- the created RAW-image can viewed, with an image-viewer for example  "Irfanview"


following cameras have been tested:
VM-016-BW-M 	= ar0144_bw_full_save-raw.sh (phyCAM-M)
VM-016-COL-M 	= ar0144_col_full_save-raw.sh (phyCAM-M)

Attention: It must be set the right camera in "/env/expansions/imx6qdl-camera" file.

Note: The program "save_raw-image.c" is in a evaluation status.
      An right work of the programm is not guaranteed.
      For help of "save_raw_image" type "save_raw_image -h".

#Library for remapper are located in Git Repository https://git.phytec.de/vita-1300-remapper/ 
#and the Yocto-Reciep ist compiled in BSP "sources/meta-yogurt/recipes-multimedia/vita-1300-remapper/vita-1300-remapper_0.2.bb"

