openstf / android-libjpeg-turbo Goto Github PK
View Code? Open in Web Editor NEWStandalone Android.mk configuration for libjpeg-turbo.
License: Other
Standalone Android.mk configuration for libjpeg-turbo.
License: Other
I can not run ndk-build with this error. Do you know what this error mean ?
Hi,
I have grayscale image with 96 resolution.
May I know, how to change image resolution to 100 ?
Thanks.
FAILED: cmd.exe /C "cd . && D:\Android-dev\android-ndk-r16b\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=armv7-none-linux-androideabi --gcc-toolchain=D:/Android-dev/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64 --sysroot=D:/Android-dev/android-ndk-r16b/sysroot -fPIC -isystem D:/Android-dev/android-ndk-r16b/sysroot/usr/include/arm-linux-androideabi -D__ANDROID_API__=15 ..."
turbojpeg.c:1998: error: undefined reference to 'jinit_read_bmp'
turbojpeg.c:2002: error: undefined reference to 'jinit_read_ppm'
turbojpeg.c:2090: error: undefined reference to 'jinit_write_ppm'
turbojpeg.c:2086: error: undefined reference to 'jinit_write_bmp'
how to config no use ppm and bmp support?
Hello all,
This is the my new step to integrate android-libjpeg-turbo to my android project.
Can any one please teach me how to integrate android-libjpeg-turbo.
I searched so many articles but no luck, didn't get any correct answer.
I did that just downloading the android-libjpeg-turbo repository.
Don't know how to proceed with that.
Please guide me to work with android-libjpeg-turbo.
System Specifications:
Android Tool : Android Studio.2.3.3.
Java version: Java 1.8
Operating System: Windows 10 (64 bit).
Hi,
i built the library using android-ndk-r20 on a mac. The build is ok but jconfig.h is empty while it should contain something at least JPEG_LIB_VERSION. Infact building my app a get those 2 compile errors:
error: use of undeclared identifier 'JPEG_LIB_VERSION' jpeg_create_decompress(&cinfo);
And
jpeglib.h:69:9: error: unknown type name 'JSAMPLE'
How can i fix those errors?
As per 1.5.1 changes, now it may make sense to use JSIMD_FORCENEON
flag.
https://github.com/libjpeg-turbo/libjpeg-turbo/blob/master/ChangeLog.md
How to make .so shared library use your project ?
I'm not familiar with makefile, please help.
I meet errors when linking libjpeg-turbo to my own module.
.....
.....
[armeabi] Compile thumb : jpeg-turbo <= jdatadst-tj.c
[armeabi] Compile thumb : jpeg-turbo <= jdatasrc-tj.c
[armeabi] StaticLibrary : libjpeg-turbo.a
[armeabi] SharedLibrary : libimage_decode.so
E:/Proj/RTMeasure/CameraEx/jni/vendor/libjpeg-turbo/libjpeg-turbo-1.4.1/jccolor.c:603: error: undefined reference to 'jsimd_can_rgb_gray'
E:/Proj/RTMeasure/CameraEx/jni/vendor/libjpeg-turbo/libjpeg-turbo-1.4.1/jccolor.c:658: error: undefined reference to 'jsimd_can_rgb_ycc'
E:/Proj/RTMeasure/CameraEx/jni/vendor/libjpeg-turbo/libjpeg-turbo-1.4.1/jccolor.c:718: error: undefined reference to 'jsimd_rgb_gray_convert'
E:/Proj/RTMeasure/CameraEx/jni/vendor/libjpeg-turbo/libjpeg-turbo-1.4.1/jccolor.c:718: error: undefined reference to 'jsimd_rgb_ycc_convert'
E:/Proj/RTMeasure/CameraEx/jni/vendor/libjpeg-turbo/libjpeg-turbo-1.4.1/jcsample.c:502: error: undefined reference to 'jsimd_can_h2v1_downsample'
E:/Proj/RTMeasure/CameraEx/jni/vendor/libjpeg-turbo/libjpeg-turbo-1.4.1/jcsample.c:520: error: undefined reference to 'jsimd_can_h2v2_downsample'
E:/Proj/RTMeasure/CameraEx/jni/vendor/libjpeg-turbo/libjpeg-turbo-1.4.1/jcsample.c:537: error: undefined reference to 'jsimd_h2v1_downsample'
E:/Proj/RTMeasure/CameraEx/jni/vendor/libjpeg-turbo/libjpeg-turbo-1.4.1/jcsample.c:537: error: undefined reference to 'jsimd_h2v2_downsample'
E:/Proj/RTMeasure/CameraEx/jni/vendor/libjpeg-turbo/libjpeg-turbo-1.4.1/jdmerge.c:591: error: undefined reference to 'jsimd_can_h2v2_merged_upsample'
E:/Proj/RTMeasure/CameraEx/jni/vendor/libjpeg-turbo/libjpeg-turbo-1.4.1/jdmerge.c:608: error: undefined reference to 'jsimd_can_h2v1_merged_upsample'
E:/Proj/RTMeasure/CameraEx/jni/vendor/libjpeg-turbo/libjpeg-turbo-1.4.1/jdmerge.c:624: error: undefined reference to 'jsimd_h2v2_merged_upsample'
E:/Proj/RTMeasure/CameraEx/jni/vendor/libjpeg-turbo/libjpeg-turbo-1.4.1/jdmerge.c:624: error: undefined reference to 'jsimd_h2v1_merged_upsample'
E:/Proj/RTMeasure/CameraEx/jni/vendor/libjpeg-turbo/libjpeg-turbo-1.4.1/jdsample.c:458: error: undefined reference to 'jsimd_can_h2v1_fancy_upsample'
E:/Proj/RTMeasure/CameraEx/jni/vendor/libjpeg-turbo/libjpeg-turbo-1.4.1/jdsample.c:463: error: undefined reference to 'jsimd_can_h2v1_upsample'
E:/Proj/RTMeasure/CameraEx/jni/vendor/libjpeg-turbo/libjpeg-turbo-1.4.1/jdsample.c:472: error: undefined reference to 'jsimd_can_h2v2_fancy_upsample'
E:/Proj/RTMeasure/CameraEx/jni/vendor/libjpeg-turbo/libjpeg-turbo-1.4.1/jdsample.c:478: error: undefined reference to 'jsimd_can_h2v2_upsample'
.....
.....
here is my module's android.mk
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := image_decode
LOCAL_SRC_FILES := imagedecode.c
LOCAL_STATIC_LIBRARIES += libjpeg-turbo
LOCAL_LDLIBS := -llog
include $(BUILD_SHARED_LIBRARY)
hi, I upgrade lib version to the newest version 1.5.2, and when I build the shared library in x86, I came to this error:
...
...
Library/Android/sdk/ndk-bundle/toolchains/x86-4.9/prebuilt/darwin-x86_64/lib/gcc/i686-linux-android/4.9.x/../../../../i686-linux-android/bin/ld: warning: shared library text segment is not shareable
jni/libjpeg/libjpeg-turbo-1.5.2/simd/jsimd_i386.c:1077: error: undefined reference to 'jconst_huff_encode_one_block'
jni/libjpeg/libjpeg-turbo-1.5.2/simd/jsimd_i386.c:1089: error: undefined reference to 'jsimd_huff_encode_one_block_sse2'
Hope for your response!
Hi,
Is this project uses latest Upstream version of https://github.com/libjpeg-turbo.
/Users/liuxj/Documents/project/OEM-AET/opensource/LibJpegTurboSampleForAndroid-master/app/src/main/jni/vendor/libjpeg-turbo/libjpeg-turbo-1.4.1/simd/jsimd_arm64_neon.S
Error:(261, 5) error: instruction requires: neon
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.