"Fossies" - the Fresh Open Source Software Archive  

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

RotatePropertyJNI.cpp  (heif-3.6.0):RotatePropertyJNI.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 RotateProperty #define CLASS_NAME RotateProperty
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::RotateProperty(nativeHeif); auto* nativeObject = new HEIFPP::RotateProperty(nativeHeif);
return reinterpret_cast<jlong>(nativeObject); return reinterpret_cast<jlong>(nativeObject);
} }
JNI_METHOD_ARG(void, setRotationNative, jint rotation) JNI_METHOD_ARG(void, setRotationNative, jint rotation)
{ {
NATIVE_SELF; NATIVE_SELF;
nativeSelf->mRotate.angle = static_cast<uint32_t>(rotation); nativeSelf->mRotate.angle = static_cast<uint32_t>(rotation);
} }
JNI_METHOD(jint, getRotationNative) JNI_METHOD(jint, getRotationNative)
 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)