- 博客(5)
- 资源 (9)
- 收藏
- 关注
原创 MTP协议开发入门
由于MTP协议在移动设备中的广泛应用,使其成为在设备互联产品中,必备的组件之一。设想在开车途中,接入车载设备,听听手机中的歌;或者在休息时,借用车载的大屏幕看看手机中的高清电影,这些都使得旅途变得轻松惬意。 本文尽量避免介绍MTP协议(文档已经写的很清楚),主要针对某个具体设备(Google Nexus 4),介绍MTP开发入门知识。1. MTP设备模型理解MTP设备模型要有基础的USB协议知识。
2015-03-17 14:33:00 16348 1
原创 AppSrc与Playbin2的结合使用
前面关于AppSrc的文章记录了使用AppSrc时,Pipeline的构建过程,这中间需要手动设置一些Element的属性。如果使用Playbin的话,可以省去这些过程。 Playbin支持URI解析,而AppSrc支持的URI格式为appsrc://。因此,只需要将Playbin的uri属性设置为appsrc://,则playbin就会自动查找到appsrc组件,并将其作为pipeline的so
2015-03-13 10:58:39 2932
原创 GStreamer的AppSrc的使用(续2)
前面俩篇文章中,记录了使用AppSrc的情况下,如何注入数据与自动探测数据类型及解码,但Sink部分只强制指定了使用alsasink来输出声音。对于同时输出声音与图像的场景,GStreamer提供了playsink组件,用于自动选择合适的video与audio sink。
2015-03-12 11:18:38 6862
原创 GStreamer中AppSrc的简单使用(续)
文章《GStreamer中AppSrc的简单使用》介绍了AppSrc的初步使用,但对于各种复杂的媒体格式,需要自动解析媒体内容,自动生成Pipeline,这需要借助Decodebin来完成。Decodebin是Playbin的后端组件,它支持对输入进来的数据类型进行自动探测并设置解码器。对于任意一路解码后的媒体流(audio或video),它都会emit一个”pad-added”信号,可以基于这个
2015-03-03 14:24:37 3318
原创 Kernel中GPIO的Sysfs接口的使用
今天想写一个gpio的驱动,用于控制SoC上的一个电源控制io。看了一会儿,觉得对于gpio这种标准设备,kernel中应该有通用的驱动,甚至应该有Sysfs的接口可供用户空间程序使用。 于是先看了下driver目录,发现果然有gpio这个目录,不过里面的东西太多,一时没有头绪。又想起Documents目录,找到一个gpio.txt,果然Kernel提供了一个gpiolib的模块,用于向用户空间提
2015-03-02 17:29:00 5350 1
安全分析模型 HEAVENS
2020-09-22
ISO SAE 21434.DIS 2020.02.12.pdf
2020-09-22
GSN_Standard.pdf
2020-07-15
Rolling Wave Project Planning
2012-07-17
Practice Standard for Work Breakdown Structure_SecondEdition
2012-06-21
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人