From 3c050000c6918b77a353583999e6e810aa675fda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?llu=C3=ADs=20g=C3=B3mez=20i=20bigord=C3=A0?= Date: Wed, 24 Oct 2007 20:37:21 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r8875, which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/pdvjtools/; revision=8876 --- videogrid/qtconverter.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 videogrid/qtconverter.h (limited to 'videogrid/qtconverter.h') 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 +#include +#include + +//#include +//#include +#include +#include + +/* 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[]); */ + -- cgit v1.2.1