* Many changes for TiVo support. It actually [kinda] works. :)

This commit is contained in:
Justin Maggard
2009-03-13 08:39:37 +00:00
parent 3ae378cdc9
commit 7a2e3ae67a
17 changed files with 713 additions and 543 deletions

View File

@ -9,6 +9,7 @@
* */
#ifndef __UTILS_H__
#define __UTILS_H__
#include <gd.h>
int
ends_with(const char * haystack, const char * needle);
@ -25,4 +26,9 @@ strip_ext(char * name);
int
make_dir(char * path, mode_t mode);
/* A GD resize function with a good balance of quality and speed */
void
boxfilter_resize(gdImagePtr dst, gdImagePtr src,
int dstX, int dstY, int srcX, int srcY,
int dstW, int dstH, int srcW, int srcH);
#endif