<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"/>
memcpy(&frame_params,(unsignedlong*)&ccam_dma_buf[frameParamPointer>>2],32);/// ccam_dma_buf - global
memcpy(&frame_params,(unsignedlong*)&ccam_dma_buf[frameParamPointer>>2],32);/// ccam_dma_buf - global
// jpeg_len=frame_params.frame_length;
jpeg_len=frame_params.frame_length;
///// Copy timestamp (goes after the image data)
/// Copy timestamp (goes after the image data)
// timestamp_start=jpeg_start+((jpeg_len+CCAM_MMAP_META+3) & (~0x1f)) + 32 - CCAM_MMAP_META_SEC; //! magic shift - should index first byte of the time stamp
timestamp_start=jpeg_start+((jpeg_len+CCAM_MMAP_META+3)&(~0x1f))+32-CCAM_MMAP_META_SEC;//! magic shift - should index first byte of the time stamp
// if (timestamp_start >= buff_size) timestamp_start-=buff_size;
@@ -976,6 +978,28 @@ int sendImage(struct file_set *fset, int bufferImageData, int use_Exif, int sav
...
@@ -976,6 +978,28 @@ 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) */