Class MemorySetup
java.lang.Object
|
+--MemorySetup
- public class MemorySetup
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
mem_fd
public static int mem_fd
map_fd
public static int map_fd
MemorySetup
public MemorySetup()
- Class constructor.
Ccreate_memory
public static int Ccreate_memory(int buffer_size)
Cmap_memory
public static int Cmap_memory(int pci_fd,
int buffer_size)
Cunmap_memory
public static void Cunmap_memory(int map_fd,
int buffer_size)
Cget_memory_word
public static int Cget_memory_word(int fd,
int addr)
Cfree_memory
public static void Cfree_memory(int fd)
Cswap_memory
public static void Cswap_memory(int fd,
int mem_length)
Cprint_memory
public static int Cprint_memory(int fd,
int bytes)
Cdata_check
public static int Cdata_check(int fd,
int mem_word_length)
Craw2java
public static int[] Craw2java(int fd,
int[] pix,
int row)
static void ()
create_memory
public static void create_memory(int buffer_size)
- This method creates a buffer for image storage.
- Parameters:
buffer_size
- The size (in bytes) of the image buffer.
free_memory
public static void free_memory()
- This class releases the allocated image buffer memory back to the system.