"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "srcs/api-java/cpp/MirrorPropertyJNI.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).

MirrorPropertyJNI.cpp  (heif-3.6.0):MirrorPropertyJNI.cpp  (heif-3.6.1)
skipping to change at line 28 skipping to change at line 28
#include "TransformativeProperty.h" #include "TransformativeProperty.h"
#define CLASS_NAME MirrorProperty #define CLASS_NAME MirrorProperty
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::MirrorProperty(nativeHeif); auto* nativeObject = new HEIFPP::MirrorProperty(nativeHeif);
return reinterpret_cast<jlong>(nativeObject); return reinterpret_cast<jlong>(nativeObject);
} }
JNI_METHOD(jboolean, getMirrorNative) JNI_METHOD(jboolean, getMirrorNative)
{ {
return static_cast<jboolean>(nativeSelf->mMirror.horizontalAxis); return static_cast<jboolean>(nativeSelf->mMirror.horizontalAxis);
} }
JNI_METHOD_ARG(void, setMirrorNative, jboolean mirror) JNI_METHOD_ARG(void, setMirrorNative, jboolean mirror)
 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)