这个是java的quicktime for java 的详细使用文档

源代码在线查看: videodigitizer.html

软件大小: 3122 K
上传用户: Rebecca_SYF
关键词: java quicktime for 文档
下载地址: 免注册下载 普通下载 VIP

相关代码

				





: Class  VideoDigitizer












  
      Overview 
      Package 
    Class 
      Use 
      Tree 
      Deprecated 
      Index 
      Help 
  









 PREV CLASS 
 NEXT CLASS

  FRAMES   
 NO FRAMES



  SUMMARY:  INNER | FIELD | CONSTR | METHOD

DETAIL:  FIELD | CONSTR | METHOD








quicktime.std.sg

Class  VideoDigitizer

java.lang.Object
  |
  +--quicktime.QTObject
        |
        +--quicktime.std.comp.ComponentIdentifier
              |
              +--quicktime.std.comp.Component
                    |
                    +--quicktime.std.sg.VideoDigitizer


All Implemented Interfaces: InterfaceLib, PrimitivesLib, QuickTimeLib, SharedLibrary, com.apple.jdirect.SharedLibrary



public final class VideoDigitizerextends Componentimplements QuickTimeLib


The video digitizing channel.
  The VideoDigitizer implements methods for a corresponding QuickTime 
  ComponentInstance structure.
  refer to VideoDigitizer component in QuickTime
 












Fields inherited from interface quicktime.jdirect.QuickTimeLib


JDirect_MacOSX, libraryInstance, name


 






Constructor Summary


VideoDigitizer()


          Opens the specified video component,'vidg', with any subType.


VideoDigitizer(int subType)


          Opens the specified video component,'vidg', with the given subType.


 






Method Summary



 void
clearClipRgn(Region clipRegion)


          Allows you to disable all or part of a clipping region that was previously set.



 boolean
getClipState()


          Allows your application to determine if clipping is enabled or not.



 DigitizerInfo
getDigitizerInfo()


          Allows your application to determine the
 capability and status information about a specified video digitizer component.



 int
getInput()


          Returns the index that identifies the currently active input video source.



 int
getInputFormat(int input)


          Determines the format of the video signal provided by a specified video input source.



 int
getNumberOfInputs()


          Returns the number of input sources that a video digitizer component supports.



 void
setClipRgn(Region clipRegion)


          Allows you to define a clipping region.



 void
setClipState(boolean clipEnable)


          Allows your application to control whether clipping is enabled or disabled.



 void
setInput(int input)


          Allows applications to select an input video source for a video digitizer component.



 void
setInputStandard(int input)


          Specifies the input signaling standard to digitize.


 


Methods inherited from class quicktime.std.comp.Component


count


 


Methods inherited from class quicktime.std.comp.ComponentIdentifier


find, find, getInfo, toString


 


Methods inherited from class quicktime.QTObject


disposeQTObject, equals, ID


 


Methods inherited from class java.lang.Object


getClass, hashCode, notify, notifyAll, wait, wait, wait


 











Constructor Detail




VideoDigitizer

public VideoDigitizer()
               throws QTException

Opens the specified video component,'vidg', with any subType.
 SGPanels should not be accessable by the public.
	  QuickTime::OpenADefaultComponent 



VideoDigitizer

public VideoDigitizer(int subType)
               throws QTException

Opens the specified video component,'vidg', with the given subType.
 SGPanels should not be accessable by the public.
	  QuickTime::OpenADefaultComponent 
Parameters:subType - The video component sub type









Method Detail




getNumberOfInputs

public int getNumberOfInputs()
                      throws StdQTException

Returns the number of input sources that a video digitizer component supports.
	  QuickTime::VDGetNumberOfInputs 



Returns:the number of inputs





setInput

public void setInput(int input)
              throws StdQTException

Allows applications to select an input video source for a video digitizer component.
 This is a 0 based index.
	  QuickTime::VDSetInput 



Parameters:input - the input video source.





getInput

public int getInput()
             throws StdQTException

Returns the index that identifies the currently active input video source.
	  QuickTime::VDGetInput 



Returns:the index for the current input device





setClipRgn

public void setClipRgn(Region clipRegion)
                throws StdQTException

Allows you to define a clipping region.
	  QuickTime::VDSetClipRgn 



Parameters:clipRegion - specifies the clip region





clearClipRgn

public void clearClipRgn(Region clipRegion)
                  throws StdQTException

Allows you to disable all or part of a clipping region that was previously set.
	  QuickTime::VDClearClipRgn 



Parameters:clipRegion - specifies the clipping region to clear. This must correspond to all
 or part of a previously set clip region.





setClipState

public void setClipState(boolean clipEnable)
                  throws StdQTException

Allows your application to control whether clipping is enabled or disabled.
	  QuickTime::VDSetClipState 



Parameters:clipEnable - if true clipping is enabled, otherwise it is disabled.





getClipState

public boolean getClipState()
                     throws StdQTException

Allows your application to determine if clipping is enabled or not.
	  QuickTime::VDGetClipState 



Returns:if true clipping is enabled otherwise it isn't.





getDigitizerInfo

public DigitizerInfo getDigitizerInfo()
                               throws StdQTException

Allows your application to determine the
 capability and status information about a specified video digitizer component. 
	  QuickTime::VDGetDigitizerInfo 



Returns:if true clipping is enabled otherwise it isn't.





getInputFormat

public int getInputFormat(int input)
                   throws StdQTException

Determines the format of the video signal provided by a specified video input source.



Parameters:input - The input video source for this request. Video digitizer components number video sources sequentially, starting at 0. So, to request 
 information about the first video source, an application sets this parameter to 0. Applications can get the number of video sources supported by a
 video digitizer component by calling getNumberOfInputs ().Returns:the video format of the specified input source.





setInputStandard

public void setInputStandard(int input)
                      throws StdQTException

Specifies the input signaling standard to digitize.



Parameters:input - the input signaling standard. (ntscIn, palIn, secamIn)












  
      Overview 
      Package 
    Class 
      Use 
      Tree 
      Deprecated 
      Index 
      Help 
  









 PREV CLASS 
 NEXT CLASS

  FRAMES   
 NO FRAMES



  SUMMARY:  INNER | FIELD | CONSTR | METHOD

DETAIL:  FIELD | CONSTR | METHOD








			

相关资源