question: process depth image 512 x 424 concode_field_sep int colorHeight concode_elem_sep PApplet parent concode_elem_sep int colorWidth concode_elem_sep int depthWidth concode_elem_sep PImage colorImg concode_elem_sep PImage irImg concode_elem_sep PImage undistortedImg concode_elem_sep IntBuffer registeredColorBuffer concode_elem_sep String version concode_elem_sep IntBuffer irColorBuffer concode_elem_sep int depthHeight concode_elem_sep long ptr concode_elem_sep FloatBuffer depthPositions concode_elem_sep PImage registeredImg concode_elem_sep IntBuffer depthColorBuffer concode_elem_sep PImage depthImg concode_field_sep String getSerialNum concode_elem_sep void initDevice concode_elem_sep void initDevice concode_elem_sep int[] jniGetRegistered concode_elem_sep PImage getIrImage concode_elem_sep IntBuffer getDepthColorBuffer concode_elem_sep String getDefaulSerialNum concode_elem_sep void jniOpenSerial concode_elem_sep int[] jniGetIrData concode_elem_sep PImage getUndistoredImage concode_elem_sep PImage getVideoImage concode_elem_sep IntBuffer getIrColorBuffer concode_elem_sep void jniEnableRegistered concode_elem_sep void stopDevice concode_elem_sep int[] jniGetColorData concode_elem_sep void initIR concode_elem_sep void printDevices concode_elem_sep void jniEnableDepth concode_elem_sep void init concode_elem_sep long jniInit concode_elem_sep int jniGetNumDevices concode_elem_sep PImage getRegisteredImage concode_elem_sep float[] getDepthToCameraPositions concode_elem_sep int[] jniGetDepthData concode_elem_sep void jniEnableVideo concode_elem_sep int[] getRawDepth concode_elem_sep FloatBuffer getDepthBufferPositions concode_elem_sep void initVideo concode_elem_sep void initRegistered concode_elem_sep int getNumKinects concode_elem_sep void initDepth concode_elem_sep String jniGetSerialDevice concode_elem_sep IntBuffer getRegisteredColorBuffer concode_elem_sep void jniOpen concode_elem_sep int[] jniGetRawDepthData concode_elem_sep void jniOpenM concode_elem_sep int[] jniGetUndistorted concode_elem_sep void jniStop concode_elem_sep void jniEumerateDevices concode_elem_sep float[] jniGetDepthCameraPositions concode_elem_sep void jniEnableIR
target: PImage function ( ) { int [ ] loc0 = jniGetDepthData ( ) ; PApplet . arrayCopy ( loc0 , 0 , depthImg . pixels , 0 , depthImg . width * depthImg . height ) ; depthColorBuffer . put ( loc0 , 0 , depthWidth * depthHeight ) ; depthColorBuffer . rewind ( ) ; depthImg . updatePixels ( ) ; return depthImg ; }