Skip to content

Commit

Permalink
jpeg version 6 to version 9
Browse files Browse the repository at this point in the history
  • Loading branch information
CvanLeeuwenFt committed Jun 27, 2020
1 parent 880a3ce commit c81a20a
Show file tree
Hide file tree
Showing 218 changed files with 93,017 additions and 10,184 deletions.
9 changes: 4 additions & 5 deletions Camera/Camera.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\Jpeg;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\Jpeg-9d;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
Expand All @@ -77,7 +77,7 @@
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<AdditionalIncludeDirectories>..\Jpeg;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\Jpeg-9d;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
Expand Down Expand Up @@ -107,9 +107,8 @@
<ClInclude Include="..\Common\ftProInterface2013TransferAreaCom.h" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Jpeg\Jpeg.vcxproj">
<Project>{30d20558-4191-42f9-8833-3313840dcf49}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<ProjectReference Include="..\jpeg-9d\jpeg-9d.vcxproj">
<Project>{019dbd2a-273d-4ba4-bf86-b5efe2ed76b1}</Project>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
Expand Down
4 changes: 2 additions & 2 deletions Camera/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ int main()
{
// Write YUV file (typically YUV422 interleaved, depends on camera)
std::ostringstream filenameC;
filenameC << fnBase << iLoop << ".yuv";
filenameC << fnBase << iLoop <<"_x.yuv";
ofstream file( filenameC.str().c_str(), ofstream::binary | ofstream::trunc );
file.write( (char*)yuv, yuvsize );
file.close();
Expand All @@ -89,7 +89,7 @@ int main()

// Write JPEG
std::ostringstream filename;
filename << fnBase << iLoop << ".jpg";
filename << fnBase << iLoop << "_x.jpg";
ofstream file( filename.str().c_str(), ofstream::binary | ofstream::trunc );
file.write( (char*)buffer, size );
file.close();
Expand Down
2 changes: 1 addition & 1 deletion Common/frProInterface2013JpegDecode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ extern "C" {
/* Read JPEG image from a memory segment (This already exists in jpeglib v8) */
static void init_source (j_decompress_ptr cinfo) {}

static wxjpeg_boolean fill_input_buffer (j_decompress_ptr cinfo)
static /*wxjpeg_*/boolean fill_input_buffer (j_decompress_ptr cinfo)
{
ERREXIT(cinfo, JERR_INPUT_EMPTY);
return TRUE;
Expand Down
143 changes: 0 additions & 143 deletions Jpeg/Jpeg.vcxproj

This file was deleted.

Loading

0 comments on commit c81a20a

Please sign in to comment.