1. Yuvdroidtools
Recent projects relatively busy, long time no article, nor contribute to the open source community what, this weekend to tidy up a bit of their own maintenance of a ffmpeg based on the YUV format conversion code, wrote a simple Android YUV data viewing tool (code completely open source), as follows:
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/83/46/wKioL1duljChInDlAAEIeYSrGFI483.png "title=" Home.png "alt=" Wkiol1duljchindlaaeieysrgfi483.png "/>
Features are as follows:
(1) Support choose to import local files, support real-time display of YUV format pictures, easy to use.
(2) support a variety of YUV format, including: YU12, YV12, NV21, NV12, YUYV422, YVYU422, yuv422p, UYVY422 and so on.
(3) Support a variety of image conversion algorithms, including: Fast_bilinear, BILINEAR, Bicubic and so on.
As follows: Click to download
2. Common YUV Format
By the way. Popular YUV format permutations:
2.1 YUV420
(1) YU12, I420
YYYY YYYY UU VV
(2) YV12
YYYY YYYY VV UU
(3) NV12
YYYY YYYY UV UV
(4) NV21
YYYY YYYY vu Vu
2.2 YUV422
(1) Yuyv, YUY2
Yuyv yuyv yuyv Yuyv
(2) UYVY
UYVY UYVY UYVY UYVY
(3) yuv422p
YYYY YYYY uuuu VVVV
3. The source code of this project
The source code address of the APP is as follows: Https://github.com/Jhuster/YUVDroidTools, a variety of common YUV format files I also put a copy under the TestFiles folder of this project, make it easy for you to do the test.
The source code provides a YUV format conversion class Ffconverter, can be easily integrated into their own projects to use, its interface is defined as follows:
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/83/46/wKioL1dulrPh-o1aAAUXNXXtggI693.png "title=" Code.png "alt=" Wkiol1dulrph-o1aaauxnxxtggi693.png "/>
4. Summary
About Yuvdroidtools introduced here, welcome to pay attention to this project, welcome to contribute code for this project, also welcome messages or letters [email protected] exchange, or follow my Sina Weibo @ Lu _ June or the public number @Jhuster to obtain the latest articles and information.
650) this.width=650; "src=" http://s4.51cto.com/wyfs02/M01/83/47/wKiom1dultPzaSZdAACb8XAe6Uo409.jpg "title=" Weixin _jhuster.jpg "alt=" Wkiom1dultpzaszdaacb8xae6uo409.jpg "/>
This article is from the "jhuster column" blog, be sure to keep this source http://ticktick.blog.51cto.com/823160/1792923
An open-source Android YUV Format Viewing tool