Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

271 lines
11 KiB

  1. #if 0
  2. Copyright (c) 1995 - 1999 Microsoft Corporation. All Rights Reserved.
  3. #endif
  4. //Microsoft Developer Studio generated resource script.
  5. //
  6. #include "windows.h"
  7. #include "resource.h"
  8. /////////////////////////////////////////////////////////////////////////////
  9. //
  10. // Bitmap
  11. //
  12. IDR_TOOLBAR BITMAP DISCARDABLE "toolbar.bmp"
  13. /////////////////////////////////////////////////////////////////////////////
  14. //
  15. // Icon
  16. //
  17. // Icon with lowest ID value placed first to ensure application icon
  18. // remains consistent on all systems.
  19. IDR_VIDEOCD_ICON ICON DISCARDABLE "perftool.ico"
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // Menu
  23. //
  24. IDR_MAIN_MENU MENU DISCARDABLE
  25. BEGIN
  26. POPUP "&File"
  27. BEGIN
  28. MENUITEM "&Open...", IDM_FILE_OPEN
  29. MENUITEM "&Close", IDM_FILE_CLOSE
  30. MENUITEM SEPARATOR
  31. MENUITEM "Set &Log File...", IDM_FILE_SET_LOG
  32. MENUITEM "Set &Perf Log File...", IDM_FILE_SET_PERF_LOG
  33. MENUITEM SEPARATOR
  34. MENUITEM "Ex&it", IDM_FILE_EXIT
  35. END
  36. POPUP "&Properties"
  37. BEGIN
  38. MENUITEM "Mpeg &Video Decoder...", IDM_VIDEO_DECODER
  39. MENUITEM "Mpeg &Audio Decoder...", IDM_AUDIO_DECODER
  40. MENUITEM "Other &Filters...", IDM_FILTERS
  41. END
  42. POPUP "&Time Format"
  43. BEGIN
  44. MENUITEM "T&ime", IDM_TIME
  45. MENUITEM "&Frame", IDM_FRAME
  46. MENUITEM "Fi&eld", IDM_FIELD
  47. MENUITEM "&Sample", IDM_SAMPLE
  48. MENUITEM "&Bytes", IDM_BYTES
  49. END
  50. POPUP "&Streams"
  51. BEGIN
  52. MENUITEM "(not available)", -1
  53. END
  54. POPUP "&Help"
  55. BEGIN
  56. // MENUITEM "&Contents \aF1", IDM_HELP_INDEX
  57. // MENUITEM "&Search for Help on...", IDM_HELP_SEARCH
  58. // MENUITEM "&How to use Help", IDM_HELP_USING
  59. // MENUITEM SEPARATOR
  60. MENUITEM "&About DirectShow Performance Tool...", IDM_HELP_ABOUT
  61. END
  62. END
  63. /////////////////////////////////////////////////////////////////////////////
  64. //
  65. // Dialog
  66. //
  67. IDD_VIDEOPROP DIALOGEX DISCARDABLE 0, 0, 237, 120
  68. STYLE DS_MODALFRAME | DS_3DLOOK | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  69. CAPTION "Mpeg Video Codec Properties"
  70. FONT 8, "MS Shell Dlg"
  71. BEGIN
  72. GROUPBOX "Decode options",IDC_STATIC,8,5,98,78,WS_GROUP
  73. CONTROL "&I Frames",I_ONLY,"Button",BS_AUTORADIOBUTTON,13,18,89,
  74. 10
  75. CONTROL "I and &P Frames",IP_ONLY,"Button",BS_AUTORADIOBUTTON,13,
  76. 28,89,10
  77. CONTROL "IP and &1 in 4 B Frames",IP_1_IN_4_B,"Button",
  78. BS_AUTORADIOBUTTON,13,38,89,10
  79. CONTROL "IP and &2 in 4 B Frames",IP_2_IN_4_B,"Button",
  80. BS_AUTORADIOBUTTON,13,48,89,10
  81. CONTROL "IP and &3 in 4 B Frames",IP_3_IN_4_B,"Button",
  82. BS_AUTORADIOBUTTON,13,58,89,10
  83. CONTROL "IP and all &B Frames",IP_ALL_B,"Button",
  84. BS_AUTORADIOBUTTON,13,68,89,10
  85. GROUPBOX "Frame Quality",IDC_STATIC,121,5,64,44,WS_GROUP
  86. CONTROL "&High",B_HIGH,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,
  87. 126,15,39,10
  88. CONTROL "&Medium",B_MEDIUM,"Button",BS_AUTORADIOBUTTON,126,25,39,
  89. 10
  90. CONTROL "&Low",B_LOW,"Button",BS_AUTORADIOBUTTON,126,35,39,10
  91. CONTROL "&Grey scale output",B_GREY,"Button",BS_AUTOCHECKBOX |
  92. WS_TABSTOP,120,66,106,10
  93. CONTROL "I&gnore quality messages",IGNORE_QUALITY,"Button",
  94. BS_AUTOCHECKBOX | WS_TABSTOP,120,54,106,10
  95. PUSHBUTTON "&Information",STATS_BUTTON,13,99,42,14
  96. PUSHBUTTON "Set de&fault",ID_DEFAULT,70,99,42,14
  97. PUSHBUTTON "Cancel",IDCANCEL,127,98,42,15
  98. DEFPUSHBUTTON "OK",IDOK,181,98,42,15
  99. END
  100. IDD_AUDIOPROP DIALOGEX DISCARDABLE 0, 0, 225, 121
  101. STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  102. CAPTION "Mpeg Audio Codec Properties"
  103. FONT 8, "MS Shell Dlg"
  104. BEGIN
  105. GROUPBOX "Sound Quality",-1,10,5,204,37,WS_GROUP
  106. CONTROL "CD audio",FULL_FREQ,"Button",BS_AUTORADIOBUTTON |
  107. WS_TABSTOP,15,17,76,10
  108. CONTROL "FM radio",HALF_FREQ,"Button",BS_AUTORADIOBUTTON,15,27,
  109. 74,10
  110. CONTROL "AM radio",QUARTER_FREQ,"Button",BS_AUTORADIOBUTTON,103,
  111. 17,89,10
  112. CONTROL "Integer decode (AM radio)",IDC_INTEGER,"Button",
  113. BS_AUTORADIOBUTTON,103,27,108,10
  114. GROUPBOX "Decode Accuracy",-1,10,48,79,44,WS_GROUP
  115. CONTROL "High",D_HIGH,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,
  116. 15,59,39,10
  117. CONTROL "Medium",D_MEDIUM,"Button",BS_AUTORADIOBUTTON,15,69,39,
  118. 10
  119. CONTROL "Low",D_LOW,"Button",BS_AUTORADIOBUTTON,15,79,39,10
  120. GROUPBOX "Output Options",-1,96,47,117,44,WS_GROUP
  121. CONTROL "8 bit output",IDC_8_BIT,"Button",BS_AUTORADIOBUTTON |
  122. WS_TABSTOP,103,59,51,10
  123. CONTROL "16 bit output",IDC_16_BIT,"Button",BS_AUTORADIOBUTTON,
  124. 103,69,55,10
  125. CONTROL "Stereo",STEREO_OUTPUT,"Button",BS_AUTOCHECKBOX |
  126. WS_TABSTOP,103,79,40,10
  127. PUSHBUTTON "&Information",IDC_AINFO,7,100,45,14
  128. PUSHBUTTON "Set &default",IDC_ADEFAULT,59,100,45,14
  129. PUSHBUTTON "Cancel",IDCANCEL,111,100,50,14
  130. DEFPUSHBUTTON "OK",IDOK,168,100,50,14
  131. END
  132. IDD_VIDEOSTATS DIALOGEX DISCARDABLE 13, 36, 280, 141
  133. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  134. CAPTION "Video Decoding Information"
  135. FONT 8, "MS Shell Dlg"
  136. BEGIN
  137. DEFPUSHBUTTON "&Close",IDOK,5,124,40,14
  138. PUSHBUTTON "&Refresh",ID_REFRESH,56,124,40,14
  139. EDITTEXT ID_STATSBOX,4,8,272,110,ES_MULTILINE | ES_AUTOHSCROLL |
  140. ES_READONLY | WS_VSCROLL
  141. END
  142. IDD_PROPPAGE DIALOGEX DISCARDABLE 0, 0, 180, 130
  143. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  144. CAPTION "Active Movie Filter Properties"
  145. FONT 8, "MS Shell Dlg"
  146. BEGIN
  147. LTEXT "&Filters:",-1,8,5,30,8
  148. LISTBOX IDC_FILTERS,7,19,165,84,LBS_NOINTEGRALHEIGHT |
  149. WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
  150. PUSHBUTTON "&Properties",IDC_PROPERTIES,5,110,50,14,WS_DISABLED
  151. DEFPUSHBUTTON "OK",IDOK,65,110,50,15
  152. END
  153. /////////////////////////////////////////////////////////////////////////////
  154. //
  155. // String Table
  156. //
  157. STRINGTABLE DISCARDABLE
  158. BEGIN
  159. IDM_MOVIE_STOP "Stop"
  160. IDM_MOVIE_PLAY "Play"
  161. IDM_MOVIE_PREVTRACK "Previous Mark"
  162. IDM_MOVIE_PAUSE "Pause"
  163. IDM_MOVIE_SKIP_FORE "Fast Forward"
  164. IDM_MOVIE_SKIP_BACK "Rewind"
  165. IDM_MOVIE_NEXTTRACK "Next Mark"
  166. IDM_PERF_NEW "New Performance Log"
  167. IDM_PERF_DUMP "Dump Performance Log"
  168. IDM_FULL_SCREEN "Full screen playback"
  169. END
  170. STRINGTABLE DISCARDABLE
  171. BEGIN
  172. STR_FILE_OPEN "Open a new movie to play"
  173. STR_FILE_CLOSE "Close the movie"
  174. STR_FILE_SET_LOG "Set RenderFile error log file name"
  175. STR_FILE_SET_PERF_LOG "Set performance log file name"
  176. STR_FILE_EXIT "Quit DirectShow Performance Tool"
  177. STR_PROP_VIDEO_DECODER "Displays the mpeg video decoder property page"
  178. STR_PROP_AUDIO_DECODER "Displays the mpeg audio decoder property page"
  179. STR_PROP_OTHER "Displays the property pages for other filters"
  180. STR_PROP_IDM_TIME "Set the time format to be real time"
  181. STR_PROP_IDM_FRAME "Set the time format to be video frames"
  182. STR_PROP_IDM_FIELD "Set the time format to be video fields"
  183. STR_PROP_IDM_SAMPLE "Set the time format to be samples"
  184. STR_PROP_IDM_BYTES "Set the time format to be bytes"
  185. END
  186. STRINGTABLE DISCARDABLE
  187. BEGIN
  188. STR_HELP_INDEX "Displays contents for DirectShow Performance Tool Help"
  189. STR_HELP_USING "Displays information about using Help"
  190. STR_HELP_ABOUT "Display information about Active Movie Performance Tool"
  191. STR_HELP_SEARCH "Search for a topic in DirectShow Performance Tool Help"
  192. END
  193. STRINGTABLE DISCARDABLE
  194. BEGIN
  195. STR_SYSMENU_RESTORE "Restore the window to normal size"
  196. STR_SYSMENU_MOVE "Changes the window position"
  197. STR_SYSMENU_MINIMIZE "Reduce the window to an icon"
  198. STR_SYSMENU_CLOSE "Closes the window"
  199. STR_SYSMENU_MAXIMIZE "Enlarges the window to its maximum size"
  200. STR_SYSMENU_TASK_LIST "Opens the task list"
  201. END
  202. STRINGTABLE DISCARDABLE
  203. BEGIN
  204. STR_FILE_PERF_LOG "Logs (*.log)#*.log#Text files (*.txt)#*.txt#All Files (*.*)#*.*#"
  205. STR_FILE_LOG_FILTER "Logs (*.log)#*.log#Text files (*.txt)#*.txt#All Files (*.*)#*.*#"
  206. STR_FILE_FILTER "All Movies#*.mpg;*.avi;*.dat;*.mov#Mpeg Files (*.mpg)#*.mpg#Video CD Files (*.dat)#*.dat#QuickTime Files (*.mov)#*.mov#All Files (*.*)#*.*#"
  207. STR_APP_TITLE "DirectShow Performance Tool"
  208. STR_APP_TITLE_LOADED "DirectShow Performance Tool - %s"
  209. END
  210. STRINGTABLE DISCARDABLE
  211. BEGIN
  212. IDS_IMAGE_SIZE "Frame image size: %ld by %ld pels\r\n"
  213. IDS_BUFFER_VBV "Video Buffer Verifier (VBV): %ld bytes\r\n"
  214. IDS_BITRATE "Bit rate: %ld bits per second\r\n"
  215. IDS_FRAMES_DEC "Decoded %ld out of %ld frames\r\n"
  216. IDS_PROPORTION "Proportion decoded: %ld%%\r\n"
  217. IDS_SKIP_I "I frames decoded: %8.8ld% Skipped: %8.8ld% \r\n"
  218. IDS_SKIP_P "P frames decoded: %8.8ld% Skipped: %8.8ld% \r\n"
  219. IDS_SKIP_B "B frames decoded: %8.8ld% Skipped: %8.8ld% \r\n"
  220. IDS_NEWLINE "\r\n"
  221. END
  222. IDR_ACCELERATOR ACCELERATORS DISCARDABLE
  223. BEGIN
  224. "S", IDM_MOVIE_STOP, VIRTKEY, CONTROL, NOINVERT
  225. "P", IDM_MOVIE_PLAY, VIRTKEY, CONTROL, NOINVERT
  226. "A", IDM_MOVIE_ALIGN, VIRTKEY, CONTROL, NOINVERT
  227. "N", IDM_PERF_NEW, VIRTKEY, CONTROL, NOINVERT
  228. "D", IDM_PERF_DUMP, VIRTKEY, CONTROL, NOINVERT
  229. END
  230. /////////////////////////////////////////////////////////////////////////////
  231. //
  232. // Versioning
  233. //
  234. #define VERSION_RES_TYPE VFT_APP
  235. #define VERSION_RES_ACTIVEX "SDK Tool\0"
  236. #define VERSION_RES_NAME "VCDPlyer.exe\0"
  237. #define VERSION_RES_DESCRIPTION "DirectShow SDK Video Performance Tool\0"
  238. #include <quartz.ver>
  239. #include <quartz.rcv>