> Whats the problem with simply passing down the Int[] > and accessing it in a JNICriticalSection? > This way you can access the pixels without any > copying-overhead at all.
You don't always have the ability to substitute an output buffer into the rendering pipeline, and doing so with a critical heap array can be tricky in the presence of a multi-threaded media pipeline. e.g. doing this from gstreamer is very difficult, if not impossible. So, enabling wrapping of a NIO direct ByteBuffer in a BufferedImage is a better general solution. [Message sent by forum member 'wmeissner' (wmeissner)] http://forums.java.net/jive/thread.jspa?messageID=261820 =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".