Searched refs:JPEG_MAX_DIMENSION (Results 1 – 4 of 4) sorted by relevance
51 if ((long)cinfo->image_height > (long)JPEG_MAX_DIMENSION || in initial_setup()52 (long)cinfo->image_width > (long)JPEG_MAX_DIMENSION) in initial_setup()53 ERREXIT1(cinfo, JERR_IMAGE_TOO_BIG, (unsigned int)JPEG_MAX_DIMENSION); in initial_setup()
103 if ((long)cinfo->_jpeg_height > (long)JPEG_MAX_DIMENSION || in initial_setup()104 (long)cinfo->_jpeg_width > (long)JPEG_MAX_DIMENSION) in initial_setup()105 ERREXIT1(cinfo, JERR_IMAGE_TOO_BIG, (unsigned int)JPEG_MAX_DIMENSION); in initial_setup()
196 #define JPEG_MAX_DIMENSION 65500L /* a tad under 64K to prevent overflows */ macro
431 m_Cinfo.image_width < JPEG_MAX_DIMENSION && in HasKnownBadHeaderWithInvalidHeight()433 m_OrigWidth <= JPEG_MAX_DIMENSION && in HasKnownBadHeaderWithInvalidHeight()435 m_OrigHeight <= JPEG_MAX_DIMENSION; in HasKnownBadHeaderWithInvalidHeight()