libyuv-android icon indicating copy to clipboard operation
libyuv-android copied to clipboard

转换1920x1080分辨率的帧软件崩溃

Open fengyiyingdong opened this issue 4 years ago • 0 comments

我做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 : #01 pc 0000d475 /data/app-lib/com.cast-1/libyuv.so (I420ToRGB565+252) 09-23 14:53:28.024 1121 1121 I DEBUG : #02 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 : #03 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 : #04 pc 00010ea3 /data/app-lib/com.cast-1/libairplay.so (video_process+102)

fengyiyingdong avatar Sep 23 '20 07:09 fengyiyingdong