Difference between revisions of "Pixel formats"

From MyLabWiki
Jump to: navigation, search
Line 10: Line 10:
 
| YUYV
 
| YUYV
 
| [http://fourcc.org/yuv.php#YUY2 YUY2]
 
| [http://fourcc.org/yuv.php#YUY2 YUY2]
| [http://v4l2spec.bytesex.org/spec/r4339.htm V4L2_PIX_FMT_YUYV ('YUYV')]
+
| [http://v4l2spec.bytesex.org/spec/r4339.htm V4L2_PIX_FMT_YUYV (YUYV)]
 
| packed
 
| packed
 
| video/x-raw-yuv,format=(fourcc)YUY2
 
| video/x-raw-yuv,format=(fourcc)YUY2
Line 22: Line 22:
 
| RGB3
 
| RGB3
 
|
 
|
|  
+
| [http://v4l2spec.bytesex.org/spec/r2492.htm V4L2_PIX_FMT_RGB24 (RGB3)]
 
| packed
 
| packed
 
| video/x-raw-rgb,format=RGB3
 
| video/x-raw-rgb,format=RGB3
Line 28: Line 28:
 
| BGR3
 
| BGR3
 
|
 
|
|
+
| [http://v4l2spec.bytesex.org/spec/r2492.htm V4L2_PIX_FMT_BGR24 (BGR3)]
 
| packed
 
| packed
 
| video/x-raw-rgb,format=BGR3
 
| video/x-raw-rgb,format=BGR3
Line 34: Line 34:
 
| YU12
 
| YU12
 
| [http://fourcc.org/yuv.php#IYUV I420]
 
| [http://fourcc.org/yuv.php#IYUV I420]
| [http://v4l2spec.bytesex.org/spec/r4850.htm V4L2_PIX_FMT_YUV420 ('YU12')]
+
| [http://v4l2spec.bytesex.org/spec/r4850.htm V4L2_PIX_FMT_YUV420 (YU12)]
 
| planar
 
| planar
 
| video/x-raw-yuv,format=(fourcc)I420
 
| video/x-raw-yuv,format=(fourcc)I420

Revision as of 19:47, 27 August 2010

Currently, this only covers my Logitech cameras.

Camera Fourcc V4L2 Type Gstreamer caps
YUYV YUY2 V4L2_PIX_FMT_YUYV (YUYV) packed video/x-raw-yuv,format=(fourcc)YUY2
MJPG compressed image/jpeg
RGB3 V4L2_PIX_FMT_RGB24 (RGB3) packed video/x-raw-rgb,format=RGB3
BGR3 V4L2_PIX_FMT_BGR24 (BGR3) packed video/x-raw-rgb,format=BGR3
YU12 I420 V4L2_PIX_FMT_YUV420 (YU12) planar video/x-raw-yuv,format=(fourcc)I420
YV12 YV12 V4L2_PIX_FMT_YVU420 ('YV12') planar video/x-raw-yuv,format=(fourcc)YV12

References