1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"> 2 <HTML 3 ><HEAD 4 ><TITLE 5 >ioctl VIDIOC_ENUMSTD</TITLE 6 ><META 7 NAME="GENERATOR" 8 CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK 9 REL="HOME" 10 TITLE="Video for Linux Two API Specification" 11 HREF="book1.htm"><LINK 12 REL="UP" 13 TITLE="Function Reference" 14 HREF="r7624.htm"><LINK 15 REL="PREVIOUS" 16 TITLE="ioctl VIDIOC_ENUMOUTPUT" 17 HREF="r9149.htm"><LINK 18 REL="NEXT" 19 TITLE="ioctl VIDIOC_G_AUDIO, VIDIOC_S_AUDIO" 20 HREF="r9539.htm"></HEAD 21 ><BODY 22 CLASS="REFENTRY" 23 BGCOLOR="#FFFFFF" 24 TEXT="#000000" 25 LINK="#0000FF" 26 VLINK="#840084" 27 ALINK="#0000FF" 28 ><DIV 29 CLASS="NAVHEADER" 30 ><TABLE 31 SUMMARY="Header navigation table" 32 WIDTH="100%" 33 BORDER="0" 34 CELLPADDING="0" 35 CELLSPACING="0" 36 ><TR 37 ><TH 38 COLSPAN="3" 39 ALIGN="center" 40 >Video for Linux Two API Specification: Revision 0.24</TH 41 ></TR 42 ><TR 43 ><TD 44 WIDTH="10%" 45 ALIGN="left" 46 VALIGN="bottom" 47 ><A 48 HREF="r9149.htm" 49 ACCESSKEY="P" 50 >Prev</A 51 ></TD 52 ><TD 53 WIDTH="80%" 54 ALIGN="center" 55 VALIGN="bottom" 56 ></TD 57 ><TD 58 WIDTH="10%" 59 ALIGN="right" 60 VALIGN="bottom" 61 ><A 62 HREF="r9539.htm" 63 ACCESSKEY="N" 64 >Next</A 65 ></TD 66 ></TR 67 ></TABLE 68 ><HR 69 ALIGN="LEFT" 70 WIDTH="100%"></DIV 71 ><H1 72 ><A 73 NAME="VIDIOC-ENUMSTD" 74 ></A 75 >ioctl VIDIOC_ENUMSTD</H1 76 ><DIV 77 CLASS="REFNAMEDIV" 78 ><A 79 NAME="AEN9292" 80 ></A 81 ><H2 82 >Name</H2 83 >VIDIOC_ENUMSTD -- Enumerate supported video standards</DIV 84 ><DIV 85 CLASS="REFSYNOPSISDIV" 86 ><A 87 NAME="AEN9295" 88 ></A 89 ><H2 90 >Synopsis</H2 91 ><DIV 92 CLASS="FUNCSYNOPSIS" 93 ><P 94 ></P 95 ><A 96 NAME="AEN9296" 97 ></A 98 ><P 99 ><CODE 100 ><CODE 101 CLASS="FUNCDEF" 102 >int ioctl</CODE 103 >(int fd, int request, struct v4l2_standard *argp);</CODE 104 ></P 105 ><P 106 ></P 107 ></DIV 108 ></DIV 109 ><DIV 110 CLASS="REFSECT1" 111 ><A 112 NAME="AEN9306" 113 ></A 114 ><H2 115 >Arguments</H2 116 ><P 117 ></P 118 ><DIV 119 CLASS="VARIABLELIST" 120 ><DL 121 ><DT 122 ><CODE 123 CLASS="PARAMETER" 124 >fd</CODE 125 ></DT 126 ><DD 127 ><P 128 >File descriptor returned by <A 129 HREF="r14090.htm" 130 ><CODE 131 CLASS="FUNCTION" 132 >open()</CODE 133 ></A 134 >.</P 135 ></DD 136 ><DT 137 ><CODE 138 CLASS="PARAMETER" 139 >request</CODE 140 ></DT 141 ><DD 142 ><P 143 >VIDIOC_ENUMSTD</P 144 ></DD 145 ><DT 146 ><CODE 147 CLASS="PARAMETER" 148 >argp</CODE 149 ></DT 150 ><DD 151 ><P 152 ></P 153 ></DD 154 ></DL 155 ></DIV 156 ></DIV 157 ><DIV 158 CLASS="REFSECT1" 159 ><A 160 NAME="AEN9326" 161 ></A 162 ><H2 163 >Description</H2 164 ><P 165 >To query the attributes of a video standard, 166 especially a custom (driver defined) one, applications initialize the 167 <CODE 168 CLASS="STRUCTFIELD" 169 >index</CODE 170 > field of struct <A 171 HREF="r9288.htm#V4L2-STANDARD" 172 >v4l2_standard</A 173 > and call the 174 <CODE 175 CLASS="CONSTANT" 176 >VIDIOC_ENUMSTD</CODE 177 > ioctl with a pointer to this 178 structure. Drivers fill the rest of the structure or return an 179 <SPAN 180 CLASS="ERRORCODE" 181 >EINVAL</SPAN 182 > error code when the index is out of bounds. To enumerate all standards 183 applications shall begin at index zero, incrementing by one until the 184 driver returns <SPAN 185 CLASS="ERRORCODE" 186 >EINVAL</SPAN 187 >. Drivers may enumerate a 188 different set of standards after switching the video input or 189 output.<A 190 NAME="AEN9334" 191 HREF="r9288.htm#FTN.AEN9334" 192 ><SPAN 193 CLASS="footnote" 194 >[1]</SPAN 195 ></A 196 ></P 197 ><DIV 198 CLASS="TABLE" 199 ><A 200 NAME="V4L2-STANDARD" 201 ></A 202 ><P 203 ><B 204 >Table 1. struct <CODE 205 CLASS="STRUCTNAME" 206 >v4l2_standard</CODE 207 ></B 208 ></P 209 ><TABLE 210 BORDER="0" 211 FRAME="void" 212 WIDTH="100%" 213 CLASS="CALSTABLE" 214 ><COL 215 WIDTH="25%" 216 TITLE="C1"><COL 217 WIDTH="25%" 218 TITLE="C2"><COL 219 WIDTH="50%" 220 TITLE="C3"><TBODY 221 VALIGN="TOP" 222 ><TR 223 ><TD 224 >__u32</TD 225 ><TD 226 ><CODE 227 CLASS="STRUCTFIELD" 228 >index</CODE 229 ></TD 230 ><TD 231 >Number of the video standard, set by the 232 application.</TD 233 ></TR 234 ><TR 235 ><TD 236 ><A 237 HREF="r9288.htm#V4L2-STD-ID" 238 >v4l2_std_id</A 239 ></TD 240 ><TD 241 ><CODE 242 CLASS="STRUCTFIELD" 243 >id</CODE 244 ></TD 245 ><TD 246 >The bits in this field identify the standard as 247 one of the common standards listed in <A 248 HREF="r9288.htm#V4L2-STD-ID" 249 >Table 3</A 250 >, 251 or if bits 32 to 63 are set as custom standards. Multiple bits can be 252 set if the hardware does not distinguish between these standards, 253 however separate indices do not indicate the opposite. The 254 <CODE 255 CLASS="STRUCTFIELD" 256 >id</CODE 257 > must be unique. No other enumerated 258 <CODE 259 CLASS="STRUCTNAME" 260 >v4l2_standard</CODE 261 > structure, for this input or 262 output anyway, can contain the same set of bits.</TD 263 ></TR 264 ><TR 265 ><TD 266 >__u8</TD 267 ><TD 268 ><CODE 269 CLASS="STRUCTFIELD" 270 >name</CODE 271 >[24]</TD 272 ><TD 273 >Name of the standard, a NUL-terminated ASCII 274 string, for example: "PAL-B/G", "NTSC Japan". This information is 275 intended for the user.</TD 276 ></TR 277 ><TR 278 ><TD 279 >struct <A 280 HREF="r9288.htm#V4L2-FRACT" 281 >v4l2_fract</A 282 ></TD 283 ><TD 284 ><CODE 285 CLASS="STRUCTFIELD" 286 >frameperiod</CODE 287 ></TD 288 ><TD 289 >The frame period (not field period) is numerator 290 / denominator. For example M/NTSC has a frame period of 1001 / 291 30000 seconds.</TD 292 ></TR 293 ><TR 294 ><TD 295 >__u32</TD 296 ><TD 297 ><CODE 298 CLASS="STRUCTFIELD" 299 >framelines</CODE 300 ></TD 301 ><TD 302 >Total lines per frame including blanking, 303 e. g. 625 for B/PAL.</TD 304 ></TR 305 ><TR 306 ><TD 307 >__u32</TD 308 ><TD 309 ><CODE 310 CLASS="STRUCTFIELD" 311 >reserved</CODE 312 >[4]</TD 313 ><TD 314 >Reserved for future extensions. Drivers must set 315 the array to zero.</TD 316 ></TR 317 ></TBODY 318 ></TABLE 319 ></DIV 320 ><DIV 321 CLASS="TABLE" 322 ><A 323 NAME="V4L2-FRACT" 324 ></A 325 ><P 326 ><B 327 >Table 2. struct <CODE 328 CLASS="STRUCTNAME" 329 >v4l2_fract</CODE 330 ></B 331 ></P 332 ><TABLE 333 BORDER="0" 334 FRAME="void" 335 WIDTH="100%" 336 CLASS="CALSTABLE" 337 ><COL 338 WIDTH="25%" 339 TITLE="C1"><COL 340 WIDTH="25%" 341 TITLE="C2"><COL 342 WIDTH="50%" 343 TITLE="C3"><TBODY 344 VALIGN="TOP" 345 ><TR 346 ><TD 347 >__u32</TD 348 ><TD 349 ><CODE 350 CLASS="STRUCTFIELD" 351 >numerator</CODE 352 ></TD 353 ><TD 354 > </TD 355 ></TR 356 ><TR 357 ><TD 358 >__u32</TD 359 ><TD 360 ><CODE 361 CLASS="STRUCTFIELD" 362 >denominator</CODE 363 ></TD 364 ><TD 365 > </TD 366 ></TR 367 ></TBODY 368 ></TABLE 369 ></DIV 370 ><DIV 371 CLASS="TABLE" 372 ><A 373 NAME="V4L2-STD-ID" 374 ></A 375 ><P 376 ><B 377 >Table 3. typedef <CODE 378 CLASS="STRUCTNAME" 379 >v4l2_std_id</CODE 380 ></B 381 ></P 382 ><TABLE 383 BORDER="0" 384 FRAME="void" 385 WIDTH="100%" 386 CLASS="CALSTABLE" 387 ><COL 388 WIDTH="25%" 389 TITLE="C1"><COL 390 WIDTH="25%" 391 TITLE="C2"><COL 392 WIDTH="50%" 393 TITLE="C3"><TBODY 394 VALIGN="TOP" 395 ><TR 396 ><TD 397 >__u64</TD 398 ><TD 399 ><CODE 400 CLASS="STRUCTFIELD" 401 >v4l2_std_id</CODE 402 ></TD 403 ><TD 404 >This type is a set, each bit representing another 405 video standard as listed below and in <A 406 HREF="r9288.htm#VIDEO-STANDARDS" 407 >Table 4</A 408 >. The 32 most significant bits are reserved 409 for custom (driver defined) video standards.</TD 410 ></TR 411 ></TBODY 412 ></TABLE 413 ></DIV 414 ><P 415 ><PRE 416 CLASS="PROGRAMLISTING" 417 >#define V4L2_STD_PAL_B ((v4l2_std_id)0x00000001) 418 #define V4L2_STD_PAL_B1 ((v4l2_std_id)0x00000002) 419 #define V4L2_STD_PAL_G ((v4l2_std_id)0x00000004) 420 #define V4L2_STD_PAL_H ((v4l2_std_id)0x00000008) 421 #define V4L2_STD_PAL_I ((v4l2_std_id)0x00000010) 422 #define V4L2_STD_PAL_D ((v4l2_std_id)0x00000020) 423 #define V4L2_STD_PAL_D1 ((v4l2_std_id)0x00000040) 424 #define V4L2_STD_PAL_K ((v4l2_std_id)0x00000080) 425 426 #define V4L2_STD_PAL_M ((v4l2_std_id)0x00000100) 427 #define V4L2_STD_PAL_N ((v4l2_std_id)0x00000200) 428 #define V4L2_STD_PAL_Nc ((v4l2_std_id)0x00000400) 429 #define V4L2_STD_PAL_60 ((v4l2_std_id)0x00000800)</PRE 430 ></P 431 ><P 432 ><CODE 433 CLASS="CONSTANT" 434 >V4L2_STD_PAL_60</CODE 435 > is 436 a hybrid standard with 525 lines, 60 Hz refresh rate, and PAL color 437 modulation with a 4.43 MHz color subcarrier. Some PAL video recorders 438 can play back NTSC tapes in this mode for display on a 50/60 Hz agnostic 439 PAL TV.</P 440 ><P 441 ><PRE 442 CLASS="PROGRAMLISTING" 443 >#define V4L2_STD_NTSC_M ((v4l2_std_id)0x00001000) 444 #define V4L2_STD_NTSC_M_JP ((v4l2_std_id)0x00002000) 445 #define V4L2_STD_NTSC_443 ((v4l2_std_id)0x00004000)</PRE 446 ></P 447 ><P 448 ><CODE 449 CLASS="CONSTANT" 450 >V4L2_STD_NTSC_443</CODE 451 > 452 is a hybrid standard with 525 lines, 60 Hz refresh rate, and NTSC 453 color modulation with a 4.43 MHz color 454 subcarrier.</P 455 ><P 456 ><PRE 457 CLASS="PROGRAMLISTING" 458 >#define V4L2_STD_NTSC_M_KR ((v4l2_std_id)0x00008000) 459 460 #define V4L2_STD_SECAM_B ((v4l2_std_id)0x00010000) 461 #define V4L2_STD_SECAM_D ((v4l2_std_id)0x00020000) 462 #define V4L2_STD_SECAM_G ((v4l2_std_id)0x00040000) 463 #define V4L2_STD_SECAM_H ((v4l2_std_id)0x00080000) 464 #define V4L2_STD_SECAM_K ((v4l2_std_id)0x00100000) 465 #define V4L2_STD_SECAM_K1 ((v4l2_std_id)0x00200000) 466 #define V4L2_STD_SECAM_L ((v4l2_std_id)0x00400000) 467 #define V4L2_STD_SECAM_LC ((v4l2_std_id)0x00800000) 468 469 /* ATSC/HDTV */ 470 #define V4L2_STD_ATSC_8_VSB ((v4l2_std_id)0x01000000) 471 #define V4L2_STD_ATSC_16_VSB ((v4l2_std_id)0x02000000)</PRE 472 ></P 473 ><P 474 ><CODE 475 CLASS="CONSTANT" 476 >V4L2_STD_ATSC_8_VSB</CODE 477 > and 478 <CODE 479 CLASS="CONSTANT" 480 >V4L2_STD_ATSC_16_VSB</CODE 481 > are U.S. terrestrial digital 482 TV standards. Presently the V4L2 API does not support digital TV. See 483 also the Linux DVB API at <A 484 HREF="http://linuxtv.org" 485 TARGET="_top" 486 >http://linuxtv.org</A 487 >.</P 488 ><P 489 ><PRE 490 CLASS="PROGRAMLISTING" 491 >#define V4L2_STD_PAL_BG (V4L2_STD_PAL_B |\ 492 V4L2_STD_PAL_B1 |\ 493 V4L2_STD_PAL_G) 494 #define V4L2_STD_B (V4L2_STD_PAL_B |\ 495 V4L2_STD_PAL_B1 |\ 496 V4L2_STD_SECAM_B) 497 #define V4L2_STD_GH (V4L2_STD_PAL_G |\ 498 V4L2_STD_PAL_H |\ 499 V4L2_STD_SECAM_G |\ 500 V4L2_STD_SECAM_H) 501 #define V4L2_STD_PAL_DK (V4L2_STD_PAL_D |\ 502 V4L2_STD_PAL_D1 |\ 503 V4L2_STD_PAL_K) 504 #define V4L2_STD_PAL (V4L2_STD_PAL_BG |\ 505 V4L2_STD_PAL_DK |\ 506 V4L2_STD_PAL_H |\ 507 V4L2_STD_PAL_I) 508 #define V4L2_STD_NTSC (V4L2_STD_NTSC_M |\ 509 V4L2_STD_NTSC_M_JP |\ 510 V4L2_STD_NTSC_M_KR) 511 #define V4L2_STD_MN (V4L2_STD_PAL_M |\ 512 V4L2_STD_PAL_N |\ 513 V4L2_STD_PAL_Nc |\ 514 V4L2_STD_NTSC) 515 #define V4L2_STD_SECAM_DK (V4L2_STD_SECAM_D |\ 516 V4L2_STD_SECAM_K |\ 517 V4L2_STD_SECAM_K1) 518 #define V4L2_STD_DK (V4L2_STD_PAL_DK |\ 519 V4L2_STD_SECAM_DK) 520 521 #define V4L2_STD_SECAM (V4L2_STD_SECAM_B |\ 522 V4L2_STD_SECAM_G |\ 523 V4L2_STD_SECAM_H |\ 524 V4L2_STD_SECAM_DK |\ 525 V4L2_STD_SECAM_L |\ 526 V4L2_STD_SECAM_LC) 527 528 #define V4L2_STD_525_60 (V4L2_STD_PAL_M |\ 529 V4L2_STD_PAL_60 |\ 530 V4L2_STD_NTSC |\ 531 V4L2_STD_NTSC_443) 532 #define V4L2_STD_625_50 (V4L2_STD_PAL |\ 533 V4L2_STD_PAL_N |\ 534 V4L2_STD_PAL_Nc |\ 535 V4L2_STD_SECAM) 536 537 #define V4L2_STD_UNKNOWN 0 538 #define V4L2_STD_ALL (V4L2_STD_525_60 |\ 539 V4L2_STD_625_50)</PRE 540 ></P 541 ><DIV 542 CLASS="TABLE" 543 ><A 544 NAME="VIDEO-STANDARDS" 545 ></A 546 ><P 547 ><B 548 >Table 4. Video Standards (based on [<A 549 HREF="b17127.htm#ITU470" 550 ><ABBR 551 CLASS="ABBREV" 552 >ITU BT.470</ABBR 553 ></A 554 >])</B 555 ></P 556 ><TABLE 557 BORDER="1" 558 RULES="all" 559 WIDTH="100%" 560 CLASS="CALSTABLE" 561 ><COL 562 WIDTH="12%" 563 ALIGN="LEFT" 564 TITLE="C1"><COL 565 WIDTH="12%" 566 TITLE="C2"><COL 567 WIDTH="12%" 568 TITLE="C3"><COL 569 WIDTH="12%" 570 TITLE="C4"><COL 571 WIDTH="12%" 572 TITLE="C5"><COL><COL 573 WIDTH="12%" 574 TITLE="C7"><COL><COL 575 WIDTH="12%" 576 TITLE="C9"><COL><COL><COL 577 WIDTH="12%" 578 TITLE="C12"><THEAD 579 ><TR 580 ><TH 581 >Characteristics</TH 582 ><TH 583 ><P 584 >M/NTSC<SUP 585 >a</SUP 586 ></P 587 ></TH 588 ><TH 589 >M/PAL</TH 590 ><TH 591 ><P 592 >N/PAL<SUP 593 >b</SUP 594 ></P 595 ></TH 596 ><TH 597 ALIGN="CENTER" 598 >B, B1, G/PAL</TH 599 ><TH 600 ALIGN="CENTER" 601 >D, D1, K/PAL</TH 602 ><TH 603 ALIGN="CENTER" 604 >H/PAL</TH 605 ><TH 606 ALIGN="CENTER" 607 >I/PAL</TH 608 ><TH 609 ALIGN="CENTER" 610 >B, G/SECAM</TH 611 ><TH 612 ALIGN="CENTER" 613 >D, K/SECAM</TH 614 ><TH 615 ALIGN="CENTER" 616 >K1/SECAM</TH 617 ><TH 618 ALIGN="CENTER" 619 >L/SECAM</TH 620 ></TR 621 ></THEAD 622 ><TBODY 623 VALIGN="TOP" 624 ><TR 625 ><TD 626 >Frame lines</TD 627 ><TD 628 COLSPAN="2" 629 ALIGN="CENTER" 630 >525</TD 631 ><TD 632 COLSPAN="9" 633 ALIGN="CENTER" 634 >625</TD 635 ></TR 636 ><TR 637 ><TD 638 >Frame period (s)</TD 639 ><TD 640 COLSPAN="2" 641 ALIGN="CENTER" 642 >1001/30000</TD 643 ><TD 644 COLSPAN="9" 645 ALIGN="CENTER" 646 >1/25</TD 647 ></TR 648 ><TR 649 ><TD 650 >Chrominance sub-carrier frequency (Hz)</TD 651 ><TD 652 >3579545 ± 10</TD 653 ><TD 654 >3579611.49 ± 10</TD 655 ><TD 656 >4433618.75 ± 5 (3582056.25 657 ± 5)</TD 658 ><TD 659 COLSPAN="3" 660 ALIGN="CENTER" 661 >4433618.75 ± 5</TD 662 ><TD 663 >4433618.75 ± 1</TD 664 ><TD 665 COLSPAN="4" 666 ALIGN="CENTER" 667 >f<SUB 668 >OR</SUB 669 > = 670 4406250 ± 2000, f<SUB 671 >OB</SUB 672 > = 4250000 673 ± 2000</TD 674 ></TR 675 ><TR 676 ><TD 677 >Nominal radio-frequency channel bandwidth 678 (MHz)</TD 679 ><TD 680 >6</TD 681 ><TD 682 >6</TD 683 ><TD 684 >6</TD 685 ><TD 686 >B: 7; B1, G: 8</TD 687 ><TD 688 >8</TD 689 ><TD 690 >8</TD 691 ><TD 692 >8</TD 693 ><TD 694 >8</TD 695 ><TD 696 >8</TD 697 ><TD 698 >8</TD 699 ><TD 700 >8</TD 701 ></TR 702 ><TR 703 ><TD 704 >Sound carrier relative to vision carrier 705 (MHz)</TD 706 ><TD 707 >+ 4.5</TD 708 ><TD 709 >+ 4.5</TD 710 ><TD 711 >+ 4.5</TD 712 ><TD 713 ><P 714 >+ 5.5 ± 0.001 715 <SUP 716 >c</SUP 717 > <SUP 718 >d</SUP 719 > <SUP 720 >e</SUP 721 > <SUP 722 >f</SUP 723 ></P 724 ></TD 725 ><TD 726 >+ 6.5 ± 0.001</TD 727 ><TD 728 >+ 5.5</TD 729 ><TD 730 >+ 5.9996 ± 0.0005</TD 731 ><TD 732 >+ 5.5 ± 0.001</TD 733 ><TD 734 >+ 6.5 ± 0.001</TD 735 ><TD 736 >+ 6.5</TD 737 ><TD 738 ><P 739 >+ 6.5 <SUP 740 >g</SUP 741 ></P 742 ></TD 743 ></TR 744 ></TBODY 745 ><TR 746 ><TD 747 COLSPAN="12" 748 >Notes:<BR><A 749 NAME="FTN.AEN9452" 750 >a. </A 751 >Japan uses a standard 752 similar to M/NTSC 753 (V4L2_STD_NTSC_M_JP).<BR><A 754 NAME="FTN.AEN9457" 755 >b. </A 756 > The values in 757 brackets apply to the combination N/PAL a.k.a. 758 N<SUB 759 >C</SUB 760 > used in Argentina 761 (V4L2_STD_PAL_Nc).<BR><A 762 NAME="FTN.AEN9507" 763 >c. </A 764 >In the Federal Republic of Germany, Austria, Italy, 765 the Netherlands, Slovakia and Switzerland a system of two sound 766 carriers is used, the frequency of the second carrier being 767 242.1875 kHz above the frequency of the first sound carrier. For 768 stereophonic sound transmissions a similar system is used in 769 Australia.<BR><A 770 NAME="FTN.AEN9509" 771 >d. </A 772 >New Zealand uses a sound 773 carrier displaced 5.4996 ± 0.0005 MHz from the vision 774 carrier.<BR><A 775 NAME="FTN.AEN9511" 776 >e. </A 777 >In Denmark, Finland, New 778 Zealand, Sweden and Spain a system of two sound carriers is used. In 779 Iceland, Norway and Poland the same system is being introduced. The 780 second carrier is 5.85 MHz above the vision carrier and is DQPSK 781 modulated with 728 kbit/s sound and data multiplex. (NICAM 782 system)<BR><A 783 NAME="FTN.AEN9513" 784 >f. </A 785 >In the United Kingdom, a 786 system of two sound carriers is used. The second sound carrier is 787 6.552 MHz above the vision carrier and is DQPSK modulated with a 788 728 kbit/s sound and data multiplex able to carry two sound 789 channels. (NICAM system)<BR><A 790 NAME="FTN.AEN9523" 791 >g. </A 792 >In France, a 793 digital carrier 5.85 MHz away from the vision carrier may be used in 794 addition to the main sound carrier. It is modulated in differentially 795 encoded QPSK with a 728 kbit/s sound and data multiplexer capable of 796 carrying two sound channels. (NICAM 797 system)<BR></TD 798 ></TR 799 ></TABLE 800 ></DIV 801 ></DIV 802 ><DIV 803 CLASS="REFSECT1" 804 ><A 805 NAME="AEN9525" 806 ></A 807 ><H2 808 >Return Value</H2 809 ><P 810 >On success <SPAN 811 CLASS="RETURNVALUE" 812 >0</SPAN 813 > is returned, on error <SPAN 814 CLASS="RETURNVALUE" 815 >-1</SPAN 816 > and the <CODE 817 CLASS="VARNAME" 818 >errno</CODE 819 > variable is set appropriately:</P 820 ><P 821 ></P 822 ><DIV 823 CLASS="VARIABLELIST" 824 ><DL 825 ><DT 826 ><SPAN 827 CLASS="ERRORCODE" 828 >EINVAL</SPAN 829 ></DT 830 ><DD 831 ><P 832 >The struct <A 833 HREF="r9288.htm#V4L2-STANDARD" 834 >v4l2_standard</A 835 > <CODE 836 CLASS="STRUCTFIELD" 837 >index</CODE 838 > 839 is out of bounds.</P 840 ></DD 841 ></DL 842 ></DIV 843 ></DIV 844 ><H2 845 CLASS="FOOTNOTES" 846 >Notes</H2 847 ><TABLE 848 BORDER="0" 849 CLASS="FOOTNOTES" 850 WIDTH="100%" 851 ><TR 852 ><TD 853 ALIGN="LEFT" 854 VALIGN="TOP" 855 WIDTH="5%" 856 ><A 857 NAME="FTN.AEN9334" 858 HREF="r9288.htm#AEN9334" 859 ><SPAN 860 CLASS="footnote" 861 >[1]</SPAN 862 ></A 863 ></TD 864 ><TD 865 ALIGN="LEFT" 866 VALIGN="TOP" 867 WIDTH="95%" 868 ><P 869 >The supported standards may overlap and we need an 870 unambiguous set to find the current standard returned by 871 <CODE 872 CLASS="CONSTANT" 873 >VIDIOC_G_STD</CODE 874 >.</P 875 ></TD 876 ></TR 877 ></TABLE 878 ><DIV 879 CLASS="NAVFOOTER" 880 ><HR 881 ALIGN="LEFT" 882 WIDTH="100%"><TABLE 883 SUMMARY="Footer navigation table" 884 WIDTH="100%" 885 BORDER="0" 886 CELLPADDING="0" 887 CELLSPACING="0" 888 ><TR 889 ><TD 890 WIDTH="33%" 891 ALIGN="left" 892 VALIGN="top" 893 ><A 894 HREF="r9149.htm" 895 ACCESSKEY="P" 896 >Prev</A 897 ></TD 898 ><TD 899 WIDTH="34%" 900 ALIGN="center" 901 VALIGN="top" 902 ><A 903 HREF="book1.htm" 904 ACCESSKEY="H" 905 >Home</A 906 ></TD 907 ><TD 908 WIDTH="33%" 909 ALIGN="right" 910 VALIGN="top" 911 ><A 912 HREF="r9539.htm" 913 ACCESSKEY="N" 914 >Next</A 915 ></TD 916 ></TR 917 ><TR 918 ><TD 919 WIDTH="33%" 920 ALIGN="left" 921 VALIGN="top" 922 >ioctl VIDIOC_ENUMOUTPUT</TD 923 ><TD 924 WIDTH="34%" 925 ALIGN="center" 926 VALIGN="top" 927 ><A 928 HREF="r7624.htm" 929 ACCESSKEY="U" 930 >Up</A 931 ></TD 932 ><TD 933 WIDTH="33%" 934 ALIGN="right" 935 VALIGN="top" 936 >ioctl VIDIOC_G_AUDIO, VIDIOC_S_AUDIO</TD 937 ></TR 938 ></TABLE 939 ></DIV 940 ></BODY 941 ></HTML 942 > 943