Header does not depend on turbojpeg anymore

This commit is contained in:
Matteo Paonessa 2016-12-15 21:30:14 +01:00
parent 4a6a4b60cc
commit 9944e6b08d
3 changed files with 48 additions and 3 deletions

47
.gitignore vendored
View File

@ -36,4 +36,49 @@
.idea/*
# Build
build
cmake-build-*
build
### JetBrains template
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
# User-specific stuff:
.idea/workspace.xml
.idea/tasks.xml
# Sensitive or high-churn files:
.idea/dataSources/
.idea/dataSources.ids
.idea/dataSources.xml
.idea/dataSources.local.xml
.idea/sqlDataSources.xml
.idea/dynamic.xml
.idea/uiDesigner.xml
# Gradle:
.idea/gradle.xml
.idea/libraries
# Mongo Explorer plugin:
.idea/mongoSettings.xml
## File-based project format:
*.iws
## Plugin-specific files:
# IntelliJ
/out/
# mpeltonen/sbt-idea plugin
.idea_modules/
# JIRA plugin
atlassian-ide-plugin.xml
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

View File

@ -2,7 +2,6 @@
#define LIBCAESIUM_CAESIUM_H
#include <stdbool.h>
#include <turbojpeg.h>
typedef struct cs_jpeg_pars
{
@ -14,7 +13,7 @@ typedef struct cs_jpeg_pars
* overwritten during the process
*/
int color_space;
enum TJSAMP subsample;
int subsample;
int width;
int height;
} cs_jpeg_pars;

View File

@ -1,4 +1,5 @@
#include <stdbool.h>
#include <turbojpeg.h>
#include "helper.h"