home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / videotlk.zip / SAMPLES / EX5 / EX5.INF (.txt) < prev    next >
OS/2 Help File  |  1995-10-23  |  10KB  |  240 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Introduction ΓòÉΓòÉΓòÉ
  3.  
  4.  This example Presentation Manager Application was written by Abbotsbury 
  5. Software Ltd. to support the use of the Hauppage Computer Works Inc. Celebrity 
  6. TV card under the IBM OS/2 Warp v3 operating system. 
  7.  
  8. This example application is the Hello World application plus a remote control, 
  9. tuning facilities, single frame capture and invoking a setup notebook for use 
  10. with the Hauppauge Win/TV Video Capture Adapters. The remote control is invoked 
  11. by pressing the left mouse button whilst the remote pointer is visible. The 
  12. menu is invoked by pressing the right mouse button whilst the remote pointer is 
  13. visible. To invoke single frame capture either press both mouse buttons 
  14. simultaneously, press the F6  button or select  Capture  from the Capture 
  15. submenu. 
  16.  
  17. The menu contains the following options : - 
  18.  
  19. File 
  20.  
  21. Tune... F4 
  22.  
  23. TV setup... F5 
  24.  
  25.  Capture 
  26.  
  27. Help 
  28.  
  29.  
  30. ΓòÉΓòÉΓòÉ 2. Remote Control ΓòÉΓòÉΓòÉ
  31.  
  32.  To select the TV/2 remote control panel you must select the left mouse button 
  33. whilst the remote pointer is being displayed (in the TV/2 screen). Once this 
  34. button has been selected a dialogue box is opened which contains the controls 
  35. which allow you to change various settings. The settings which are changeable 
  36. are : - 
  37.  
  38. Channel 
  39.  
  40. Left Volume 
  41.  
  42. Right Volume 
  43.  
  44. Treble 
  45.  
  46. Bass 
  47.  
  48. Brightness 
  49.  
  50. Hue 
  51.  
  52. Saturation 
  53.  
  54. Contrast 
  55.  
  56. Source 
  57.  
  58. Mute 
  59.  
  60. Freeze 
  61.  
  62. On/Off 
  63.  
  64.  
  65. ΓòÉΓòÉΓòÉ 2.1. Channel ΓòÉΓòÉΓòÉ
  66.  
  67.  The channel number is set by selecting one of the up or down arrows either 
  68. side of the entry field (see below). The frequency of the channel is dependent 
  69. on the region selected (see Advanced features). 
  70.  
  71.        Down = 
  72.  
  73.        Up = 
  74.  
  75.  
  76. ΓòÉΓòÉΓòÉ 2.2. Left Volume ΓòÉΓòÉΓòÉ
  77.  
  78.  The left volume level is changeable by using the slider marked with the 
  79. following bitmap to the right : - 
  80.  
  81.  
  82. ΓòÉΓòÉΓòÉ 2.3. Right Volume ΓòÉΓòÉΓòÉ
  83.  
  84.  The right volume level is changeable by using the slider marked with the 
  85. following bitmap to the right : - 
  86.  
  87.  
  88. ΓòÉΓòÉΓòÉ 2.4. Treble ΓòÉΓòÉΓòÉ
  89.  
  90.  The treble level is changeable by using the slider marked with the following 
  91. bitmap to the right : - 
  92.  
  93.  
  94. ΓòÉΓòÉΓòÉ 2.5. Bass ΓòÉΓòÉΓòÉ
  95.  
  96.  The bass level is changeable by using the slider marked with the following 
  97. bitmap to the right : - 
  98.  
  99.  
  100. ΓòÉΓòÉΓòÉ 2.6. Brightness ΓòÉΓòÉΓòÉ
  101.  
  102.  The brightness level is changeable by using the slider marked with the 
  103. following bitmap to the right : - 
  104.  
  105.  
  106. ΓòÉΓòÉΓòÉ 2.7. Hue ΓòÉΓòÉΓòÉ
  107.  
  108.  The hue level is changeable by using the slider marked with the following 
  109. bitmap to the right : - 
  110.  
  111.  
  112. ΓòÉΓòÉΓòÉ 2.8. Saturation ΓòÉΓòÉΓòÉ
  113.  
  114.  The saturation level is changeable by using the slider marked with the 
  115. following bitmap to the right : - 
  116.  
  117.  
  118. ΓòÉΓòÉΓòÉ 2.9. Contrast ΓòÉΓòÉΓòÉ
  119.  
  120.  The contrast level is changeable by using the slider marked with the following 
  121. bitmap to the right : - 
  122.  
  123.  
  124. ΓòÉΓòÉΓòÉ 2.10. Source ΓòÉΓòÉΓòÉ
  125.  
  126.  To select the pm for the application you choose one of the four buttons marked 
  127. 1, 2, 3, 4 or select the colour bars test card by selecting the button with the 
  128. following bitmap : - 
  129.  
  130.  
  131. ΓòÉΓòÉΓòÉ 2.11. Mute ΓòÉΓòÉΓòÉ
  132.  
  133.  To mute the sound from within the TV/2 application you must press the button 
  134. containing a speaker as follows : - 
  135.  
  136. When you press the button it will change state to being pressed and the bitmap 
  137. changes to represent mute : - 
  138.  
  139. To unmute press the button again to return it to its former state. 
  140.  
  141.  
  142. ΓòÉΓòÉΓòÉ 2.12. Freeze ΓòÉΓòÉΓòÉ
  143.  
  144.  To freeze the image from within the TV/2 application you must press the button 
  145. containing the blue bitmap as follows : - 
  146.  
  147. When you press the button it will change state to being pressed and the bitmap 
  148. changes to white instead of blue. To unfreeze the TV image press the button 
  149. again to return it to its former state. 
  150.  
  151.  
  152. ΓòÉΓòÉΓòÉ 2.13. On/Off ΓòÉΓòÉΓòÉ
  153.  
  154.  To switch the TV image off from within the TV/2 application you must press the 
  155. button containing the green bitmap : - 
  156.  
  157. When you press the button it will change state to being unpressed and the 
  158. bitmap changes to represent off : - 
  159.  
  160. To switch the TV image back on press the button again to return it to its 
  161. former state. 
  162.  
  163.  
  164. ΓòÉΓòÉΓòÉ 3. File Menu ΓòÉΓòÉΓòÉ
  165.  
  166.  The menu contains the following options : - 
  167.  
  168. Quit 
  169.  
  170.  
  171. ΓòÉΓòÉΓòÉ 3.1. Quit ΓòÉΓòÉΓòÉ
  172.  
  173.  This option allows you to choose whether to quit the application. 
  174.  
  175.  
  176. ΓòÉΓòÉΓòÉ 4. Tune Menu Item ΓòÉΓòÉΓòÉ
  177.  
  178.  The Tune menu item invokes a dialog box which allows you to tune the Hauppauge 
  179. Video Capture Adapter you are using. The dialog contains 3 drop-down list boxes 
  180. which allow you to select the Input Source, Region, and Input Format. The 
  181. dialog also contains two entryfields for setting the Frequency and Channel and 
  182. a slider for setting the Fine Tune. If you select an Input Source which does 
  183. not support the tuner the tuner options (Region, Frequency, Channel, and Fine 
  184. Tune) are disabled. 
  185.  
  186.  
  187. ΓòÉΓòÉΓòÉ 5. TV Setup Menu Item ΓòÉΓòÉΓòÉ
  188.  
  189.  Selecting this option invokes a setup notebook for the Hauppauge Video Capture 
  190. Adapter. The notebook allows you to re-align the TV, tune TV, set the audio and 
  191. visual preferences, set the color key, and setup the capture. The notebook has 
  192. full on-line help for more details. 
  193.  
  194.  
  195. ΓòÉΓòÉΓòÉ 6. Capture Menu ΓòÉΓòÉΓòÉ
  196.  
  197.  This submenu contains the following options : - 
  198.  
  199. Convert in C 
  200.  
  201. Convert in ASM 
  202.  
  203.  Capture F6 
  204.  
  205.  
  206. ΓòÉΓòÉΓòÉ 6.1. Convert in C ΓòÉΓòÉΓòÉ
  207.  
  208.  When this option is selected the conversion from YUV422 data to RGB data is 
  209. converted using a routine written in C. This routine is very slow and only 
  210. works on systems with 256 colors. It is only included in the sample so that you 
  211. can see the benefits of coding the conversion in assembler or using the code 
  212. supplied in the IBM Developer's Connection Device Driver Toolkit. 
  213.  
  214.  
  215. ΓòÉΓòÉΓòÉ 6.2. Convert in ASM ΓòÉΓòÉΓòÉ
  216.  
  217.  When this option is selected the conversion from YUV422 data to RGB data is 
  218. converted using a routine written in assembler. This routine is contained in 
  219. the IBM Developer's Connection Device Driver Toolkit. This routine is very fast 
  220. compared to the simple C conversion routine also supplied (for systems with 256 
  221. colors only). 
  222.  
  223.  
  224. ΓòÉΓòÉΓòÉ 6.3. Capture ΓòÉΓòÉΓòÉ
  225.  
  226.  When this option is selected (either from the menu, pressing the F6 button, or 
  227. pressing both mouse buttons) a single frame capture is performed and 
  228. subsequently displayed as a bitmap in a dialog box. You have the option to save 
  229. this file. 
  230.  
  231.  
  232. ΓòÉΓòÉΓòÉ 7. Key Assigments ΓòÉΓòÉΓòÉ
  233.  
  234. F1      Help
  235. F3      Quit
  236. F4      Tune
  237. F5      TV Setup
  238. F6      Capture
  239.  
  240.