36 #include <config_auto.h>
39 #include "allheaders.h"
47 PIX *
pixReadJpeg(
const char *filename, l_int32 cmflag, l_int32 reduction,
48 l_int32 *pnwarn, l_int32 hint)
50 return (
PIX * )ERROR_PTR(
"function not present",
"pixReadJpeg", NULL);
56 l_int32 *pnwarn, l_int32 hint)
58 return (
PIX * )ERROR_PTR(
"function not present",
"pixReadStreamJpeg", NULL);
63 l_ok
readHeaderJpeg(
const char *filename, l_int32 *pw, l_int32 *ph,
64 l_int32 *pspp, l_int32 *pycck, l_int32 *pcmyk)
66 return ERROR_INT(
"function not present",
"readHeaderJpeg", 1);
72 l_int32 *pspp, l_int32 *pycck, l_int32 *pcmyk)
74 return ERROR_INT(
"function not present",
"freadHeaderJpeg", 1);
79 l_int32 fgetJpegResolution(FILE *fp, l_int32 *pxres, l_int32 *pyres)
81 return ERROR_INT(
"function not present",
"fgetJpegResolution", 1);
86 l_int32 fgetJpegComment(FILE *fp, l_uint8 **pcomment)
88 return ERROR_INT(
"function not present",
"fgetJpegComment", 1);
96 return ERROR_INT(
"function not present",
"pixWriteJpeg", 1);
104 return ERROR_INT(
"function not present",
"pixWriteStreamJpeg", 1);
110 l_int32 reduction, l_int32 *pnwarn, l_int32 hint)
112 return (
PIX * )ERROR_PTR(
"function not present",
"pixReadMemJpeg", NULL);
118 l_int32 *pw, l_int32 *ph, l_int32 *pspp,
119 l_int32 *pycck, l_int32 *pcmyk)
121 return ERROR_INT(
"function not present",
"readHeaderMemJpeg", 1);
127 l_int32 *pxres, l_int32 *pyres)
129 return ERROR_INT(
"function not present",
"readResolutionMemJpeg", 1);
135 l_int32 quality, l_int32 progressive)
137 return ERROR_INT(
"function not present",
"pixWriteMemJpeg", 1);
144 return ERROR_INT(
"function not present",
"pixSetChromaSampling", 1);
l_ok pixWriteMemJpeg(l_uint8 **pdata, size_t *psize, PIX *pix, l_int32 quality, l_int32 progressive)
pixWriteMemJpeg()
PIX * pixReadJpeg(const char *filename, l_int32 cmapflag, l_int32 reduction, l_int32 *pnwarn, l_int32 hint)
pixReadJpeg()
PIX * pixReadStreamJpeg(FILE *fp, l_int32 cmapflag, l_int32 reduction, l_int32 *pnwarn, l_int32 hint)
pixReadStreamJpeg()
PIX * pixReadMemJpeg(const l_uint8 *data, size_t size, l_int32 cmflag, l_int32 reduction, l_int32 *pnwarn, l_int32 hint)
pixReadMemJpeg()
l_ok readHeaderMemJpeg(const l_uint8 *data, size_t size, l_int32 *pw, l_int32 *ph, l_int32 *pspp, l_int32 *pycck, l_int32 *pcmyk)
readHeaderMemJpeg()
l_ok readResolutionMemJpeg(const l_uint8 *data, size_t size, l_int32 *pxres, l_int32 *pyres)
readResolutionMemJpeg()
l_ok freadHeaderJpeg(FILE *fp, l_int32 *pw, l_int32 *ph, l_int32 *pspp, l_int32 *pycck, l_int32 *pcmyk)
freadHeaderJpeg()
l_ok pixWriteStreamJpeg(FILE *fp, PIX *pixs, l_int32 quality, l_int32 progressive)
pixWriteStreamJpeg()
l_ok readHeaderJpeg(const char *filename, l_int32 *pw, l_int32 *ph, l_int32 *pspp, l_int32 *pycck, l_int32 *pcmyk)
readHeaderJpeg()
l_ok pixWriteJpeg(const char *filename, PIX *pix, l_int32 quality, l_int32 progressive)
pixWriteJpeg()
l_ok pixSetChromaSampling(PIX *pix, l_int32 sampling)
pixSetChromaSampling()