Lines Matching +full:bits +full:- +full:per +full:- +full:pixel

4  *  Copyright (C) 1999-2007 the contributors
46 * All kernel-specific stuff were moved to media/v4l2-dev.h, so
108 /* Four-character-code (FOURCC) */
125 buffer, top-bottom order */
126 V4L2_FIELD_SEQ_BT = 6, /* same as above + bottom-top order */
196 /* ITU-R 601 -- broadcast NTSC/PAL */
199 /* 1125-Line (US) HDTV */
205 /* broken BT878 extents (601, luma range 16-253 instead of 16-235) */
213 * unspecified chromaticities and full 0-255 on each of the
290 /* Pixel format FOURCC depth Description */
293 #define V4L2_PIX_FMT_RGB332 v4l2_fourcc('R', 'G', 'B', '1') /* 8 RGB-3-3-2 */
295 #define V4L2_PIX_FMT_RGB555 v4l2_fourcc('R', 'G', 'B', 'O') /* 16 RGB-5-5-5 */
296 #define V4L2_PIX_FMT_RGB565 v4l2_fourcc('R', 'G', 'B', 'P') /* 16 RGB-5-6-5 */
297 #define V4L2_PIX_FMT_RGB555X v4l2_fourcc('R', 'G', 'B', 'Q') /* 16 RGB-5-5-5 BE */
298 #define V4L2_PIX_FMT_RGB565X v4l2_fourcc('R', 'G', 'B', 'R') /* 16 RGB-5-6-5 BE */
299 #define V4L2_PIX_FMT_BGR24 v4l2_fourcc('B', 'G', 'R', '3') /* 24 BGR-8-8-8 */
300 #define V4L2_PIX_FMT_RGB24 v4l2_fourcc('R', 'G', 'B', '3') /* 24 RGB-8-8-8 */
301 #define V4L2_PIX_FMT_BGR32 v4l2_fourcc('B', 'G', 'R', '4') /* 32 BGR-8-8-8-8 */
302 #define V4L2_PIX_FMT_RGB32 v4l2_fourcc('R', 'G', 'B', '4') /* 32 RGB-8-8-8-8 */
310 #define V4L2_PIX_FMT_PAL8 v4l2_fourcc('P', 'A', 'L', '8') /* 8 8-bit palette */
324 #define V4L2_PIX_FMT_YUV555 v4l2_fourcc('Y', 'U', 'V', 'O') /* 16 YUV-5-5-5 */
325 #define V4L2_PIX_FMT_YUV565 v4l2_fourcc('Y', 'U', 'V', 'P') /* 16 YUV-5-6-5 */
326 #define V4L2_PIX_FMT_YUV32 v4l2_fourcc('Y', 'U', 'V', '4') /* 32 YUV-8-8-8-8 */
329 #define V4L2_PIX_FMT_HI240 v4l2_fourcc('H', 'I', '2', '4') /* 8 8-bit color */
332 /* two planes -- one Y, one Cr + Cb interleaved */
338 /* Bayer formats - see http://www.siliconimaging.com/RGB%20Bayer.htm */
347 /* 10bit raw bayer DPCM compressed to 8 bits */
350 * 10bit raw bayer, expanded to 16 bits
356 #define V4L2_PIX_FMT_MJPEG v4l2_fourcc('M', 'J', 'P', 'G') /* Motion-JPEG */
359 #define V4L2_PIX_FMT_MPEG v4l2_fourcc('M', 'P', 'E', 'G') /* MPEG-1/2/4 */
361 /* Vendor-specific formats */
369 #define V4L2_PIX_FMT_SPCA501 v4l2_fourcc('S', '5', '0', '1') /* YUYV per line */
370 #define V4L2_PIX_FMT_SPCA505 v4l2_fourcc('S', '5', '0', '5') /* YYUV per line */
371 #define V4L2_PIX_FMT_SPCA508 v4l2_fourcc('S', '5', '0', '8') /* YUVY per line */
409 __u32 width; /* Frame width [pixel] */
410 __u32 height; /* Frame height [pixel] */
414 __u32 min_width; /* Minimum frame width [pixel] */
415 __u32 max_width; /* Maximum frame width [pixel] */
416 __u32 step_width; /* Frame width step size [pixel] */
417 __u32 min_height; /* Minimum frame height [pixel] */
418 __u32 max_height; /* Maximum frame height [pixel] */
419 __u32 step_height; /* Frame height step size [pixel] */
424 __u32 pixel_format; /* Pixel format */
452 __u32 pixel_format; /* Pixel format */
487 #define V4L2_TC_FLAG_DROPFRAME 0x0001 /* "drop-frame" mode */
524 * M E M O R Y - M A P P I N G B U F F E R S
558 #define V4L2_BUF_FLAG_KEYFRAME 0x0008 /* Image is a keyframe (I-frame) */
559 #define V4L2_BUF_FLAG_PFRAME 0x0010 /* Image is a P-frame */
560 #define V4L2_BUF_FLAG_BFRAME 0x0020 /* Image is a B-frame */
614 struct v4l2_fract timeperframe; /* Time per frame in .1us units */
615 __u32 extendedmode; /* Driver-specific extensions */
627 struct v4l2_fract timeperframe; /* Time per frame in seconds */
628 __u32 extendedmode; /* Driver-specific extensions */
688 Although std_id is 64 bits, there is an issue on PPC32 architecture that
689 makes switch(__u64) to break. So, there's a hack on v4l2-common.c rounding
690 this value to 32 bits.
691 As, currently, the max value is for V4L2_STD_ATSC_16_VSB (30 bits wide),
693 v4l2-common.c should be fixed.
803 __u64 pixelclock; /* Pixel clock in HZ. Ex. 74.25MHz->74250000 */
862 /* field 'status' - general */
867 /* field 'status' - sensor orientation */
868 /* If sensor is mounted upside down set both bits */
872 /* field 'status' - analog */
876 /* field 'status' - digital */
881 /* field 'status' - VCR and set-top box */
942 #define V4L2_CTRL_CLASS_USER 0x00980000 /* Old-style 'user' controls */
943 #define V4L2_CTRL_CLASS_MPEG 0x00990000 /* MPEG-compression controls */
984 /* User-class control IDs defined by V4L2 */
1044 /* MPEG-class control IDs defined by V4L2 */
1051 V4L2_MPEG_STREAM_TYPE_MPEG2_PS = 0, /* MPEG-2 program stream */
1052 V4L2_MPEG_STREAM_TYPE_MPEG2_TS = 1, /* MPEG-2 transport stream */
1053 V4L2_MPEG_STREAM_TYPE_MPEG1_SS = 2, /* MPEG-1 system stream */
1054 V4L2_MPEG_STREAM_TYPE_MPEG2_DVD = 3, /* MPEG-2 DVD-compatible stream */
1055 V4L2_MPEG_STREAM_TYPE_MPEG1_VCD = 4, /* MPEG-1 VCD-compatible stream */
1056 V4L2_MPEG_STREAM_TYPE_MPEG2_SVCD = 5, /* MPEG-2 SVCD-compatible stream */
1215 /* MPEG-class control IDs specific to the CX2341x driver as defined by V4L2 */
1515 /* service_lines[0][...] specifies lines 0-23 (1-23 used) of the first field
1516 service_lines[1][...] specifies lines 0-23 (1-23 used) of the second field
1517 (equals frame lines 313-336 for 625 line video
1518 standards, 263-286 for 525 line standards) */
1525 (WST), defined on ITU-R BT.653-2 */
1529 /* Closed Caption, defined on EIA-608 */
1531 /* Wide Screen System, defined on ITU-R BT1119.1 */
1539 /* service_lines[0][...] specifies lines 0-23 (1-23 used) of the first field
1540 service_lines[1][...] specifies lines 0-23 (1-23 used) of the second field
1541 (equals frame lines 313-336 for 625 line video
1542 standards, 263-286 for 525 line standards) */
1551 __u32 line; /* 1-23 */
1564 * MPEG-2 Program Pack that contains V4L2_MPEG_STREAM_VBI_FMT_IVTV Sliced VBI
1567 * Note, the MPEG-2 Program Pack and Private Stream 1 PES packet header
1568 * definitions are not included here. See the MPEG-2 specifications for details
1616 __u8 raw_data[200]; /* user-defined */
1621 /* Stream type-dependent parameters
1628 __u8 raw_data[200]; /* user-defined */
1643 #define V4L2_CHIP_MATCH_I2C_ADDR 2 /* Match against I2C 7-bit address */
1664 __u32 ident; /* chip identifier as specified in <media/v4l2-chip-ident.h> */
1756 drivers/media/video/v4l2-compat-ioctl32.c as well! */
1768 #define BASE_VIDIOC_PRIVATE 192 /* 192-255 are private */