summaryrefslogtreecommitdiff
path: root/trunk/turbojpeg.h
AgeCommit message (Collapse)Author
2012-06-29Add flags to the TurboJPEG API that allow the caller to force the use of ↵dcommander
either the fast or the accurate DCT/IDCT algorithms in the underlying codec. git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@851 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-12-19Added new alpha channel colorspace constants/pixel formats, so applications ↵dcommander
can specify that they need the unused byte in a 4-component RGB output buffer set to 0xFF when decompressing. git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@732 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-12-15"which"="that"dcommander
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@730 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-09-20Wordsmithingdcommander
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@711 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-09-20Implement custom filter callback in Javadcommander
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@707 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-09-17Implement a custom DCT filter callback for lossless transformsdcommander
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@703 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-07-12Re-work TJBUFSIZE() to take into account the level of chrominance subsamplingdcommander
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@668 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-05-24Added "See also" for tjAlloc() and tjFree()dcommander
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@635 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-05-24Add new API functions, tjAlloc() and tjFree(), which allow memory to be ↵dcommander
allocated and freed using a method of the library's choosing. At the moment, the primary purpose for this is to avoid allocating/freeing memory across the DLL boundary on Windows. git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@634 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-05-24Don't require buffer size to be preset if using TJFLAG_NOREALLOCdcommander
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@626 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-05-24Prevent header from being included multiple timesdcommander
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@623 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-05-21Clean up constants so that flags, pixel formats, etc. are clearly ↵dcommander
differentiated; Update documentation accordingly; Name the enums to make it easier to reference them in the docs and clean up the references accordingly; Set Doxygen option to force a detailed description for the constants to always be generated git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@617 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-05-21Completely refactored the TurboJPEG C API so that it uses pixel formats ↵dcommander
instead of the clunky pixel size + flags combination to define the pixel size and component order. tjCompress2() and tjTransform() can also now grow the JPEG buffer as needed, which can allow programs to save memory by not pre-allocating the "worst-case" buffer size calculated by TJBUFSIZE(). Converted API documentation to Doxygen. There is no legacy code remaining, so the refactored version of the library has been re-licensed under a BSD-style license. git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@616 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-03-15tjTransform() was not working properly if r.w=0 or r.h=0dcommander
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@517 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-03-15Wordsmithingdcommander
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@516 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-03-04Handle 4:4:0 (transposed 4:2:2 subsampling)dcommander
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@502 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-03-02Oops. Left out the all-important transform structuresdcommander
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@489 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-03-02Since lossless transforms have such a high fixed performance cost, implement ↵dcommander
a mechanism for performing more than one at a time on the same source image. git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@488 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-03-02Wordsmithing and general cleanupdcommander
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@487 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-03-01tjGetScaledSize() would never be able to accommodate scaling factors > 1, ↵dcommander
so replace it with a function that returns a list of fractional scaling factors that TurboJPEG supports. git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@477 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-02-26Expose libjpeg lossless transform feature in TurboJPEG/OSSdcommander
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@464 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-02-26"tjScaledSize"="tjGetScaledSize" (again)dcommander
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@459 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-02-26"tjScaledSize"="tjGetScaledSize"dcommander
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@456 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-02-25Replace the TJ_YUV flag with two new API functionsdcommander
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@448 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-02-22git-svn-id: ↵dcommander
https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@425 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-02-22Make the scaling API a bit more friendlydcommander
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@422 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-02-22"TurboJPEG/OSS"="TurboJPEG", since the TurboJPEG header is used with other ↵dcommander
codecs besides libjpeg-turbo git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@421 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-02-22Add TJBUFSIZEYUV() convenience functiondcommander
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@419 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-02-19Wordsmithingdcommander
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@416 3789f03b-4d11-0410-bbf8-ca57d06f2519
2011-02-15Added scaling API to TurboJPEG/OSSdcommander
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@367 3789f03b-4d11-0410-bbf8-ca57d06f2519
2010-12-14Added extended tjDecompressHeader() function which can determine the type of ↵dcommander
subsampling used in the JPEG image git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@310 3789f03b-4d11-0410-bbf8-ca57d06f2519
2010-12-10If the output width/height are not an even number of MCU's, then use an ↵dcommander
intermediate buffer to ensure that the output format is XVideo-compatible git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@308 3789f03b-4d11-0410-bbf8-ca57d06f2519
2010-12-10Provide TJ_YUV option for tjDecompress() as welldcommander
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@307 3789f03b-4d11-0410-bbf8-ca57d06f2519
2010-11-24Merge the TurboJPEG planar YUV encoding feature from VirtualGL 2.2dcommander
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@305 3789f03b-4d11-0410-bbf8-ca57d06f2519
2010-11-04Update header description for grayscale bitmap supportdcommander
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@289 3789f03b-4d11-0410-bbf8-ca57d06f2519
2010-05-17Define TJ_411 so that VirtualGL <= 2.1.x and TurboVNC <= 0.6 can be built ↵dcommander
with the libjpeg-turbo SDK git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@188 3789f03b-4d11-0410-bbf8-ca57d06f2519
2010-02-22Added additional documentation for flagsdcommander
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@139 3789f03b-4d11-0410-bbf8-ca57d06f2519
2009-04-05Test fast upsamplingdcommander
"4:1:1 = 4:2:0" git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@43 3789f03b-4d11-0410-bbf8-ca57d06f2519
2009-04-03Include low-level unit tests borrowed from VirtualGLdcommander
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@36 3789f03b-4d11-0410-bbf8-ca57d06f2519