diff --git a/doc/html/functions.html b/doc/html/functions.html
index 5de4c6fb..e5414421 100644
--- a/doc/html/functions.html
+++ b/doc/html/functions.html
@@ -65,7 +65,7 @@ $(function() {
Here is a list of all documented struct and union fields with links to the struct/union documentation for each field:
- customFilter
-: tjtransform
+: tjtransform
- data
: tjtransform
diff --git a/doc/html/functions_vars.html b/doc/html/functions_vars.html
index 2b010f40..a77429bb 100644
--- a/doc/html/functions_vars.html
+++ b/doc/html/functions_vars.html
@@ -65,7 +65,7 @@ $(function() {
- customFilter
-: tjtransform
+: tjtransform
- data
: tjtransform
diff --git a/doc/html/search/all_0.js b/doc/html/search/all_0.js
index 54c73561..07cc58c7 100644
--- a/doc/html/search/all_0.js
+++ b/doc/html/search/all_0.js
@@ -1,4 +1,4 @@
var searchData=
[
- ['customfilter_0',['customFilter',['../structtjtransform.html#afd7fc262df33f741e120ef4183202ef5',1,'tjtransform']]]
+ ['customfilter_0',['customFilter',['../structtjtransform.html#a0dc7697d59a7abe48afc629e96cbc1d2',1,'tjtransform']]]
];
diff --git a/doc/html/search/variables_0.js b/doc/html/search/variables_0.js
index 9ed036c1..e68263d9 100644
--- a/doc/html/search/variables_0.js
+++ b/doc/html/search/variables_0.js
@@ -1,4 +1,4 @@
var searchData=
[
- ['customfilter_142',['customFilter',['../structtjtransform.html#afd7fc262df33f741e120ef4183202ef5',1,'tjtransform']]]
+ ['customfilter_142',['customFilter',['../structtjtransform.html#a0dc7697d59a7abe48afc629e96cbc1d2',1,'tjtransform']]]
];
diff --git a/doc/html/structtjtransform.html b/doc/html/structtjtransform.html
index 9ff248d4..c6fcb5bf 100644
--- a/doc/html/structtjtransform.html
+++ b/doc/html/structtjtransform.html
@@ -89,21 +89,21 @@ Data Fields
| void * | data |
| | Arbitrary data that can be accessed within the body of the callback function. More...
|
| |
-| int(* | customFilter )(short *coeffs, tjregion arrayRegion, tjregion planeRegion, int componentIndex, int transformIndex, struct tjtransform *transform) |
-| | A callback function that can be used to modify the DCT coefficients after they are losslessly transformed but before they are transcoded to a new JPEG image. More...
|
-| |
+| int(* | customFilter )(short *coeffs, tjregion arrayRegion, tjregion planeRegion, int componentID, int transformID, struct tjtransform *transform) |
+| | A callback function that can be used to modify the DCT coefficients after they are losslessly transformed but before they are transcoded to a new JPEG image. More...
|
+| |
-
-◆ customFilter
+
+◆ customFilter
- | int(* tjtransform::customFilter) (short *coeffs, tjregion arrayRegion, tjregion planeRegion, int componentIndex, int transformIndex, struct tjtransform *transform) |
+ int(* tjtransform::customFilter) (short *coeffs, tjregion arrayRegion, tjregion planeRegion, int componentID, int transformID, struct tjtransform *transform) |
diff --git a/turbojpeg.h b/turbojpeg.h
index 1f8756a6..c089f289 100644
--- a/turbojpeg.h
+++ b/turbojpeg.h
@@ -656,8 +656,8 @@ typedef struct tjtransform {
* @return 0 if the callback was successful, or -1 if an error occurred.
*/
int (*customFilter) (short *coeffs, tjregion arrayRegion,
- tjregion planeRegion, int componentIndex,
- int transformIndex, struct tjtransform *transform);
+ tjregion planeRegion, int componentID, int transformID,
+ struct tjtransform *transform);
} tjtransform;
/**