36#include <config_auto.h>
39#include "allheaders.h"
47PIX * 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", __func__, NULL);
55PIX * pixReadStreamJpeg(FILE *fp, l_int32 cmflag, l_int32 reduction,
56 l_int32 *pnwarn, l_int32 hint)
58 return (
PIX * )ERROR_PTR(
"function not present", __func__, NULL);
63l_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", __func__, 1);
71l_ok freadHeaderJpeg(FILE *fp, l_int32 *pw, l_int32 *ph,
72 l_int32 *pspp, l_int32 *pycck, l_int32 *pcmyk)
74 return ERROR_INT(
"function not present", __func__, 1);
79l_int32 fgetJpegResolution(FILE *fp, l_int32 *pxres, l_int32 *pyres)
81 return ERROR_INT(
"function not present", __func__, 1);
86l_int32 fgetJpegComment(FILE *fp, l_uint8 **pcomment)
88 return ERROR_INT(
"function not present", __func__, 1);
93l_ok pixWriteJpeg(
const char *filename,
PIX *pix, l_int32 quality,
96 return ERROR_INT(
"function not present", __func__, 1);
101l_ok pixWriteStreamJpeg(FILE *fp,
PIX *pix, l_int32 quality,
104 return ERROR_INT(
"function not present", __func__, 1);
109PIX * pixReadMemJpeg(
const l_uint8 *cdata,
size_t size, l_int32 cmflag,
110 l_int32 reduction, l_int32 *pnwarn, l_int32 hint)
112 return (
PIX * )ERROR_PTR(
"function not present", __func__, NULL);
117l_ok readHeaderMemJpeg(
const l_uint8 *cdata,
size_t size,
118 l_int32 *pw, l_int32 *ph, l_int32 *pspp,
119 l_int32 *pycck, l_int32 *pcmyk)
121 return ERROR_INT(
"function not present", __func__, 1);
126l_ok readResolutionMemJpeg(
const l_uint8 *data,
size_t size,
127 l_int32 *pxres, l_int32 *pyres)
129 return ERROR_INT(
"function not present", __func__, 1);
134l_ok pixWriteMemJpeg(l_uint8 **pdata,
size_t *psize,
PIX *pix,
135 l_int32 quality, l_int32 progressive)
137 return ERROR_INT(
"function not present", __func__, 1);
142l_ok pixSetChromaSampling(
PIX *pix, l_int32 sampling)
144 return ERROR_INT(
"function not present", __func__, 1);