aboutsummaryrefslogtreecommitdiff
path: root/turbojpeg.h
diff options
context:
space:
mode:
authordcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2011-02-22 00:36:04 +0000
committerdcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2011-02-22 00:36:04 +0000
commitc4bfb7d517d698887ed6737af2bfbfba1d8db9af (patch)
treefb2fed295358ba82a28abee375269f12d79cfef4 /turbojpeg.h
parent8a4ac7f1c0a2c0cb16be221235b23b64bccdfca7 (diff)
"TurboJPEG/OSS"="TurboJPEG", since the TurboJPEG header is used with other codecs besides libjpeg-turbo
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@421 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'turbojpeg.h')
-rw-r--r--turbojpeg.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/turbojpeg.h b/turbojpeg.h
index 32952da..626fe4f 100644
--- a/turbojpeg.h
+++ b/turbojpeg.h
@@ -52,10 +52,10 @@ enum {TJ_444=0, TJ_422, TJ_420, TJ_GRAYSCALE};
(64-bit IPP version only) */
#define TJ_FASTUPSAMPLE 256
/* Use fast, inaccurate 4:2:2 and 4:2:0 YUV upsampling routines
- (libjpeg version only) */
+ (libjpeg and libjpeg-turbo versions only) */
#define TJ_YUV 512
- /* If passed to tjCompress(), this causes TurboJPEG/OSS to use the
- accelerated color conversion routines in libjpeg-turbo to produce a planar
+ /* If passed to tjCompress(), this causes TurboJPEG to use the accelerated
+ color conversion routines in the underlying codec to produce a planar
YUV image that is suitable for X Video. Specifically, if the chrominance
components are subsampled along the horizontal dimension, then the width
of the luminance plane is padded to 2 in the output image (same goes for
@@ -66,13 +66,13 @@ enum {TJ_444=0, TJ_422, TJ_420, TJ_GRAYSCALE};
TJ_420, which produces an image compatible with the I420 (AKA "YUV420P")
format.
- If passed to tjDecompress(), this tells TurboJPEG/OSS to perform JPEG
+ If passed to tjDecompress(), this tells TurboJPEG to perform JPEG
decompression but to leave out the color conversion step, so a planar YUV
image is generated instead of an RGB image. The padding of the planes in
this image is the same as in the above case. Note that, if the width or
height of the output image is not a multiple of 8 (or a multiple of 16
along any dimension in which chrominance subsampling is used), then an
- intermediate buffer copy will be performed within TurboJPEG/OSS.
+ intermediate buffer copy will be performed within TurboJPEG.
*/
typedef void* tjhandle;