X11 Window System : Matrix for color space conversion from RGB to YUV420P

Home

NameRGB to YUV420P
Version2019.07.07
Operating systemCentOS release 6.10 (Final)
Architecturesx86_64
RHEL base6.10
Kernel release2.6.32-754.el6.x86_64
Kernel version#1 SMP Tue Jun 19 21:26:04 UTC 2018
GNOME version2.28.2
Window System versionxorg-x11-server-1.17.4-17.el6.centos.x86_64
Web browserMozilla Firefox version: 52.8.0 64-bit
Compilergcc(GCC)4.4.7 20120313 (Red Hat 4.4.7-23)
IDELazarus Integrated Development Environment version: 2.0.0
ProcessorHyper Threads 8x Intel Xeon W3565 3.20 GHz
MemoryECC DDR3 1066 MHz 20 GB
Storage DeviceMirror RAID-1 Array 2x Seagate Baracuda 4 TB
Graphics Processor 1PixelView NVidia GeForce GT 440 2 GB
Graphics Processor 2Leadtek NVidia Quadro 2000 1 GB
Display Devices2x DELL U3011
Downloadrgbyuv420p

Description :

This program is used to view the best matrix for converting color space from RGB to YUV420P and vice versa.
The right matrix will produce a good video image.
The program will capture a 1000 x 750 area at posision 0 x 0 and will be replayed inViewer Window.
Image quality can be seen in theViewer Window.

Statistic Window :

A good matrix can be obtained if the values from the table inStatistic Windoware :
1.The best result if valueR G B Y U Vmin equal zero
2.The best result if valueR G B Y U Vmax equal 255
3.If value is more negative, the result will be more bad
4.If value is more than 255, the result will be more bad

Viewer Window :

How to change the size of the capture area ? Please resize of theViewer Window, it will be change the size of the capture area
How to change the position of the capture area ? Please click and dark inside of theViewer Window, it will be change the position of the capture area

X11 Window Server configuration :

Pad32
Unit32
FormatZPixmap
Bits per Pixel32
Depth24
Byte OrderLSB First
Bit OrderLSB First
Red Mask00FF0000
Green Mask0000FF00
Blue Mask000000FF

Requires dependencies :

libX11.so.6
librt.so.1
libm.so.6
libpthread.so.0
libc.so.6
libxcb.so.1
libdl.so.2
libXau.so.6
ld-linux-x86-64.so.2
linux-vdso.so.1

Original picture :


View with YUV420p format :


Statistic table window :


Matrix selector window :

Wait ... Loading