"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "srcs/api-java/cpp/IdentityImageItemJNI.cpp" between
heif-3.6.0.tar.gz and heif-3.6.1.tar.gz

About: HEIF (High Efficiency Image File Format) is a visual media container format for images and image sequences (MPEG-standard). This HEIF engine demonstrates its powerful features and capabilities (under Nokia HEIF license).

IdentityImageItemJNI.cpp  (heif-3.6.0):IdentityImageItemJNI.cpp  (heif-3.6.1)
skipping to change at line 28 skipping to change at line 28
#include "IdentityImageItem.h" #include "IdentityImageItem.h"
#define CLASS_NAME IdentityImageItem #define CLASS_NAME IdentityImageItem
extern "C" extern "C"
{ {
JNI_METHOD_ARG(jlong, createContextNative, jobject javaHEIF) JNI_METHOD_ARG(jlong, createContextNative, jobject javaHEIF)
{ {
UNUSED(self); UNUSED(self);
NATIVE_HEIF(nativeHeif, javaHEIF); NATIVE_HEIF(nativeHeif, javaHEIF);
auto *nativeObject = new HEIFPP::IdentityImageItem(nativeHeif); auto* nativeObject = new HEIFPP::IdentityImageItem(nativeHeif);
return reinterpret_cast<jlong>(nativeObject); return reinterpret_cast<jlong>(nativeObject);
} }
JNI_METHOD(jobject, getImageNative) JNI_METHOD(jobject, getImageNative)
{ {
return getJavaItem(env, getJavaHEIF(env, self), nativeSelf->getImage()); return getJavaItem(env, getJavaHEIF(env, self), nativeSelf->getImage());
} }
JNI_METHOD_ARG(void, setImageNative, jobject image) JNI_METHOD_ARG(void, setImageNative, jobject image)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)