Will Verduzco · Apr 16, 2014 at 04:00 pm

HTC Releases Dual Lens SDK for the HTC One M8 (2014)

One of the highlights of the HTC One M8 is its new dual lens camera system. Termed “Duo Camera,” this innovative system allows the device to capture depth data in addition to standard imaging data. The Duo Camera System then maps this captured distance information to each pixel taken by the main camera in order to achieve various types of effects such as depth-of-field blur ( i.e. bokeh), as well as Lytro-style refocusing effects.

Up until now, the full functionality of the Duo Camera System has only been accessible through HTC’s first party camera application. Today, however, HTC opened up the Duo Camera System API for use by third party developers.

The Dual Lens SDK currently consists of two APIs: Dual Lens and DimensionPlus. The Dual Lens API allows developers to obtain and manage a bokeh strength map mask that can be mapped to the main camera’s image data. The DimensionPlus, API on the other hand, allows developers to export to the DimensionPlus file format in order to keep both depth and image data in one file.

The Dual Lens SDK is currently available in the form of an initial preview, so it is possible that more functionality will be added in the future or that current implementations may not be compatible with future software revisions. That said, it’s exciting that HTC decided to open up the APIs behind its most notable camera feature.

Developers looking to play around with and develop for the HTC Duo Camera System should head over to the HTC Dual Lens SDK site to learn more.


_________
Want something on the XDA Portal? Send us a tip!
Jimmy McGee · Mar 4, 2015 at 06:00 am · no comments

Pixie Dust – XDA Game Time!

There are some excellent ‘AAA’ tier games by huge development houses that offer fun, and, most of the time, in-app purchases. There is no doubt that some of these games are great. However, at XDA we like to keep an eye on the little guy. Some of the more successful Android developers have started out as the little guy. Today we celebrate another simple game developed by an XDA member. XDA Senior Member Rolf Smit offers up a 2D sandbox...

XDA NEWS
Mario Tomás Serrafero · Mar 3, 2015 at 04:29 pm · 1 comment

Five New Forums for Latest Phones, Tablet and Smartwatch

The Galaxy S6 Edge, Huawei Watch, Xperia Z4 Tablet, Moto E 2015 and Xperia M4 Aqua all have gotten new forums here at XDA. If you want the latest and greatest in hardware as of now, the Galaxy S6 Edge's top-tier processor, memory, and camera will most likely fulfill your everyday needs with blazing speed, and extra screen-space to boot. Huawei seems to have nailed the smartwatch with their new Huawei Watch, a classy-looking but also durable and powerful Android Wear...

XDA NEWS
Mario Tomás Serrafero · Mar 3, 2015 at 04:00 pm · no comments

Cross-Platform Encrypted Messaging with Signal 2.0

Privacy and security are two increasingly important factors in today's globalized world, and with the surge of internet spying by government agencies and third parties, wiretaps are an everyday thing that don't just concern James Bond anymore. Encryption made its way to the semi-mainstream messaging world with the Telegram platform, but while millions flocked to it, it is still clear that convenience beats privacy for most of smartphone users. After all, with the huge user bases boasted by Whatsapp and the...

XDA NEWS
Share This