Lines Matching +full:m +full:- +full:jpeg

4  *  Copyright (C) 1999-2007 the contributors
46 * All kernel-specific stuff were moved to media/v4l2-dev.h, so
105 * M I S C E L L A N E O U S
108 /* Four-character-code (FOURCC) */
113 * E N U M S
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
277 * V I D E O I M A G E F O R M A T
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 */
330 #define V4L2_PIX_FMT_HM12 v4l2_fourcc('H', 'M', '1', '2') /* 8 YUV 4:2:0 16x16 macroblocks */
332 /* two planes -- one Y, one Cr + Cb interleaved */
338 /* Bayer formats - see http://www.siliconimaging.com/RGB%20Bayer.htm */
356 #define V4L2_PIX_FMT_MJPEG v4l2_fourcc('M', 'J', 'P', 'G') /* Motion-JPEG */
357 #define V4L2_PIX_FMT_JPEG v4l2_fourcc('J', 'P', 'E', 'G') /* JFIF JPEG */
359 #define V4L2_PIX_FMT_MPEG v4l2_fourcc('M', 'P', 'E', 'G') /* MPEG-1/2/4 */
361 /* Vendor-specific formats */
374 #define V4L2_PIX_FMT_MR97310A v4l2_fourcc('M', '3', '1', '0') /* compressed BGGR bayer */
377 #define V4L2_PIX_FMT_PJPG v4l2_fourcc('P', 'J', 'P', 'G') /* Pixart 73xx JPEG */
378 #define V4L2_PIX_FMT_OV511 v4l2_fourcc('O', '5', '1', '1') /* ov511 JPEG */
379 #define V4L2_PIX_FMT_OV518 v4l2_fourcc('O', '5', '1', '8') /* ov518 JPEG */
383 * F O R M A T E N U M E R A T I O N
400 * F R A M E S I Z E E N U M E R A T I O N
436 * F R A M E R A T E E N U M E R A T I O N
467 * T I M E C O D E
487 #define V4L2_TC_FLAG_DROPFRAME 0x0001 /* "drop-frame" mode */
499 int APP_len; /* Length of data in JPEG APPn segment */
500 char APP_data[60]; /* Data in the JPEG APPn segment. */
502 int COM_len; /* Length of data in JPEG COM segment */
503 char COM_data[60]; /* Data in JPEG COM segment */
505 __u32 jpeg_markers; /* Which markers should go into the JPEG
524 * M E M O R Y - M A P P I N G B U F F E R S
548 } m; member
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 */
609 * C A P T U R E P A R A M E T E R S
615 __u32 extendedmode; /* Driver-specific extensions */
628 __u32 extendedmode; /* Driver-specific extensions */
634 * I N P U T I M A G E C R O P P I N G
689 makes switch(__u64) to break. So, there's a hack on v4l2-common.c rounding
693 v4l2-common.c should be fixed.
751 * V I D E O T I M I N G S D V P R E S E T
759 * D V P R E S E T S E N U M E R A T I O N
776 #define V4L2_DV_720P24 3 /* SMPTE 296M */
777 #define V4L2_DV_720P25 4 /* SMPTE 296M */
778 #define V4L2_DV_720P30 5 /* SMPTE 296M */
779 #define V4L2_DV_720P50 6 /* SMPTE 296M */
780 #define V4L2_DV_720P59_94 7 /* SMPTE 274M */
781 #define V4L2_DV_720P60 8 /* SMPTE 274M/296M */
782 #define V4L2_DV_1080I29_97 9 /* BT.1120/ SMPTE 274M */
783 #define V4L2_DV_1080I30 10 /* BT.1120/ SMPTE 274M */
785 #define V4L2_DV_1080I50 12 /* SMPTE 296M */
786 #define V4L2_DV_1080I60 13 /* SMPTE 296M */
787 #define V4L2_DV_1080P24 14 /* SMPTE 296M */
788 #define V4L2_DV_1080P25 15 /* SMPTE 296M */
789 #define V4L2_DV_1080P30 16 /* SMPTE 296M */
794 * D V B T T I M I N G S
803 __u64 pixelclock; /* Pixel clock in HZ. Ex. 74.25MHz->74250000 */
862 /* field 'status' - general */
867 /* field 'status' - sensor orientation */
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 */
1436 * M P E G S E R V I C E S
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 */