"Fossies" - the Fresh Open Source Software Archive  

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

RelativeLocationPropertyJNI.cpp  (heif-3.6.0):RelativeLocationPropertyJNI.cpp  (heif-3.6.1)
skipping to change at line 28 skipping to change at line 28
#include "Helpers.h" #include "Helpers.h"
#define CLASS_NAME RelativeLocationProperty #define CLASS_NAME RelativeLocationProperty
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::RelativeLocationProperty(nativeHeif); auto* nativeObject = new HEIFPP::RelativeLocationProperty(nativeHeif);
return reinterpret_cast<jlong>(nativeObject); return reinterpret_cast<jlong>(nativeObject);
} }
JNI_METHOD_ARG(void, setHorizontalOffsetNative, jint offset) JNI_METHOD_ARG(void, setHorizontalOffsetNative, jint offset)
{ {
NATIVE_SELF; NATIVE_SELF;
nativeSelf->mRelativeLocation.horizontalOffset = static_cast<uint32_t>(o ffset); nativeSelf->mRelativeLocation.horizontalOffset = static_cast<uint32_t>(o ffset);
} }
JNI_METHOD_ARG(void, setVerticalOffsetNative, jint offset) JNI_METHOD_ARG(void, setVerticalOffsetNative, jint offset)
 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)