2
* Copyright (C)2011 D. R. Commander. All Rights Reserved.
2
* Copyright (C)2011, 2013 D. R. Commander. All Rights Reserved.
4
4
* Redistribution and use in source and binary forms, with or without
5
5
* modification, are permitted provided that the following conditions are met:
58
58
* component plane to which <code>coeffBuffer</code> belongs
60
60
* @param componentID ID number of the component plane to which
61
* <code>coeffBuffer</code>belongs (Y, Cb, and Cr have, respectively, ID's of
61
* <code>coeffBuffer</code> belongs (Y, U, and V have, respectively, ID's of
62
62
* 0, 1, and 2 in typical JPEG images.)
64
64
* @param transformID ID number of the transformed image to which
65
65
* <code>coeffBuffer</code> belongs. This is the same as the index of the
66
* transform in the transforms array that was passed to {@link
66
* transform in the <code>transforms</code> array that was passed to {@link
67
67
* TJTransformer#transform TJTransformer.transform()}.
69
69
* @param transform a {@link TJTransform} instance that specifies the
70
70
* parameters and/or cropping region for this transform
72
public void customFilter(ShortBuffer coeffBuffer, Rectangle bufferRegion,
73
Rectangle planeRegion, int componentID, int transformID,
74
TJTransform transform)
72
void customFilter(ShortBuffer coeffBuffer, Rectangle bufferRegion,
73
Rectangle planeRegion, int componentID, int transformID,
74
TJTransform transform)