diff --git a/doc/html/structtjtransform.html b/doc/html/structtjtransform.html index 59198bb5..3199343b 100644 --- a/doc/html/structtjtransform.html +++ b/doc/html/structtjtransform.html @@ -131,7 +131,7 @@ Data Fields coeffspointer to an array of transformed DCT coefficients. (NOTE: this pointer is not guaranteed to be valid once the callback returns, so applications wishing to hand off the DCT coefficients to another function or library should make a copy of them within the body of the callback.) arrayRegiontjregion structure containing the width and height of the array pointed to by coeffs as well as its offset relative to the component plane. TurboJPEG implementations may choose to split each component plane into multiple DCT coefficient arrays and call the callback function once for each array. planeRegiontjregion structure containing the width and height of the component plane to which coeffs belongs - componentIDID number of the component plane to which coeffs belongs (Y, U, and V have, respectively, ID's of 0, 1, and 2 in typical JPEG images.) + componentIDID number of the component plane to which coeffs belongs (Y, Cb, and Cr have, respectively, ID's of 0, 1, and 2 in typical JPEG images.) transformIDID number of the transformed image to which coeffs belongs. This is the same as the index of the transform in the transforms array that was passed to tjTransform(). transforma pointer to a tjtransform structure that specifies the parameters and/or cropping region for this transform diff --git a/java/doc/org/libjpegturbo/turbojpeg/TJCustomFilter.html b/java/doc/org/libjpegturbo/turbojpeg/TJCustomFilter.html index 4cb26157..707b58d5 100644 --- a/java/doc/org/libjpegturbo/turbojpeg/TJCustomFilter.html +++ b/java/doc/org/libjpegturbo/turbojpeg/TJCustomFilter.html @@ -165,8 +165,8 @@ void customFilter(java.nio.ShortBuffer coeffBuffer, into multiple DCT coefficient buffers and call the callback function once for each buffer.
planeRegion - rectangle containing the width and height of the component plane to which coeffBuffer belongs
componentID - ID number of the component plane to which - coeffBuffer belongs (Y, U, and V have, respectively, ID's of - 0, 1, and 2 in typical JPEG images.)
transformID - ID number of the transformed image to which + coeffBuffer belongs (Y, Cb, and Cr have, respectively, ID's + of 0, 1, and 2 in typical JPEG images.)
transformID - ID number of the transformed image to which coeffBuffer belongs. This is the same as the index of the transform in the transforms array that was passed to TJTransformer.transform().
transform - a TJTransform instance that specifies the parameters and/or cropping region for this transform diff --git a/java/org/libjpegturbo/turbojpeg/TJCustomFilter.java b/java/org/libjpegturbo/turbojpeg/TJCustomFilter.java index 6e46fa1a..5615b4ed 100644 --- a/java/org/libjpegturbo/turbojpeg/TJCustomFilter.java +++ b/java/org/libjpegturbo/turbojpeg/TJCustomFilter.java @@ -58,8 +58,8 @@ public interface TJCustomFilter { * component plane to which coeffBuffer belongs * * @param componentID ID number of the component plane to which - * coeffBuffer belongs (Y, U, and V have, respectively, ID's of - * 0, 1, and 2 in typical JPEG images.) + * coeffBuffer belongs (Y, Cb, and Cr have, respectively, ID's + * of 0, 1, and 2 in typical JPEG images.) * * @param transformID ID number of the transformed image to which * coeffBuffer belongs. This is the same as the index of the diff --git a/turbojpeg.h b/turbojpeg.h index 941aa572..c7785562 100644 --- a/turbojpeg.h +++ b/turbojpeg.h @@ -461,7 +461,7 @@ typedef struct tjtransform * @param planeRegion #tjregion structure containing the width and height of * the component plane to which coeffs belongs * @param componentID ID number of the component plane to which - * coeffs belongs (Y, U, and V have, respectively, ID's of + * coeffs belongs (Y, Cb, and Cr have, respectively, ID's of * 0, 1, and 2 in typical JPEG images.) * @param transformID ID number of the transformed image to which * coeffs belongs. This is the same as the index of the