On Sun, 12 Oct 2025 04:14:54 GMT, Phil Race <[email protected]> wrote:

> Do you have a conformant sample implementation that we could consider ?

We already have an implementation of BandedSampleModel and buffers that store 
color components in separate bands (different arrays). Similarly, we can 
implement a new subclass of ComponentSampleModel that stores "x lines of the 
image per bank". 
And it should be possible to reuse an existed api of buffers like: 
https://github.com/openjdk/jdk/blob/4ca4485e9af10a49ca95710c4e26aa3895835d47/src/java.desktop/share/classes/java/awt/image/DataBufferInt.java#L254

Initially these images will the slowest loops, but we can add some new here and 
there.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/27640#discussion_r2427374252

Reply via email to