illuspas / libyuv-android Goto Github PK
View Code? Open in Web Editor NEWBuild Google libyuv with NDK for Android
License: BSD 3-Clause "New" or "Revised" License
Build Google libyuv with NDK for Android
License: BSD 3-Clause "New" or "Revised" License
不知道怎么使用,已经编译好了.so
Thank you for libyuv-android. armeabi-v7a and armeabi-v8a have succeed. But the x86 is build failed.
I use the andorid.mk file you provided,and only modifed the application.mk .
NDK_TOOLCHAIN_VERSION := 4.9
APP_PLATFORM := android-14
APP_ABI := x86
Errors:
jni/source/compare.cc:168: error: undefined reference to 'SumSquareError_SSE2'
jni/source/convert.cc:286: error: undefined reference to 'SplitUVRow_SSE2'
jni/source/convert.cc:294: error: undefined reference to 'SplitUVRow_AVX2'
jni/source/convert.cc:198: error: undefined reference to 'CopyRow_AVX'
jni/source/convert.cc:203: error: undefined reference to 'CopyRow_ERMS'
jni/source/convert.cc:286: error: undefined reference to 'SplitUVRow_SSE2'
.................................
Do you have any idear for the errors?
使用libyuv对视频原始帧进行90度旋转,得到的画面是模糊的。只有视频分辨率 在长跟宽一致的时候才有效。有人遇到这样的问题么
我做Airplay投屏使用了libyuv库,投屏分辨率达到1920x1080时,软件会崩溃,麻烦大佬帮忙看下,谢谢!
代码如下:
libyuv::I420ToRGB565(frame->data[0], frame->linesize[0],
frame->data[1], frame->linesize[1],
frame->data[2], frame->linesize[2],
(uint8*)buffer_dest, dec_ctx->width * 2,
dec_ctx->width, dec_ctx->height);
崩溃信息
09-23 14:53:27.788 1121 1121 I DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 63983000
09-23 14:53:28.016 1121 1121 I DEBUG : r0 63ba8d48 r1 63983000 r2 63bf8000 r3 663b4ec8
09-23 14:53:28.016 1121 1121 I DEBUG : r4 601701c0 r5 601701d4 r6 601701e0 r7 612b0ae0
09-23 14:53:28.016 1121 1121 I DEBUG : r8 000003e6 r9 663b4a08 sl 63bf7ed0 fp 00000f00
09-23 14:53:28.016 1121 1121 I DEBUG : ip 601701b0 sp 612b0a98 lr 00000520 pc 6016b540 cpsr 280f0030
09-23 14:53:28.016 1121 1121 I DEBUG : d0 b2b3b1b2bbb887aa d1 07e007e007e007e0
09-23 14:53:28.016 1121 1121 I DEBUG : d2 0000000000000000 d3 0000000000000000
09-23 14:53:28.016 1121 1121 I DEBUG : d4 000023c600000000 d5 0000000000000000
09-23 14:53:28.024 1121 1121 I DEBUG : d6 0000000000000000 d7 0000000000000000
09-23 14:53:28.024 1121 1121 I DEBUG : d8 21f821f821f821f8 d9 21f821f821f821f8
09-23 14:53:28.024 1121 1121 I DEBUG : d10 0000000000000000 d11 0000000000000000
09-23 14:53:28.024 1121 1121 I DEBUG : d12 0000000000000000 d13 0000000000000000
09-23 14:53:28.024 1121 1121 I DEBUG : d14 0000000000000000 d15 0000000000000000
09-23 14:53:28.024 1121 1121 I DEBUG : d16 ff00ff00ff00ff00 d17 ff00ff00ff00ff00
09-23 14:53:28.024 1121 1121 I DEBUG : d18 0000000000000000 d19 0000000000000000
09-23 14:53:28.024 1121 1121 I DEBUG : d20 0000000000000000 d21 ffffffffffffffff
09-23 14:53:28.024 1121 1121 I DEBUG : d22 0000000000000000 d23 0000000000000000
09-23 14:53:28.024 1121 1121 I DEBUG : d24 6666666680808080 d25 3434343419191919
09-23 14:53:28.024 1121 1121 I DEBUG : d26 bb78bb78bb78bb78 d27 bb78bb78bb78bb78
09-23 14:53:28.024 1121 1121 I DEBUG : d28 c878c878c878c878 d29 c878c878c878c878
09-23 14:53:28.024 1121 1121 I DEBUG : d30 004a7f35004a7f35 d31 004a7f35004a7f35
09-23 14:53:28.024 1121 1121 I DEBUG : scr 68000010
09-23 14:53:28.024 1121 1121 I DEBUG :
09-23 14:53:28.024 1121 1121 I DEBUG : backtrace:
09-23 14:53:28.024 1121 1121 I DEBUG : #00 pc 00021540 /data/app-lib/com.cast-1/libyuv.so (I422ToRGB565Row_NEON+49)
09-23 14:53:28.024 1121 1121 I DEBUG : #1 pc 0000d475 /data/app-lib/com.cast-1/libyuv.so (I420ToRGB565+252)
09-23 14:53:28.024 1121 1121 I DEBUG : #2 pc 000126ad /data/app-lib/com.cast-1/libairplay.so (Video::decode(AVCodecContext*, AVFrame*, AVPacket*)+204)
09-23 14:53:28.032 1121 1121 I DEBUG : #3 pc 000125ab /data/app-lib/com.cast-1/libairplay.so (Video::recvVideoData(unsigned char*, int, unsigned long long)+86)
09-23 14:53:28.032 1121 1121 I DEBUG : #4 pc 00010ea3 /data/app-lib/com.cast-1/libairplay.so (video_process+102)
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.