<builderid="org.eclipse.cdt.build.core.settings.default.builder.580164057"keepEnvironmentInBuildfile="false"managedBuildOn="false"name="Gnu Make Builder"superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
<builderid="org.eclipse.cdt.build.core.settings.default.builder.580164057"keepEnvironmentInBuildfile="false"managedBuildOn="false"name="Gnu Make Builder"superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
<toolid="org.eclipse.cdt.build.core.settings.holder.libs.2129855326"name="holder for library settings"superClass="org.eclipse.cdt.build.core.settings.holder.libs"/>
<toolid="org.eclipse.cdt.build.core.settings.holder.libs.2129855326"name="holder for library settings"superClass="org.eclipse.cdt.build.core.settings.holder.libs"/>
*! 8.0.8.39 - added EEPROM support for multiplexor and sensor boards, so autocampars.php uses application-specific defaults. Exif Orientation tag support, camera Model reflects application and optional mode (i.e. camera number in Eyesis)
*! 8.0.8.39 - added EEPROM support for multiplexor and sensor boards, so autocampars.php uses application-specific defaults. Exif Orientation tag support, camera Model reflects application and optional mode (i.e. camera number in Eyesis)
*!
*!
*! Revision 1.1.1.1 2008/11/27 20:04:01 elphel
*! Revision 1.1.1.1 2008/11/27 20:04:01 elphel
*!
*!
*!
*!
*! Revision 1.2 2008/08/11 19:11:32 elphel
*! Revision 1.2 2008/08/11 19:11:32 elphel
*! comments
*! comments
*!
*!
*! Revision 1.1 2008/04/07 09:12:14 elphel
*! Revision 1.1 2008/04/07 09:12:14 elphel
*! New Exif template generation
*! New Exif template generation
*!
*!
*! $Log: exif.php,v $
*! $Log: exif.php,v $
*! Revision 1.2 2010/08/10 21:14:31 elphel
*! Revision 1.2 2010/08/10 21:14:31 elphel
*! 8.0.8.39 - added EEPROM support for multiplexor and sensor boards, so autocampars.php uses application-specific defaults. Exif Orientation tag support, camera Model reflects application and optional mode (i.e. camera number in Eyesis)
*! 8.0.8.39 - added EEPROM support for multiplexor and sensor boards, so autocampars.php uses application-specific defaults. Exif Orientation tag support, camera Model reflects application and optional mode (i.e. camera number in Eyesis)
*!
*!
*! Revision 1.1.1.1 2008/11/27 20:04:01 elphel
*! Revision 1.1.1.1 2008/11/27 20:04:01 elphel
*!
*!
*!
*!
*! Revision 1.2 2008/08/11 19:11:32 elphel
*! Revision 1.2 2008/08/11 19:11:32 elphel
*! comments
*! comments
*!
*!
*! Revision 1.1 2008/04/07 09:12:14 elphel
*! Revision 1.1 2008/04/07 09:12:14 elphel
*! New Exif template generation
*! New Exif template generation
*!
*!
*! Revision 1.1.1.1 2007/10/03 19:05:53 elphel
*! Revision 1.1.1.1 2007/10/03 19:05:53 elphel
*! This is a fresh tree based on elphel353-2.10
*! This is a fresh tree based on elphel353-2.10
*!
*!
*! Revision 1.6 2007/10/03 19:05:53 elphel
*! Revision 1.6 2007/10/03 19:05:53 elphel
*! cosmetic
*! cosmetic
*!
*!
*! Revision 1.5 2007/10/03 18:37:53 elphel
*! Revision 1.5 2007/10/03 18:37:53 elphel
*! Made nice html output to see the result data
*! Made nice html output to see the result data
*!
*!
*! Revision 1.4 2007/10/03 06:33:31 elphel
*! Revision 1.4 2007/10/03 06:33:31 elphel
*! fixed wrong copyright year
*! fixed wrong copyright year
*!
*!
*! Revision 1.3 2007/10/02 19:44:03 elphel
*! Revision 1.3 2007/10/02 19:44:03 elphel
*! minor bug fixes, added "manufacturer note" field for raw frame metadata (36 bytes - /include/asm-cris/c313.h frame_params_t)
*! minor bug fixes, added "manufacturer note" field for raw frame metadata (36 bytes - /include/asm-cris/c313.h frame_params_t)
*!
*!
*! Revision 1.2 2007/09/25 23:34:02 elphel
*! Revision 1.2 2007/09/25 23:34:02 elphel
*! Fixed time strings to the right length
*! Fixed time strings to the right length
*!
*!
*! Revision 1.1 2007/09/24 07:27:57 elphel
*! Revision 1.1 2007/09/24 07:27:57 elphel
*! Started php script that prepares Exif header information for serving images by imgsrv
*! Started php script that prepares Exif header information for serving images by imgsrv
*!
*!
*/
*/
//TODO: Decide with the start sequence, more data is availble after the sensor is initialized.
//TODO: Decide with the start sequence, more data is availble after the sensor is initialized.
// Or leave it to imgsrv (it still needs sensor to start first), just put placeholders
// Or leave it to imgsrv (it still needs sensor to start first), just put placeholders
// use http://www.exiv2.org/tags.html for reference of the Exif fields if you need to add modify
// use http://www.exiv2.org/tags.html for reference of the Exif fields if you need to add modify
// case COLORMODE_COLOR: //! color, 4:2:0, 18x18(old)
// case COLORMODE_COLOR: //! color, 4:2:0, 18x18(old)
caseCOLORMODE_JP46://! jp4, original (4:2:0)
caseCOLORMODE_JP46://! jp4, original (4:2:0)
caseCOLORMODE_JP46DC://! jp4, dc -improved (4:2:0)
caseCOLORMODE_JP46DC://! jp4, dc -improved (4:2:0)
mime_type="jp46";
mime_type="jp46";
extension="jp46";
extension="jp46";
break;
break;
// case COLORMODE_COLOR20: //! color, 4:2:0, 20x20, middle of the tile (not yet implemented)
// case COLORMODE_COLOR20: //! color, 4:2:0, 20x20, middle of the tile (not yet implemented)
caseCOLORMODE_JP4://! jp4, 4 blocks, (legacy)
caseCOLORMODE_JP4://! jp4, 4 blocks, (legacy)
caseCOLORMODE_JP4DC://! jp4, 4 blocks, dc -improved
caseCOLORMODE_JP4DC://! jp4, 4 blocks, dc -improved
caseCOLORMODE_JP4DIFF://! jp4, 4 blocks, differential red := (R-G1), blue:=(B-G1), green=G1, green2 (G2-G1). G1 is defined by Bayer shift, any pixel can be used
caseCOLORMODE_JP4DIFF://! jp4, 4 blocks, differential red := (R-G1), blue:=(B-G1), green=G1, green2 (G2-G1). G1 is defined by Bayer shift, any pixel can be used
...
@@ -949,15 +954,15 @@ int sendImage(struct file_set *fset, int bufferImageData, int use_Exif, int sav
...
@@ -949,15 +954,15 @@ int sendImage(struct file_set *fset, int bufferImageData, int use_Exif, int sav
mime_type="jp4";
mime_type="jp4";
extension="jp4";
extension="jp4";
break;
break;
// case COLORMODE_MONO4: //! monochrome, 4 blocks (but still with 2x2 macroblocks)
// case COLORMODE_MONO4: //! monochrome, 4 blocks (but still with 2x2 macroblocks)
@@ -977,8 +982,12 @@ int sendImage(struct file_set *fset, int bufferImageData, int use_Exif, int sav
...
@@ -977,8 +982,12 @@ int sendImage(struct file_set *fset, int bufferImageData, int use_Exif, int sav
elseprintf("Content-Disposition: inline; filename=\"elphelimg_%ld.%s\"\r\n",frame_params.timestamp_sec,extension);/// opens in browser, asks to save on right-click
elseprintf("Content-Disposition: inline; filename=\"elphelimg_%ld.%s\"\r\n",frame_params.timestamp_sec,extension);/// opens in browser, asks to save on right-click
if(bufferImageData){/*! Buffer the whole file before sending over the network to make sure it will not be corrupted if the circular buffer will be overrun) */
if(bufferImageData){/*! Buffer the whole file before sending over the network to make sure it will not be corrupted if the circular buffer will be overrun) */