Sharing CompatibileImage raster

An urgent question: is there a way to create a managed image and have different “views” of the same video memory ?

It would be nice to share the same accelerated raster among several bufferedImages. This would be of great help in case of video applications:

I could create one full image ( i.e. 720x576 ) and two images representing odd and even fields ( 720x288 ) by sharing the same memory.

Currently I can do this with “normal” BufferedImages by using:

DataBufferInt db = new DataBufferInt(pixels,pixels.length,pixoffset);

WritableRaster wr = WritableRaster.createPackedRaster(db,width,height,rowints,bm,null);

Nope, no way to do that now, and not in any near future…

Just curios Javazoid, What sort of project are you working on? (Video is my field. I’ve worked in the video industry since '95 at DPS, http://www.leitch.com/ , and http://www.digital-rapids.com/)
I’ve used JNI in my application where I need high performance video display and manipulation.

I’m in the video field since 1992 with my firm ClassX. We’ve developed X-DVE, PowerTitler, FontMachine, VideoFX (on Amiga) and MoreFX, CASTALIA with Java.

I usually do some JNI in order to solve some speed/compatibility issues. My recent development is the ProjectImporter, an Adobe Premiere importer Plugin written in java (and some little jni).

We’re currently working on several projects. Most of them have to do with character generation and high performance titling.

Cheers

Mik of ClassX