diff options
author | lluís gómez i bigordà <lluisbigorda@users.sourceforge.net> | 2007-10-24 20:37:21 +0000 |
---|---|---|
committer | lluís gómez i bigordà <lluisbigorda@users.sourceforge.net> | 2007-10-24 20:37:21 +0000 |
commit | 3c050000c6918b77a353583999e6e810aa675fda (patch) | |
tree | fc6aab7c92efb156966f5c926517f2f02e7b417e /videogrid/qtconverter.h |
This commit was generated by cvs2svn to compensate for changes in r8875,svn2git-root
which included commits to RCS files with non-trunk default branches.
svn path=/trunk/externals/pdvjtools/; revision=8876
Diffstat (limited to 'videogrid/qtconverter.h')
-rw-r--r-- | videogrid/qtconverter.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/videogrid/qtconverter.h b/videogrid/qtconverter.h new file mode 100644 index 0000000..da70f40 --- /dev/null +++ b/videogrid/qtconverter.h @@ -0,0 +1,27 @@ +#include <stdio.h> +#include <stdlib.h> +#include <string.h> + +//#include <quicktime/lqt.h> +//#include <quicktime/colormodels.h> +#include <lqt/lqt.h> +#include <lqt/colormodels.h> + +/* 8bits clamp rgb values */ + +#define CLAMP8(x) (((x)<0) ? 0 : ((x>255)? 255 : (x))) + +#define BYTESNOMFITXERIMATGE 512 +#define BYTESTIPUSFROMAT 4 + +#define FORMAT_MINIATURA "ppm" +#define PATH_TEMPORAL "/tmp/vigrid_" +#define BYTES_NUM_TEMP 4 + +typedef char pathimage[BYTESNOMFITXERIMATGE]; + +typedef char tipus_format[BYTESTIPUSFROMAT]; + +int convertir_img(pathimage pathFitxer, tipus_format f, int W, int H, int posi); +/* void post(char args[]); */ + |