99 |
JNIEnv *env; |
JNIEnv *env; |
100 |
union env_union e; |
union env_union e; |
101 |
jint stride_bytes, stride_pixels, n_channels, n_pixels; |
jint stride_bytes, stride_pixels, n_channels, n_pixels; |
|
int i; |
|
102 |
jintArray jpixels; |
jintArray jpixels; |
103 |
jint *java_pixels; |
jint *java_pixels; |
104 |
guchar *gdk_pixels; |
guchar *gdk_pixels; |
105 |
|
|
106 |
GdkPixbuf *pixbuf_no_alpha = NULL; |
GdkPixbuf *pixbuf_no_alpha = NULL; |
107 |
GdkPixbuf *pixbuf = NULL; |
GdkPixbuf *pixbuf = NULL; |
108 |
|
|
109 |
|
#ifndef WORDS_BIGENDIAN |
110 |
|
int i; |
111 |
|
#endif |
112 |
|
|
113 |
pixbuf_no_alpha = gdk_pixbuf_loader_get_pixbuf (loader); |
pixbuf_no_alpha = gdk_pixbuf_loader_get_pixbuf (loader); |
114 |
if (pixbuf_no_alpha == NULL) |
if (pixbuf_no_alpha == NULL) |
115 |
return; |
return; |