|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--quicktime.QTObject | +--quicktime.std.comp.ComponentIdentifier | +--quicktime.std.comp.Component | +--quicktime.std.sg.SGChannel | +--quicktime.std.sg.VisualChannel | +--quicktime.std.sg.SGVideoChannel
Assists in importing video into a movie.
The SGChannel implements methods for a corresponding QuickTime
ComponentInstance structure.
Refer to SGChannel in QuickTime Components
| Fields inherited from interface quicktime.jdirect.QuickTimeLib |
JDirect_MacOSX, libraryInstance, name |
| Constructor Summary | |
SGVideoChannel(SequenceGrabber owner)
Creates a sequence grabber channel and assigns a channel component to the channel. |
|
| Method Summary | |
void |
digitizerChanged()
Allows you to notify the sequence grabber component whenever you change the configuration of a video channel's video digitizer. |
SGVideoCompressorInfo |
getCompressor()
Get a channelŐs current image-compression parameters. |
int |
getCompressorType()
Get the Video Compressor Type QuickTime::SGGetVideoCompressorType QuickTime::SGGetVideoCompressorType |
VideoDigitizer |
getDigitizerComponent()
Allows you to determine the video digitizer component that is providing source video to a video channel component. |
float |
getFrameRate()
The SGGetFrameRate function allows you to retrieve a video channelŐs frame rate for recording. |
ImageDescription |
getImageDescription()
This method allows you to retrieve a music sample description from the SGChannel. |
QDRect |
getSrcVideoBounds()
Allows you to determine the size of the source video boundary rectangle. |
QDRect |
getVideoRect()
Allows you to determine the portion of the source video image that is to be captured. |
void |
setCompressor(int depth,
Compressor compressor,
int spatialQuality,
int temporalQuality,
int keyFrameRate)
Set a channelŐs current image-compression parameters. |
void |
setCompressor(int depth,
int compressor,
int spatialQuality,
int temporalQuality,
int keyFrameRate)
Deprecated. see setCompressor which takes a Compressor parameter |
void |
setCompressorType(int compressorType)
Set the type of Video Compressor QuickTime::SGSetVideoCompressorType QuickTime::SGSetVideoCompressorType |
void |
setDigitizerComponent(VideoDigitizer vdig)
Allows you to assign a video digitizer component to a video channel. |
void |
setFrameRate(float frameRate)
The SGSetFrameRate function allows you to specify a video channelŐs frame rate for recording. |
void |
setVideoRect(QDRect r)
Allows you to specify the portion of the source video image that is to be captured. |
| Methods inherited from class quicktime.std.sg.VisualChannel |
getBounds, getClip, getMatrix, setBounds, setClip, setMatrix |
| Methods inherited from class quicktime.std.sg.SGChannel |
getDataSourceName, getDeviceList, getPlayFlags, getSampleDescription, getSequenceGrabber, getSettings, getTimeScale, getUsage, setDataSourceName, setDevice, setOutput, setPlayFlags, setSettings, settingsDialog, settingsDialog, setUsage |
| 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 |
public SGVideoChannel(SequenceGrabber owner) throws StdQTException
owner - specifies the sequence grabber component the channel is attached to.| Method Detail |
public final ImageDescription getImageDescription() throws QTException
public void setCompressorType(int compressorType) throws StdQTException
compressorType - sets the type of compressor to use on the channel.public int getCompressorType() throws StdQTException
compressorType - sets the type of compressor to use on the channel.public void setCompressor(int depth, int compressor, int spatialQuality, int temporalQuality, int keyFrameRate) throws StdQTException
depth - Specifies the depth at which the image is likely to be viewed.compressor - Specifies the image compressor identifier.spatialQuality - Specifies the desired compressed image quality.temporalQuality - This parameter governs the level of compression you desire with respect to information between successive frames in the sequence.keyFrameRate - Specifies the maximum number of frames allowed between key frames.public void setCompressor(int depth, Compressor compressor, int spatialQuality, int temporalQuality, int keyFrameRate) throws StdQTException
depth - Specifies the depth at which the image is likely to be viewed.compressor - Specifies the image compressor identifier.spatialQuality - Specifies the desired compressed image quality.temporalQuality - This parameter governs the level of compression you desire with respect to information between successive frames in the sequence.keyFrameRate - Specifies the maximum number of frames allowed between key frames.public SGVideoCompressorInfo getCompressor() throws StdQTException
returns - a SGVideoCompressorInfo object.public VideoDigitizer getDigitizerComponent()
public void setDigitizerComponent(VideoDigitizer vdig) throws StdQTException
vdig - the digitizer component that identifies a connection to a video digitizer component.public void digitizerChanged() throws StdQTException
public void setVideoRect(QDRect r) throws StdQTException
r - the rectangle that defines the potion of the source video image to be captured.public QDRect getVideoRect() throws StdQTException
public QDRect getSrcVideoBounds() throws StdQTException
public void setFrameRate(float frameRate) throws StdQTException
frameRate - Specifies the desired frame rate. Set this parameter to 0 to select the channelŐs default frame rate. Typically, this corresponds to the fastest rate that the channel can support.public float getFrameRate() throws StdQTException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||