Firefly开源社区

打印 上一主题 下一主题

用usb摄像头输入视频图像进行识别

50

积分

0

威望

0

贡献

技术小白

积分
50

用usb摄像头输入视频图像进行识别

发表于 2019-7-18 14:32:16      浏览:5261 | 回复:8        打印      只看该作者   [复制链接] 楼主
本帖最后由 jian_yu 于 2019-7-18 16:45 编辑

可以在android gtiSSDVideo或者gtiVideoDemo_gnet1项目上修改使用usb摄像头输入图像进行识别吗?有没有人修改过?
回复

使用道具 举报

50

积分

0

威望

0

贡献

技术小白

积分
50
发表于 2019-7-18 14:37:31        只看该作者  沙发
本帖最后由 jian_yu 于 2019-7-19 11:32 编辑

帮忙提供一下参考代码或者文档,谢谢
回复

使用道具 举报

50

积分

0

威望

0

贡献

技术小白

积分
50
发表于 2019-7-18 15:15:27        只看该作者  板凳
本帖最后由 jian_yu 于 2019-7-18 17:33 编辑

有libgti_android.so libgti_detect.so的接口说明文档没?在那里可以下载到?
回复

使用道具 举报

3750

积分

17

威望

18

贡献

官方团队

Rank: 9Rank: 9Rank: 9

积分
3750
发表于 2019-7-19 09:31:08        只看该作者  地板
jian_yu 发表于 2019-7-18 15:15
有libgti_android.so libgti_detect.so的接口说明文档没?在那里可以下载到?

请参考一下wiki,看这个是否对你有帮助
http://wiki.t-firefly.com/NCCS1/
回复

使用道具 举报

50

积分

0

威望

0

贡献

技术小白

积分
50
发表于 2019-7-19 11:33:17        只看该作者  5#
jpchen 发表于 2019-7-19 09:31
请参考一下wiki,看这个是否对你有帮助
http://wiki.t-firefly.com/NCCS1/

这个我已经看过了,谢谢
回复

使用道具 举报

572

积分

1

威望

0

贡献

社区版主

Rank: 7Rank: 7Rank: 7

积分
572
发表于 2019-7-22 09:44:51        只看该作者  6#
从usb摄像头输入图像进行识别,你只需要把数据修改为从Camera中获取usb摄像头每一帧的图像,然后转换成224x224大小NCHW数据格式的数据传入2801中即可。
libgti_android.so和libgti_detect.so暂时没有接口说明文档,只能参照示例源码中的调用。
回复

使用道具 举报

50

积分

0

威望

0

贡献

技术小白

积分
50
发表于 2019-7-26 15:22:41        只看该作者  7#
rany 发表于 2019-7-22 09:44
从usb摄像头输入图像进行识别,你只需要把数据修改为从Camera中获取usb摄像头每一帧的图像,然后转换成224x ...

好的,谢谢,现在基本实现了
回复

使用道具 举报

50

积分

0

威望

0

贡献

技术小白

积分
50
发表于 2019-7-26 15:40:30        只看该作者  8#
本帖最后由 jian_yu 于 2019-7-29 11:55 编辑

你好,我发现Gti2801_SSD_sample_v1-0里面的gtiSSDPic和gtiSSDVideo有问题,显示效果和log如下,麻烦您帮忙看一下是什么原因?
2019-07-26 15:06:06.514 530-769/system_process I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=gti.gtiSSDPic/.MainActivity} from uid 2000
2019-07-26 15:06:06.522 530-769/system_process E/ActivityManager: getPackageFerformanceMode--ComponentInfo{gti.gtiSSDPic/gti.gtiSSDPic.MainActivity}----gti.gtiSSDPic
2019-07-26 15:06:06.528 530-884/system_process E/ActivityManager: getPackageFerformanceMode--ComponentInfo{gti.gtiSSDPic/gti.gtiSSDPic.MainActivity}----gti.gtiSSDPic
2019-07-26 15:06:06.549 530-884/system_process I/ActivityManager: Start proc 2129:gti.gtiSSDPic/u0a61 for activity gti.gtiSSDPic/.MainActivity
2019-07-26 15:06:06.552 2129-2129/? I/zygote64: Late-enabling -Xcheck:jni
2019-07-26 15:06:06.562 1349-1431/com.android.launcher W/OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
2019-07-26 15:06:06.571 251-251/? I/[Gralloc]: Got fd 16 for handle 1
2019-07-26 15:06:06.571 252-252/? I/[Gralloc]: Got handle 1 for fd 35
2019-07-26 15:06:06.571 252-252/? I/[Gralloc]: leave, w : 1360, h : 1360, format : 0x2,internal_format : 0x2, usage : 0x933. size=7398400,pixel_stride=1360,byte_stride=5440
2019-07-26 15:06:06.571 252-252/? I/[Gralloc]: leave: prime_fd=35,share_attr_fd=39
2019-07-26 15:06:06.571 251-528/? I/[Gralloc]: Got fd 17 for handle 2
2019-07-26 15:06:06.572 251-528/? I/[Gralloc]: leave, w : 1360, h : 704, format : 0x1,internal_format : 0x1, usage : 0xb00. size=3829760,pixel_stride=1360,byte_stride=5440
2019-07-26 15:06:06.572 251-251/? I/[Gralloc]: leave, w : 1360, h : 768, format : 0x1,internal_format : 0x1, usage : 0x933. size=4177920,pixel_stride=1360,byte_stride=5440
2019-07-26 15:06:06.572 251-528/? I/[Gralloc]: leave: prime_fd=17,share_attr_fd=19
2019-07-26 15:06:06.572 251-251/? I/[Gralloc]: leave: prime_fd=16,share_attr_fd=18
2019-07-26 15:06:06.573 260-559/? I/[Gralloc]: Got handle 7 for fd 83
2019-07-26 15:06:06.573 260-559/? I/[Gralloc]: leave, w : 1360, h : 768, format : 0x1,internal_format : 0x1, usage : 0x933. size=4177920,pixel_stride=1360,byte_stride=5440
2019-07-26 15:06:06.573 260-559/? I/[Gralloc]: leave: prime_fd=83,share_attr_fd=84
2019-07-26 15:06:06.573 260-292/? I/[Gralloc]: Got handle 8 for fd 86
2019-07-26 15:06:06.573 530-585/system_process I/[Gralloc]: Got handle 1 for fd 225
2019-07-26 15:06:06.573 260-292/? I/[Gralloc]: leave, w : 1360, h : 704, format : 0x1,internal_format : 0x1, usage : 0xb00. size=3829760,pixel_stride=1360,byte_stride=5440
2019-07-26 15:06:06.573 260-292/? I/[Gralloc]: leave: prime_fd=86,share_attr_fd=87
2019-07-26 15:06:06.573 530-585/system_process I/[Gralloc]: leave, w : 1360, h : 768, format : 0x1,internal_format : 0x1, usage : 0x933. size=4177920,pixel_stride=1360,byte_stride=5440
2019-07-26 15:06:06.573 530-585/system_process I/[Gralloc]: leave: prime_fd=225,share_attr_fd=227
2019-07-26 15:06:06.574 1349-1431/com.android.launcher I/[Gralloc]: Got handle 2 for fd 67
2019-07-26 15:06:06.574 1349-1431/com.android.launcher I/[Gralloc]: leave, w : 1360, h : 704, format : 0x1,internal_format : 0x1, usage : 0xb00. size=3829760,pixel_stride=1360,byte_stride=5440
2019-07-26 15:06:06.574 1349-1431/com.android.launcher I/[Gralloc]: leave: prime_fd=67,share_attr_fd=68
2019-07-26 15:06:06.588 252-252/? I/[Gralloc]: Got handle 7 for fd 46
2019-07-26 15:06:06.588 252-252/? I/[Gralloc]: leave, w : 1360, h : 704, format : 0x1,internal_format : 0x1, usage : 0xb00. size=3829760,pixel_stride=1360,byte_stride=5440
2019-07-26 15:06:06.588 252-252/? I/[Gralloc]: leave: prime_fd=46,share_attr_fd=47
2019-07-26 15:06:06.653 260-292/? E/BufferQueueProducer: [com.android.launcher/com.android.launcher2.Launcher#0] disconnect: not connected (req=1)
2019-07-26 15:06:06.653 1349-1431/com.android.launcher W/libEGL: EGLNativeWindowType 0x71e8f09010 disconnect failed
2019-07-26 15:06:06.758 2129-2129/? I/InstantRun: starting instant run server: is main process
2019-07-26 15:06:06.888 2129-2129/? D/gtiDemoActivity: Loading gti_classify library.
2019-07-26 15:06:06.900 2129-2129/? D/gtiDemoActivity: Loaded gti_classify library.
2019-07-26 15:06:06.900 2129-2129/? I/GTI_JNI: ---- 1st initEngine Class Samples
2019-07-26 15:06:06.900 2129-2129/? I/GTI_JNI: current num classes :SSD_TYP
2019-07-26 15:06:06.900 2129-2129/? I/GTI_JNI: GTI_JNI: /sdcard/gti/Models/gti2801/multi-object/vgg.dat /sdcard/gti/Models/gti2801/userinput.txt
2019-07-26 15:06:06.901 2129-2129/? I/GTI_JNI: --- GTIOpenDevice DeviceName = 0, emmcDeviceNode = /dev/sg0, emmcType = 2
2019-07-26 15:06:06.898 2129-2129/? W/gti.gtiSSDPic: type=1400 audit(0.0:189): avc: denied { read write } for name="sg0" dev="tmpfs" ino=2596 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:device:s0 tclass=chr_f
2019-07-26 15:06:06.953 252-252/? I/[Gralloc]: Got handle 10 for fd 29
2019-07-26 15:06:06.953 252-252/? I/[Gralloc]: leave, w : 1360, h : 768, format : 0x1,internal_format : 0x1, usage : 0x933. size=4177920,pixel_stride=1360,byte_stride=5440
2019-07-26 15:06:06.953 252-252/? I/[Gralloc]: leave: prime_fd=29,share_attr_fd=61
2019-07-26 15:06:07.002 2129-2129/? I/GTI_JNI: --- GTIOpenDevice device /dev/sg0 opened
2019-07-26 15:06:07.445 242-762/? D/gps_ql: Error connecting rild-nmea (Connection refused)
2019-07-26 15:06:07.446 242-762/? D/gps_ql: fail to open GPS channel <rild-nmea>!
2019-07-26 15:06:07.493 924-924/com.android.phone I/com.android.phone: Looking for service android.hardware.radio@1.0::IRadio/slot1
2019-07-26 15:06:07.501 924-924/com.android.phone I/com.android.phone: Looking for service android.hardware.radio.deprecated@1.0::IOemHook/slot1
2019-07-26 15:06:07.510 2129-2129/? I/GTI_JNI: class Samples Init finished.
2019-07-26 15:06:07.511 2129-2129/? I/GTI_JNI: ---- 2nd initEngine ssd_android_param_init
2019-07-26 15:06:08.102 2129-2129/gti.gtiSSDPic I/GTI_JNI: GTI_JNI: ssd_android_param_init finished.
2019-07-26 15:06:08.103 2129-2129/gti.gtiSSDPic I/GTI_JNI: ---- initEngine Init finished.
2019-07-26 15:06:08.103 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: initEngine done.
2019-07-26 15:06:08.105 2129-2129/gti.gtiSSDPic I/System.out: background
2019-07-26 15:06:08.105 2129-2129/gti.gtiSSDPic I/System.out: bicycle
2019-07-26 15:06:08.105 2129-2129/gti.gtiSSDPic I/System.out: car
2019-07-26 15:06:08.105 2129-2129/gti.gtiSSDPic I/System.out: bus
2019-07-26 15:06:08.105 2129-2129/gti.gtiSSDPic I/System.out: dog
2019-07-26 15:06:08.105 2129-2129/gti.gtiSSDPic I/System.out: person
2019-07-26 15:06:08.105 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: addListenerOnButton done.
2019-07-26 15:06:08.107 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/000129.bmp
2019-07-26 15:06:08.107 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/000140.bmp
2019-07-26 15:06:08.107 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/000162.bmp
2019-07-26 15:06:08.107 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/000220.bmp
2019-07-26 15:06:08.108 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/000238.bmp
2019-07-26 15:06:08.108 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/000271.bmp
2019-07-26 15:06:08.108 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/000296.bmp
2019-07-26 15:06:08.108 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/000331.bmp
2019-07-26 15:06:08.108 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/000358.bmp
2019-07-26 15:06:08.108 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/000414.bmp
2019-07-26 15:06:08.108 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/000435.bmp
2019-07-26 15:06:08.108 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/000535.bmp
2019-07-26 15:06:08.108 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/000546.bmp
2019-07-26 15:06:08.108 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/000727.bmp
2019-07-26 15:06:08.108 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/000752.bmp
2019-07-26 15:06:08.108 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/000806.bmp
2019-07-26 15:06:08.108 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/000865.bmp
2019-07-26 15:06:08.108 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/000967.bmp
2019-07-26 15:06:08.108 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/001111.bmp
2019-07-26 15:06:08.108 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/001218.bmp
2019-07-26 15:06:08.108 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/001328.bmp
2019-07-26 15:06:08.108 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/001330.bmp
2019-07-26 15:06:08.108 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/001396.bmp
2019-07-26 15:06:08.108 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/001411.bmp
2019-07-26 15:06:08.109 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/001451.bmp
2019-07-26 15:06:08.109 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/001492.bmp
2019-07-26 15:06:08.109 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/001501.bmp
2019-07-26 15:06:08.109 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/001583.bmp
2019-07-26 15:06:08.109 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/001639.bmp
2019-07-26 15:06:08.109 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/001731.bmp
2019-07-26 15:06:08.109 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/001805.bmp
2019-07-26 15:06:08.109 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/002024.bmp
2019-07-26 15:06:08.109 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/002061.bmp
2019-07-26 15:06:08.109 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/002221.bmp
2019-07-26 15:06:08.109 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/002355.bmp
2019-07-26 15:06:08.109 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/002455.bmp
2019-07-26 15:06:08.109 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/002477.bmp
2019-07-26 15:06:08.109 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/002512.bmp
2019-07-26 15:06:08.109 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/002530.bmp
2019-07-26 15:06:08.109 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/002561.bmp
2019-07-26 15:06:08.109 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/002584.bmp
2019-07-26 15:06:08.109 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/002624.bmp
2019-07-26 15:06:08.109 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/002675.bmp
2019-07-26 15:06:08.109 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/002697.bmp
2019-07-26 15:06:08.110 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/002871.bmp
2019-07-26 15:06:08.110 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/002889.bmp
2019-07-26 15:06:08.110 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/003102.bmp
2019-07-26 15:06:08.110 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/004136.bmp
2019-07-26 15:06:08.110 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/004449.bmp
2019-07-26 15:06:08.110 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/004545.bmp
2019-07-26 15:06:08.110 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/004576.bmp
2019-07-26 15:06:08.110 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: /sdcard/imagegssd/multi-bmp/004742.bmp
2019-07-26 15:06:08.111 2129-2129/gti.gtiSSDPic D/gtiDemoActivity: onCreate done.
2019-07-26 15:06:08.129 2129-2149/gti.gtiSSDPic D/OpenGLRenderer: HWUI GL Pipeline
2019-07-26 15:06:08.177 2129-2149/gti.gtiSSDPic I/mali_so: [File] : hardware/rockchip/mali_so_src_of_midgard/driver/product/base/src/mali_base_kbase.c; [Line] : 876; [Func] : base_context_deal_with_version_affairs_rk_ext;
    arm_release_ver of this mali_so is 'r18p0-01rel0', rk_so_ver is '7@0'.
2019-07-26 15:06:08.177 2129-2149/gti.gtiSSDPic D/mali_so: [File] : hardware/rockchip/mali_so_src_of_midgard/driver/product/base/src/mali_base_kbase.c; [Line] : 881; [Func] : base_context_deal_with_version_affairs_rk_ext;
    current process is NOT sf, to bail out.
2019-07-26 15:06:08.185 2129-2149/gti.gtiSSDPic I/gti.gtiSSDPic: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
2019-07-26 15:06:08.185 2129-2149/gti.gtiSSDPic I/OpenGLRenderer: Initialized EGL, version 1.4
2019-07-26 15:06:08.185 2129-2149/gti.gtiSSDPic D/OpenGLRenderer: Swap behavior 2
2019-07-26 15:06:08.194 2129-2149/gti.gtiSSDPic D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
2019-07-26 15:06:08.237 251-251/? I/[Gralloc]: Got fd 16 for handle 1
2019-07-26 15:06:08.239 251-251/? I/[Gralloc]: leave, w : 1360, h : 768, format : 0x1,internal_format : 0x1, usage : 0xb00. size=4177920,pixel_stride=1360,byte_stride=5440
2019-07-26 15:06:08.239 251-251/? I/[Gralloc]: leave: prime_fd=16,share_attr_fd=17
2019-07-26 15:06:08.240 260-292/? I/[Gralloc]: Got handle 9 for fd 113
2019-07-26 15:06:08.240 260-292/? I/[Gralloc]: leave, w : 1360, h : 768, format : 0x1,internal_format : 0x1, usage : 0xb00. size=4177920,pixel_stride=1360,byte_stride=5440
2019-07-26 15:06:08.240 260-292/? I/[Gralloc]: leave: prime_fd=113,share_attr_fd=114
2019-07-26 15:06:08.249 2129-2149/gti.gtiSSDPic I/[Gralloc]: Got handle 1 for fd 70
2019-07-26 15:06:08.249 2129-2149/gti.gtiSSDPic I/[Gralloc]: leave, w : 1360, h : 768, format : 0x1,internal_format : 0x1, usage : 0xb00. size=4177920,pixel_stride=1360,byte_stride=5440
2019-07-26 15:06:08.249 2129-2149/gti.gtiSSDPic I/[Gralloc]: leave: prime_fd=70,share_attr_fd=71
2019-07-26 15:06:08.286 530-554/system_process I/ActivityManager: Displayed gti.gtiSSDPic/.MainActivity: +1s748ms
2019-07-26 15:06:08.308 251-251/? I/[Gralloc]: Got fd 16 for handle 1
2019-07-26 15:06:08.314 251-251/? I/[Gralloc]: leave, w : 1360, h : 768, format : 0x1,internal_format : 0x1, usage : 0xb00. size=4177920,pixel_stride=1360,byte_stride=5440
2019-07-26 15:06:08.316 251-251/? I/[Gralloc]: leave: prime_fd=16,share_attr_fd=17
2019-07-26 15:06:08.317 260-559/? I/[Gralloc]: Got handle 11 for fd 59
2019-07-26 15:06:08.317 260-559/? I/[Gralloc]: leave, w : 1360, h : 768, format : 0x1,internal_format : 0x1, usage : 0xb00. size=4177920,pixel_stride=1360,byte_stride=5440
2019-07-26 15:06:08.317 260-559/? I/[Gralloc]: leave: prime_fd=59,share_attr_fd=96
2019-07-26 15:06:08.318 252-1458/? I/[Gralloc]: Got handle 1 for fd 48
2019-07-26 15:06:08.318 252-1458/? I/[Gralloc]: leave, w : 1360, h : 768, format : 0x1,internal_format : 0x1, usage : 0xb00. size=4177920,pixel_stride=1360,byte_stride=5440
2019-07-26 15:06:08.318 252-1458/? I/[Gralloc]: leave: prime_fd=48,share_attr_fd=52
2019-07-26 15:06:08.318 2129-2149/gti.gtiSSDPic I/[Gralloc]: Got handle 2 for fd 75
2019-07-26 15:06:08.318 2129-2149/gti.gtiSSDPic I/[Gralloc]: leave, w : 1360, h : 768, format : 0x1,internal_format : 0x1, usage : 0xb00. size=4177920,pixel_stride=1360,byte_stride=5440
2019-07-26 15:06:08.318 2129-2149/gti.gtiSSDPic I/[Gralloc]: leave: prime_fd=75,share_attr_fd=76
2019-07-26 15:06:08.332 252-1458/? I/[Gralloc]: Got handle 7 for fd 44
2019-07-26 15:06:08.333 252-1458/? I/[Gralloc]: leave, w : 1360, h : 768, format : 0x1,internal_format : 0x1, usage : 0xb00. size=4177920,pixel_stride=1360,byte_stride=5440
2019-07-26 15:06:08.333 252-1458/? I/[Gralloc]: leave: prime_fd=44,share_attr_fd=45
2019-07-26 15:06:08.446 242-762/? D/gps_ql: Error connecting rild-nmea (Connection refused)
2019-07-26 15:06:08.446 242-762/? D/gps_ql: fail to open GPS channel <rild-nmea>!
2019-07-26 15:06:08.471 251-251/? I/[Gralloc]: Got fd 16 for handle 1
2019-07-26 15:06:08.471 251-251/? I/[Gralloc]: leave, w : 224, h : 224, format : 0x1,internal_format : 0x1, usage : 0x933. size=200704,pixel_stride=224,byte_stride=896
2019-07-26 15:06:08.471 251-251/? I/[Gralloc]: leave: prime_fd=16,share_attr_fd=17
2019-07-26 15:06:08.471 260-964/? I/[Gralloc]: Got handle 8 for fd 118
2019-07-26 15:06:08.471 260-964/? I/[Gralloc]: leave, w : 224, h : 224, format : 0x1,internal_format : 0x1, usage : 0x933. size=200704,pixel_stride=224,byte_stride=896
2019-07-26 15:06:08.471 260-964/? I/[Gralloc]: leave: prime_fd=118,share_attr_fd=119
2019-07-26 15:06:08.472 2129-2129/gti.gtiSSDPic I/[Gralloc]: Got handle 3 for fd 78
2019-07-26 15:06:08.472 2129-2129/gti.gtiSSDPic I/[Gralloc]: leave, w : 224, h : 224, format : 0x1,internal_format : 0x1, usage : 0x933. size=200704,pixel_stride=224,byte_stride=896
2019-07-26 15:06:08.472 2129-2129/gti.gtiSSDPic I/[Gralloc]: leave: prime_fd=78,share_attr_fd=79
2019-07-26 15:06:08.479 252-1458/? I/[Gralloc]: Got handle 11 for fd 30
2019-07-26 15:06:08.480 252-1458/? I/[Gralloc]: leave, w : 224, h : 224, format : 0x1,internal_format : 0x1, usage : 0x933. size=200704,pixel_stride=224,byte_stride=896
2019-07-26 15:06:08.480 252-1458/? I/[Gralloc]: leave: prime_fd=30,share_attr_fd=61
2019-07-26 15:06:09.446 242-762/? D/gps_ql: Error connecting rild-nmea (Connection refused)
2019-07-26 15:06:09.447 242-762/? D/gps_ql: fail to open GPS channel <rild-nmea>!
2019-07-26 15:06:09.781 251-251/? I/[Gralloc]: Got fd 16 for handle 1
2019-07-26 15:06:09.783 251-251/? I/[Gralloc]: leave, w : 1360, h : 768, format : 0x1,internal_format : 0x1, usage : 0xb00. size=4177920,pixel_stride=1360,byte_stride=5440
2019-07-26 15:06:09.783 251-251/? I/[Gralloc]: leave: prime_fd=16,share_attr_fd=17
2019-07-26 15:06:09.783 260-559/? I/[Gralloc]: Got handle 7 for fd 97
2019-07-26 15:06:09.783 260-559/? I/[Gralloc]: leave, w : 1360, h : 768, format : 0x1,internal_format : 0x1, usage : 0xb00. size=4177920,pixel_stride=1360,byte_stride=5440
2019-07-26 15:06:09.784 260-559/? I/[Gralloc]: leave: prime_fd=97,share_attr_fd=116
2019-07-26 15:06:09.784 2129-2149/gti.gtiSSDPic I/[Gralloc]: Got handle 4 for fd 81
2019-07-26 15:06:09.785 2129-2149/gti.gtiSSDPic I/[Gralloc]: leave, w : 1360, h : 768, format : 0x1,internal_format : 0x1, usage : 0xb00. size=4177920,pixel_stride=1360,byte_stride=5440
2019-07-26 15:06:09.785 2129-2149/gti.gtiSSDPic I/[Gralloc]: leave: prime_fd=81,share_attr_fd=82
2019-07-26 15:06:09.797 252-1458/? I/[Gralloc]: Got handle 10 for fd 65
2019-07-26 15:06:09.797 252-1458/? I/[Gralloc]: leave, w : 1360, h : 768, format : 0x1,internal_format : 0x1, usage : 0xb00. size=4177920,pixel_stride=1360,byte_stride=5440
2019-07-26 15:06:09.797 252-1458/? I/[Gralloc]: leave: prime_fd=65,share_attr_fd=69
2019-07-26 15:06:09.807 251-251/? I/[Gralloc]: Got fd 16 for handle 1
2019-07-26 15:06:09.808 251-251/? I/[Gralloc]: leave, w : 1360, h : 768, format : 0x1,internal_format : 0x1, usage : 0xb00. size=4177920,pixel_stride=1360,byte_stride=5440
2019-07-26 15:06:09.808 251-251/? I/[Gralloc]: leave: prime_fd=16,share_attr_fd=17
2019-07-26 15:06:09.809 260-559/? I/[Gralloc]: Got handle 12 for fd 80
2019-07-26 15:06:09.809 260-559/? I/[Gralloc]: leave, w : 1360, h : 768, format : 0x1,internal_format : 0x1, usage : 0xb00. size=4177920,pixel_stride=1360,byte_stride=5440
2019-07-26 15:06:09.809 260-559/? I/[Gralloc]: leave: prime_fd=80,share_attr_fd=94
2019-07-26 15:06:09.809 2129-2149/gti.gtiSSDPic I/[Gralloc]: Got handle 5 for fd 84
2019-07-26 15:06:09.810 2129-2149/gti.gtiSSDPic I/[Gralloc]: leave, w : 1360, h : 768, format : 0x1,internal_format : 0x1, usage : 0xb00. size=4177920,pixel_stride=1360,byte_stride=5440
2019-07-26 15:06:09.810 2129-2149/gti.gtiSSDPic I/[Gralloc]: leave: prime_fd=84,share_attr_fd=85
2019-07-26 15:06:09.825 252-1458/? I/[Gralloc]: Got handle 12 for fd 47
2019-07-26 15:06:09.826 252-1458/? I/[Gralloc]: leave, w : 1360, h : 768, format : 0x1,internal_format : 0x1, usage : 0xb00. size=4177920,pixel_stride=1360,byte_stride=5440
2019-07-26 15:06:09.826 252-1458/? I/[Gralloc]: leave: prime_fd=47,share_attr_fd=79
2019-07-26 15:06:10.447 242-762/? D/gps_ql: Error connecting rild-nmea (Connection refused)
2019-07-26 15:06:10.447 242-762/? D/gps_ql: fail to open GPS channel <rild-nmea>!
2019-07-26 15:06:11.448 242-762/? D/gps_ql: Error connecting rild-nmea (Connection refused)
2019-07-26 15:06:11.448 242-762/? D/gps_ql: fail to open GPS channel <rild-nmea>!
2019-07-26 15:06:11.506 924-924/com.android.phone I/com.android.phone: Looking for service android.hardware.radio@1.0::IRadio/slot1
2019-07-26 15:06:11.509 924-924/com.android.phone I/com.android.phone: Looking for service android.hardware.radio.deprecated@1.0::IOemHook/slot1
2019-07-26 15:06:12.448 242-762/? D/gps_ql: Error connecting rild-nmea (Connection refused)
2019-07-26 15:06:12.449 242-762/? D/gps_ql: fail to open GPS channel <rild-nmea>!
2019-07-26 15:06:12.531 244-525/? D/AudioHardwareTiny: 1212121 start_output_stream
2019-07-26 15:06:12.532 244-525/? E/AudioHardwareTiny: vicent r 44100  c 2  ps 512 pc 6
2019-07-26 15:06:12.533 244-525/? D/AudioHardwareTiny: card[0] = ROCKCHIPRT5640C
2019-07-26 15:06:12.533 244-525/? D/AudioHardwareTiny: card[1] = ROCKCHIPSPDIF
2019-07-26 15:06:12.533 244-525/? D/AudioHardwareTiny: card[2] = RKHDMIDPSOUND
2019-07-26 15:06:12.533 244-525/? D/AudioHardwareTiny: PCM_CARD=0, PCM_CARD_SPDIF=1, PCM_CARD_HDMI=2, PCM_BT=4
2019-07-26 15:06:12.533 244-525/? D/AudioHardwareTiny: Device     : 0x8000a
2019-07-26 15:06:12.533 244-525/? D/AudioHardwareTiny: SampleRate : 44100
2019-07-26 15:06:12.533 244-525/? D/AudioHardwareTiny: Channels   : 2
2019-07-26 15:06:12.533 244-525/? D/AudioHardwareTiny: Formate    : 0
2019-07-26 15:06:12.533 244-525/? D/AudioHardwareTiny: PreiodSize : 512
2019-07-26 15:06:12.533 244-525/? E/AudioHardwareTiny: start_output_stream() >>>> PCM_CARD_HDMI:2, PCM_CARD:0, HdmiIn_snd_config.config:4<
2019-07-26 15:06:12.533 244-525/? D/alsa_route: route_info->sound_card 0, route_info->devices 0  
2019-07-26 15:06:12.535 244-525/? D/alsa_route: route_set_controls() set route 11
2019-07-26 15:06:12.603 244-525/? W/StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
2019-07-26 15:06:12.604 244-525/? W/StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
2019-07-26 15:06:12.865 251-251/? I/[Gralloc]: Got fd 16 for handle 1
2019-07-26 15:06:12.866 251-251/? I/[Gralloc]: leave, w : 224, h : 224, format : 0x1,internal_format : 0x1, usage : 0x933. size=200704,pixel_stride=224,byte_stride=896
2019-07-26 15:06:12.866 251-251/? I/[Gralloc]: leave: prime_fd=16,share_attr_fd=17
2019-07-26 15:06:12.866 260-618/? I/[Gralloc]: Got handle 13 for fd 126
2019-07-26 15:06:12.866 260-618/? I/[Gralloc]: leave, w : 224, h : 224, format : 0x1,internal_format : 0x1, usage : 0x933. size=200704,pixel_stride=224,byte_stride=896
2019-07-26 15:06:12.866 260-618/? I/[Gralloc]: leave: prime_fd=126,share_attr_fd=127
2019-07-26 15:06:12.867 2129-2129/gti.gtiSSDPic I/[Gralloc]: Got handle 6 for fd 88
2019-07-26 15:06:12.867 2129-2129/gti.gtiSSDPic I/[Gralloc]: leave, w : 224, h : 224, format : 0x1,internal_format : 0x1, usage : 0x933. size=200704,pixel_stride=224,byte_stride=896
2019-07-26 15:06:12.867 2129-2129/gti.gtiSSDPic I/[Gralloc]: leave: prime_fd=88,share_attr_fd=89
2019-07-26 15:06:12.872 252-1458/? I/[Gralloc]: Got handle 13 for fd 29
2019-07-26 15:06:12.872 252-1458/? I/[Gralloc]: leave, w : 224, h : 224, format : 0x1,internal_format : 0x1, usage : 0x933. size=200704,pixel_stride=224,byte_stride=896
2019-07-26 15:06:12.873 252-1458/? I/[Gralloc]: leave: prime_fd=29,share_attr_fd=43
2019-07-26 15:06:13.449 242-762/? D/gps_ql: Error connecting rild-nmea (Connection refused)
2019-07-26 15:06:13.449 242-762/? D/gps_ql: fail to open GPS channel <rild-nmea>!
2019-07-26 15:06:14.450 242-762/? D/gps_ql: Error connecting rild-nmea (Connection refused)
2019-07-26 15:06:14.450 242-762/? D/gps_ql: fail to open GPS channel <rild-nmea>!
2019-07-26 15:06:15.450 242-762/? D/gps_ql: Error connecting rild-nmea (Connection refused)
2019-07-26 15:06:15.451 242-762/? D/gps_ql: fail to open GPS channel <rild-nmea>!
2019-07-26 15:06:15.513 924-924/com.android.phone I/com.android.phone: Looking for service android.hardware.radio@1.0::IRadio/slot1
2019-07-26 15:06:15.516 924-924/com.android.phone I/com.android.phone: Looking for service android.hardware.radio.deprecated@1.0::IOemHook/slot1
2019-07-26 15:06:16.451 242-762/? D/gps_ql: Error connecting rild-nmea (Connection refused)
2019-07-26 15:06:16.451 242-762/? D/gps_ql: fail to open GPS channel <rild-nmea>!
2019-07-26 15:06:16.517 256-256/? D/SensorsHal: light sensor readEvents 128
2019-07-26 15:06:16.517 256-256/? D/SensorsHal: [File] : hardware/rockchip/sensor/st/InputEventReader.cpp; [Line] : 65; [Func] : fill() ; nread = 48, numEventsRead = 2.
2019-07-26 15:06:16.517 256-256/? D/SensorsHal: light sensor readEvents light 12.000000
2019-07-26 15:06:16.517 256-256/? D/SensorsHal: light sensor numEventReceived 0
2019-07-26 15:06:17.452 242-762/? D/gps_ql: Error connecting rild-nmea (Connection refused)



回复

使用道具 举报

50

积分

0

威望

0

贡献

技术小白

积分
50
发表于 2019-7-26 15:50:24        只看该作者  9#
本帖最后由 jian_yu 于 2019-7-29 11:55 编辑

更换新的demo解决了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表