From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 6 Jul 2001 13:24:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 6 Jul 2001 13:23:59 -0400 Received: from mailhst2.its.tudelft.nl ([130.161.34.250]:63497 "EHLO mailhst2.its.tudelft.nl") by vger.kernel.org with ESMTP id ; Fri, 6 Jul 2001 13:23:48 -0400 Date: Fri, 6 Jul 2001 19:22:32 +0200 From: Erik Mouw To: Linux kernel mailing list Cc: Linus Torvalds , Alan Cox Subject: [patch] Fix warnings in videobook Message-ID: <20010706192232.D25204@arthur.ubicom.tudelft.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: Eric Conspiracy Secret Labs X-Eric-Conspiracy: There is no conspiracy! Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi, This patch fixes the Jade SGML warnings when compiling the videobook: jade:videobook.sgml:182:34:E: character data is not allowed here jade:videobook.sgml:182:47:E: end tag for "ROW" which is not finished jade:videobook.sgml:182:50:E: document type does not allow element "TBODY" here; assuming missing "TGROUP" start-tag jade:videobook.sgml:182:50:E: required attribute "COLS" not specified jade:videobook.sgml:184:8:E: character data is not allowed here jade:videobook.sgml:186:42:E: end tag for element "ENTRY" which is not open jade:videobook.sgml:187:6:E: end tag for element "ROW" which is not open All of which can be fixed by changing <> into . Patch applies cleanly against 2.4.6, 2.4.7-pre3, and 2.4.6-ac1. Please apply, it even makes the tables visible :) Erik -- J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department of Electrical Engineering, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl WWW: http://www-ict.its.tudelft.nl/~erik/ Index: Documentation/DocBook/videobook.tmpl =================================================================== RCS file: /home/erik/cvsroot/elinux/Documentation/DocBook/videobook.tmpl,v retrieving revision 1.1.1.8 retrieving revision 1.1.1.8.28.1 diff -u -r1.1.1.8 -r1.1.1.8.28.1 --- Documentation/DocBook/videobook.tmpl 2001/02/20 16:52:53 1.1.1.8 +++ Documentation/DocBook/videobook.tmpl 2001/07/06 17:20:09 1.1.1.8.28.1 @@ -179,23 +179,23 @@ - VFL_TYPE_RADIO<>/dev/radio{n}<> + VFL_TYPE_RADIO/dev/radio{n} Radio devices are assigned in this block. As with all of these selections the actual number assignment is done by the video layer accordijng to what is free. - VFL_TYPE_GRABBER<>/dev/video{n}<> + VFL_TYPE_GRABBER/dev/video{n} Video capture devices and also -- counter-intuitively for the name -- hardware video playback devices such as MPEG2 cards. - VFL_TYPE_VBI<>/dev/vbi{n}<> + VFL_TYPE_VBI/dev/vbi{n} The VBI devices capture the hidden lines on a television picture that carry further information like closed caption data, teletext (primarily in Europe) and now Intercast and the ATVEC internet television encodings. - VFL_TYPE_VTX<>/dev/vtx[n}<> + VFL_TYPE_VTX/dev/vtx[n} VTX is 'Videotext' also known as 'Teletext'. This is a system for sending numbered, 40x25, mostly textual page images over the hidden lines. Unlike the /dev/vbi interfaces, this is for 'smart' decoder @@ -302,25 +302,25 @@ - name<>The device text name. This is intended for the user. + nameThe device text name. This is intended for the user. - channels<>The number of different channels you can tune on + channelsThe number of different channels you can tune on this card. It could even by zero for a card that has no tuning capability. For our simple FM radio it is 1. An AM/FM radio would report 2. - audios<>The number of audio inputs on this device. For our + audiosThe number of audio inputs on this device. For our radio there is only one audio input. - minwidth,minheight<>The smallest size the card is capable of capturing + minwidth,minheightThe smallest size the card is capable of capturing images in. We set these to zero. Radios do not capture pictures - maxwidth,maxheight<>The largest image size the card is capable of + maxwidth,maxheightThe largest image size the card is capable of capturing. For our radio we report 0. - type<>This reports the capabilities of the device, and + typeThis reports the capabilities of the device, and matches the field we filled in in the struct video_device when registering. @@ -415,7 +415,7 @@ VIDEO_TUNER_SECAMA SECAM (French) TV tuner - VIDEO_TUNER_LOW<> + VIDEO_TUNER_LOW The tuner frequency is scaled in 1/16th of a KHz steps. If not it is in 1/16th of a MHz steps @@ -432,13 +432,13 @@ - VIDEO_MODE_PAL<>PAL Format + VIDEO_MODE_PALPAL Format - VIDEO_MODE_NTSC<>NTSC Format (USA) + VIDEO_MODE_NTSCNTSC Format (USA) - VIDEO_MODE_SECAM<>French Format + VIDEO_MODE_SECAMFrench Format - VIDEO_MODE_AUTO<>A device that does not need to do + VIDEO_MODE_AUTOA device that does not need to do TV format switching @@ -583,30 +583,30 @@ - audio<>The input the user wishes to query + audioThe input the user wishes to query - volume<>The volume setting on a scale of 0-65535 + volumeThe volume setting on a scale of 0-65535 - base<>The base level on a scale of 0-65535 + baseThe base level on a scale of 0-65535 - treble<>The treble level on a scale of 0-65535 + trebleThe treble level on a scale of 0-65535 - flags<>The features this audio device supports + flagsThe features this audio device supports - name<>A text name to display to the user. We picked + nameA text name to display to the user. We picked "Radio" as it explains things quite nicely. - mode<>The current reception mode for the audio + modeThe current reception mode for the audio We report MONO because our card is too stupid to know if it is in mono or stereo. - balance<>The stereo balance on a scale of 0-65535, 32768 is + balanceThe stereo balance on a scale of 0-65535, 32768 is middle. - step<>The step by which the volume control jumps. This is + stepThe step by which the volume control jumps. This is used to help make it easy for applications to set slider behaviour. @@ -618,15 +618,15 @@ - VIDEO_AUDIO_MUTE<>The audio is currently muted. We + VIDEO_AUDIO_MUTEThe audio is currently muted. We could fake this in our driver but we choose not to bother. - VIDEO_AUDIO_MUTABLE<>The input has a mute option + VIDEO_AUDIO_MUTABLEThe input has a mute option - VIDEO_AUDIO_TREBLE<>The input has a treble control + VIDEO_AUDIO_TREBLEThe input has a treble control - VIDEO_AUDIO_BASS<>The input has a base control + VIDEO_AUDIO_BASSThe input has a base control @@ -636,13 +636,13 @@ - VIDEO_SOUND_MONO<>Mono sound + VIDEO_SOUND_MONOMono sound - VIDEO_SOUND_STEREO<>Stereo sound + VIDEO_SOUND_STEREOStereo sound - VIDEO_SOUND_LANG1<>Alternative language 1 (TV specific) + VIDEO_SOUND_LANG1Alternative language 1 (TV specific) - VIDEO_SOUND_LANG2<>Alternative language 2 (TV specific) + VIDEO_SOUND_LANG2Alternative language 2 (TV specific) @@ -867,33 +867,33 @@ -VID_TYPE_CAPTURE<>We support image capture +VID_TYPE_CAPTUREWe support image capture -VID_TYPE_TELETEXT<>A teletext capture device (vbi{n]) +VID_TYPE_TELETEXTA teletext capture device (vbi{n]) -VID_TYPE_OVERLAY<>The image can be directly overlaid onto the +VID_TYPE_OVERLAYThe image can be directly overlaid onto the frame buffer -VID_TYPE_CHROMAKEY<>Chromakey can be used to select which parts +VID_TYPE_CHROMAKEYChromakey can be used to select which parts of the image to display -VID_TYPE_CLIPPING<>It is possible to give the board a list of +VID_TYPE_CLIPPINGIt is possible to give the board a list of rectangles to draw around. -VID_TYPE_FRAMERAM<>The video capture goes into the video memory +VID_TYPE_FRAMERAMThe video capture goes into the video memory and actually changes it. Applications need to know this so they can clean up after the card -VID_TYPE_SCALES<>The image can be scaled to various sizes, +VID_TYPE_SCALESThe image can be scaled to various sizes, rather than being a single fixed size. -VID_TYPE_MONOCHROME<>The capture will be monochrome. This isn't a +VID_TYPE_MONOCHROMEThe capture will be monochrome. This isn't a complete answer to the question since a mono camera on a colour capture card will still produce mono output. -VID_TYPE_SUBCAPTURE<>The card allows only part of its field of +VID_TYPE_SUBCAPTUREThe card allows only part of its field of view to be captured. This enables applications to avoid copying all of a large image into memory when only some section is @@ -1209,18 +1209,18 @@ - channel<>The channel number we are selecting + channelThe channel number we are selecting - name<>The name for this channel. This is intended + nameThe name for this channel. This is intended to describe the port to the user. Appropriate names are therefore things like "Camera" "SCART input" - flags<>Channel properties + flagsChannel properties - type<>Input type + typeInput type - norm<>The current television encoding being used + normThe current television encoding being used if relevant for this channel. @@ -1231,9 +1231,9 @@ - VIDEO_VC_TUNER<>Channel has a tuner. + VIDEO_VC_TUNERChannel has a tuner. - VIDEO_VC_AUDIO<>Channel has audio. + VIDEO_VC_AUDIOChannel has audio. @@ -1242,11 +1242,11 @@ - VIDEO_TYPE_TV<>Television input. + VIDEO_TYPE_TVTelevision input. - VIDEO_TYPE_CAMERA<>Fixed camera input. + VIDEO_TYPE_CAMERAFixed camera input. - 0<>Type is unknown. + 0Type is unknown. @@ -1255,13 +1255,13 @@ - VIDEO_MODE_PAL<>PAL encoded Television + VIDEO_MODE_PALPAL encoded Television - VIDEO_MODE_NTSC<>NTSC (US) encoded Television + VIDEO_MODE_NTSCNTSC (US) encoded Television - VIDEO_MODE_SECAM<>SECAM (French) Television + VIDEO_MODE_SECAMSECAM (French) Television - VIDEO_MODE_AUTO<>Automatic switching, or format does not + VIDEO_MODE_AUTOAutomatic switching, or format does not matter @@ -1341,13 +1341,13 @@ - GREY<>Linear greyscale. This is for simple cameras and the + GREYLinear greyscale. This is for simple cameras and the like - RGB565<>The top 5 bits hold 32 red levels, the next six bits + RGB565The top 5 bits hold 32 red levels, the next six bits hold green and the low 5 bits hold blue. - RGB555<>The top bit is clear. The red green and blue levels + RGB555The top bit is clear. The red green and blue levels each occupy five bits. @@ -1479,32 +1479,32 @@ - width<>The width in pixels of the desired image. The card + widthThe width in pixels of the desired image. The card may use a smaller size if this size is not available - height<>The height of the image. The card may use a smaller + heightThe height of the image. The card may use a smaller size if this size is not available. - x<> The X position of the top left of the window. This + x The X position of the top left of the window. This is in pixels relative to the left hand edge of the picture. Not all cards can display images aligned on any pixel boundary. If the position is unsuitable the card adjusts the image right and reduces the width. - y<> The Y position of the top left of the window. This + y The Y position of the top left of the window. This is counted in pixels relative to the top edge of the picture. As with the width if the card cannot display starting on this line it will adjust the values. - chromakey<>The colour (expressed in RGB32 format) for the + chromakeyThe colour (expressed in RGB32 format) for the chromakey colour if chroma keying is being used. - clips<>An array of rectangles that must not be drawn + clipsAn array of rectangles that must not be drawn over. - clipcount<>The number of clips in this array. + clipcountThe number of clips in this array. @@ -1516,11 +1516,11 @@ - x, y<>Co-ordinates relative to the display + x, yCo-ordinates relative to the display - width, height<>Width and height in pixels + width, heightWidth and height in pixels - next<>A spare field for the application to use + nextA spare field for the application to use