From: Remko B. <rem...@us...> - 2003-09-13 15:41:33
|
Update of /cvsroot/jvcl/dev/help In directory sc8-pr-cvs1:/tmp/cvs-serv21758 Modified Files: JvAVICapture.dtx Log Message: Completed Index: JvAVICapture.dtx =================================================================== RCS file: /cvsroot/jvcl/dev/help/JvAVICapture.dtx,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** JvAVICapture.dtx 16 Aug 2003 08:15:29 -0000 1.4 --- JvAVICapture.dtx 13 Sep 2003 15:41:29 -0000 1.5 *************** *** 36,42 **** This value must be calculated according to the provider of the audio format you want to use and that you indicated by setting the value of FormatTag. ! Please not that if FormatTag is equal to WAVE_FORMAT_PCM, the value of AvgBytesPerSec will be ignored and will be computed according to the recommandation for this format: AvgBytesPerSec := SamplesPerSec * ((Channels * BitsPerSample) div 8) See Also FormatTag, SamplesPerSec, Channels, BitsPerSample, FillWaveFormatEx --- 36,47 ---- This value must be calculated according to the provider of the audio format you want to use and that you indicated by setting the value of FormatTag. ! Please not that if FormatTag is equal to WAVE_FORMAT_PCM, the value of AvgBytesPerSec will be ignored and will be computed according to the recommandation for this format: + + <AUTOLINK OFF> + <CODE> AvgBytesPerSec := SamplesPerSec * ((Channels * BitsPerSample) div 8) + <AUTOLINK ON> + </CODE> See Also FormatTag, SamplesPerSec, Channels, BitsPerSample, FillWaveFormatEx *************** *** 56,60 **** This value depends on the value of FormatTag. If it is equal to WAVE_FORMAT_PCM, then the value of BlockAlign will be ignored and computed according to ! BlockAlign := (Channels * BitsPerSample) div 8 See Also FormatTag, Channels, BitsPerSample, FillWaveFormatEx --- 61,70 ---- This value depends on the value of FormatTag. If it is equal to WAVE_FORMAT_PCM, then the value of BlockAlign will be ignored and computed according to ! ! <AUTOLINK OFF> ! <CODE> ! BlockAlign := (Channels * BitsPerSample) div 8 ! <AUTOLINK ON> ! </CODE> See Also FormatTag, Channels, BitsPerSample, FillWaveFormatEx *************** *** 125,129 **** <TITLEIMG TJvAVICapture> JVCLInfo ! GROUP=JVCL.?? FLAG=Component Summary --- 135,139 ---- <TITLEIMG TJvAVICapture> JVCLInfo ! GROUP=JVCL.Multimedia.Video FLAG=Component Summary *************** *** 147,169 **** @@TJvAVICapture.ApplyAudioFormat Summary ! Write here a summary (1 line) Description ! Write here a description Return value ! Describe here what the function returns ! See Also ! List here other properties, methods (comma seperated) ! Remove the 'See Also' section if there are no references ---------------------------------------------------------------------------------------------------- @@TJvAVICapture.ApplyCaptureSettings Summary ! Write here a summary (1 line) Description ! Write here a description Return value ! Describe here what the function returns ! See Also ! List here other properties, methods (comma seperated) ! Remove the 'See Also' section if there are no references ---------------------------------------------------------------------------------------------------- @@TJvAVICapture.AudioFormat --- 157,173 ---- @@TJvAVICapture.ApplyAudioFormat Summary ! Applies the audio format settings. Description ! Call ApplyAudioFormat to apply the audio format settings. Return value ! Returns true if successful, false otherwise. ---------------------------------------------------------------------------------------------------- @@TJvAVICapture.ApplyCaptureSettings Summary ! Applies the capture settings. Description ! Call ApplyCaptureSettings to apply the capture settings. Return value ! Returns true if successful, false otherwise. ---------------------------------------------------------------------------------------------------- @@TJvAVICapture.AudioFormat *************** *** 641,645 **** The title of the AVICap window Description ! This is required upon creation of the underlying AVICap window and can be used to search this window using FindWindow See Also --- 645,649 ---- The title of the AVICap window Description ! This is required upon creation of the underlying AVICap window and can be used to search this window using FindWindow See Also *************** *** 766,770 **** Set this value to a virtual key that will cancel the capture session if pressed. This defaults to the Esc key. You should use the JvVirtualKey selection frame (in JvVirtualKeySelectionFrame.pas) ! to allow your user to choose a virtual key, while being sure the value returned is correct See Also AbortLeftMouse, AbortRightMouse, LimitEnabled, TimeLimit --- 770,774 ---- Set this value to a virtual key that will cancel the capture session if pressed. This defaults to the Esc key. You should use the JvVirtualKey selection frame (in JvVirtualKeySelectionFrame.pas) ! to allow your user to choose a virtual key, while being sure the value returned is correct See Also AbortLeftMouse, AbortRightMouse, LimitEnabled, TimeLimit *************** *** 803,808 **** of MCI Controls with the AVICap API See Also - List here other properties, methods (comma seperated) - Remove the 'See Also' section if there are no references MCIControl, MCIStartTime, MCIStopTime ---------------------------------------------------------------------------------------------------- --- 807,810 ---- *************** *** 874,878 **** Updates the properties of the object according to the values from the TJvAVICapture object Description ! This ensures synchronization between the object and the underlying system object. You shouldn't have to call this method directly See Also --- 876,880 ---- Updates the properties of the object according to the values from the TJvAVICapture object Description ! This ensures synchronization between the object and the underlying system object. You shouldn't have to call this method directly See Also *************** *** 885,889 **** If set to true, when the capture starts, a separate thread is created allowing the thread launching the capture to continue. ! Reentrance issues must then be considered to avoid the user to launch twice the capture, for instance ---------------------------------------------------------------------------------------------------- --- 887,891 ---- If set to true, when the capture starts, a separate thread is created allowing the thread launching the capture to continue. ! Reentrance issues must then be considered to avoid the user to launch twice the capture, for instance ---------------------------------------------------------------------------------------------------- *************** *** 895,898 **** --- 897,903 ---- This is a set of the following values. One or more may be present + <TABLE> + Value Meaning + ----- ------- dcOverlay The driver can do overlay rendering dcDlgVideoSource The driver can display a dialog to choose video source *************** *** 901,905 **** dcCaptureInitialized The capture driver is initialized dcSuppliesPalettes The driver supplies palettes ! (Value = set of ( dcOverlay , dcDlgVideoSource , dcDlgVideoFormat , dcDlgVideoDisplay , dcCaptureInitialized , dcSuppliesPalettes ) ; - for reference) ---------------------------------------------------------------------------------------------------- @@TJvDriverIndex --- 906,910 ---- dcCaptureInitialized The capture driver is initialized dcSuppliesPalettes The driver supplies palettes ! </TABLE> ---------------------------------------------------------------------------------------------------- @@TJvDriverIndex *************** *** 910,914 **** As the maximum number of drivers in the system is 10, this type has been created to ensure the value is always correct. -1 specifies that no connection is established. - (Value = -1..9 ; - for reference) ---------------------------------------------------------------------------------------------------- @@TJvNumAudioBuffer --- 915,918 ---- *************** *** 919,923 **** As it is a system restriction to use at most 10 audio buffers, this type has been created to ensure the values are always correct - (Value = 0..10 ; - for reference) ---------------------------------------------------------------------------------------------------- @@TJvPalette --- 923,926 ---- *************** *** 1000,1006 **** The number of colors in a palette Description ! This type has been created to enforce the system limitation of at most 256 colours in a palette - (Value = 0..256 ; - for reference) ---------------------------------------------------------------------------------------------------- @@TJvPercent --- 1003,1008 ---- The number of colors in a palette Description ! This type has been created to enforce the system limitation of at most 256 colours in a palette ---------------------------------------------------------------------------------------------------- @@TJvPercent *************** *** 1011,1015 **** This type is defined to ensure that percentages in TJvCaptureSettings are not set to more than 100% or less than 0% - (Value = 0..100 ; - for reference) ---------------------------------------------------------------------------------------------------- @@TJvUsedEvents --- 1013,1016 ---- *************** *** 1020,1024 **** You can decide to activate some events at some times. If you don't they won't be triggered even if their associated handler exists. The set is made of these possible values: ! ueCapControl the OnCapControl event will be triggered ueError the OnError event will be triggered --- 1021,1028 ---- You can decide to activate some events at some times. If you don't they won't be triggered even if their associated handler exists. The set is made of these possible values: ! ! <TABLE> ! Value Meaning ! ----- ------- ueCapControl the OnCapControl event will be triggered ueError the OnError event will be triggered *************** *** 1028,1032 **** ueWaveStream the OnWaveStream event will be triggered ueYield the OnYield event will be triggered ! (Value = set of ( ueCapControl , ueError , ueFrame , ueStatus , ueVideoStream , ueWaveStream , ueYield ) ; - for reference) ---------------------------------------------------------------------------------------------------- @@TJvVideoDialog --- 1032,1036 ---- ueWaveStream the OnWaveStream event will be triggered ueYield the OnYield event will be triggered ! </TABLE> ---------------------------------------------------------------------------------------------------- @@TJvVideoDialog *************** *** 1073,1076 **** --- 1077,1084 ---- values you can get in the biCompression member of a BITMAPINFOHEADER structure. At the moment of writing, these values are: + + <TABLE> + Value Meaning + ----- ------- BI_RGB No compression BI_RLE8 Run Length Encoding with a BitDepth equal to 8 *************** *** 1079,1082 **** --- 1087,1091 ---- BI_JPEG JPEG compression (Win98/Me/2k/XP only) BI_PNG PNG compression (Win98/Me/2k/XP only) + </TABLE> See Also PixelFormat, BitDepth *************** *** 1117,1121 **** Description It has been created to ensure better readability - (Value = PVIDEOHDR ; - for reference) ---------------------------------------------------------------------------------------------------- @@TJvVirtualKey --- 1126,1129 ---- *************** *** 1126,1130 **** This type is defined to allow to have a custom design editor that will ensure the virtual key value is always valid - (Value = type Integer ; - for reference) ---------------------------------------------------------------------------------------------------- @@TJvWaveHdr --- 1134,1137 ---- *************** *** 1134,1138 **** Description It has been created to ensure better readability - (Value = PWAVEHDR ; - for reference) ---------------------------------------------------------------------------------------------------- @@TOnCapControl --- 1141,1144 ---- |