在mt6261上实现二维码展示和扫码

小李的飞刀

李杰的个人网站,手机游戏,手机页游

在mt6261上实现二维码展示和扫码

最近做了一个外包项目,在mt6261上实现二维码的展示和扫码功能……


最近做了一个外包项目,在mt6261上实现二维码的展示和扫码功能。

拒绝造轮子,所以当然要选择开源库。

由于是mtk功能机平台,只支持c,所以c++和java什么的就不考虑了。

二维码的编码,选择了qrencode,这个移植比较简单,不多说。

二维码的扫描算法,走了一些弯路。一开始根据网上的扫描算法速度对比,选择了quirc。但是移植好了实际上机测试,完全不是那回事,速度慢的要死,十几秒没反应,机器直接重启了。查了下原因,才发现,原来它使用了浮点算法,而mt6261根本就不支持硬件浮点计算,是用的软浮点,怪不得这么慢!

最后选择了zbar,并进行了裁剪和优化,运行效果良好,不到0.5秒就能完成从扫描到识别出二维码的操作。

源码就不贴出来了,外包项目,代码还是要适当保密。

 

博文最后更新时间:


评论

  • Jada

    I can't get a signal https://www.forward-now.com/stmap_64tgzttt.html?norlutate.rhinocort.levitra ciprofloxacina cistite emorragica Lampedusa, a tiny fishing and tourist island halfway betweenSicily and the coasts of Tunisia and Libya, has borne the bruntof a crisis which over the years has seen tens of thousands ofmigrants arrive in unsafe and overcrowded vessels.

  • Sanford

    I've been cut off https://www.forward-now.com/stmap_39dwanrs.html?glycomet.cialis.nymphomax ciprofloxacino gotas dosis adulto The top yield was 5.22 percent on bonds maturing in 30 yearswith a 5.125 percent coupon. Ten-year bonds with both 4.00percent and 5.00 percent coupons were priced at 3.51 percent,according to final pricing information.

  • Dogkill

    I'm happy very good site http://www.helloartdept.com/wordpress/stmap_64mvltdi.html?lamprene.viagra.nymphomax.ibuprofen dulcolax carbs Seehofer wants to put behind him the 2008 election, when theCSU scored its worst result in six decades, 43 percent. Thatforced it into an alliance with the Free Democrats (FDP), whoare also Merkel's coalition partners the national government.

  • Louis

    What sort of work do you do? http://www.missionarygeek.com/stmap_39bocxge.html?viagra.ketoconazole.megalis vitaros prezzo Bartoli has been hampered by an injured left foot, right ankle, right hamstring and Achilles tendon injury. She said every part of her body hurt while she was on the court Wednesday, and it’s been like that for some time.

  • Samantha

    I want to make a withdrawal https://www.voyages-gallia.fr/stmap_64kncqzz.html?caverta.viagra.avigra.cefadroxil ofloxacin&ornidazole A Bronx grand jury declined to indict the cops, who said they were in imminent danger, but the city settled a civil case over the deaths for $1.1 million in 2009. The medical examiner said the two men were face down when they were killed.

  • Lucky

    I've lost my bank card https://pemcincinnati.com/blog/stmap_64tgzttt.html?viagra.intimax.bupropion zoloft make pupils big Socotra Island is one of the most other-worldly locales on this planet. Lying 150 miles east of the African horn, the largest island of this archipelago is only 82 miles long. Due to its extreme isolation, some of the most spectacular flora and natural wonders can be seen here.  Unique aloes, exotic birds and dense coral reefs can all be found along the coast of Socotra. But it is most well known for the dragon’s blood trees recognizable by their striking umbrella shape. While there is very little internal transportation on the island, flights for tourists can be arranged daily. Visitors can enjoy hiking the island or scuba diving along the shore.

发表评论

个人资料

姓名:李杰。
爱好:编程,慢跑。
2001年来北京发展,从事软件开发17年。
文曲星Lava语言的创造者。
Iava&LavaX跨平台语言的发明者。
Mirage引擎之父。
手机拳皇97高清版主程序。

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:18559232

博文总数:14 评论总数:527220

原创14 转载0 翻译0