"Fossies" - the Fresh Open Source Software Archive  

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

PixelAspectRatioJNI.cpp  (heif-3.6.0):PixelAspectRatioJNI.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 PixelAspectRatioProperty #define CLASS_NAME PixelAspectRatioProperty
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::PixelAspectRatioProperty(nativeHeif); auto* nativeObject = new HEIFPP::PixelAspectRatioProperty(nativeHeif);
return reinterpret_cast<jlong>(nativeObject); return reinterpret_cast<jlong>(nativeObject);
} }
JNI_METHOD(jint, getRelativeWidthNative) JNI_METHOD(jint, getRelativeWidthNative)
{ {
return static_cast<jint>(nativeSelf->mPixelAspectRatio.relativeWidth); return static_cast<jint>(nativeSelf->mPixelAspectRatio.relativeWidth);
} }
JNI_METHOD(jint, getRelativeHeightNative) JNI_METHOD(jint, getRelativeHeightNative)
 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)