|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectFindIt.DeviceFormat
public class DeviceFormat
| Constructor Summary | |
|---|---|
DeviceFormat()
|
|
| Method Summary | |
|---|---|
static javax.media.Format |
formatMatches(javax.media.Format format,
javax.media.Format[] supported)
The formatMatches function who is called from the setFormat(javax.media.protocol.DataSource, javax.media.Format) function, and checkes all the supported formats, until
it has found the one that matches with the requested. |
static java.lang.String |
formatToString(javax.media.Format format)
The formatToString function who is called from the VideoStreamController class, that check if the sended format is
video format and then calls the videoFormatToString(javax.media.format.VideoFormat) function. |
static boolean |
isVideo(javax.media.Format format)
The isVideo function who is called from the formatToString(javax.media.Format) functon and checks if the format is video format. |
static boolean |
setFormat(javax.media.protocol.DataSource dataSource,
javax.media.Format format)
The setFormat function who is called from the VideoStreamController class and used to set the capture format the same
with the selected at the CaptureDevFrame GUI. |
static java.lang.String |
videoFormatToString(javax.media.format.VideoFormat videoFormat)
The videoFormatToString function who is called from the formatToString(javax.media.Format) function that converts the selected
format to string with one "spesial" way. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeviceFormat()
| Method Detail |
|---|
public static javax.media.Format formatMatches(javax.media.Format format,
javax.media.Format[] supported)
formatMatches function who is called from the setFormat(javax.media.protocol.DataSource, javax.media.Format) function, and checkes all the supported formats, until
it has found the one that matches with the requested.
format - the requested formatsupported - the array format with all the supported formats.
setFormat(javax.media.protocol.DataSource, javax.media.Format)
public static boolean setFormat(javax.media.protocol.DataSource dataSource,
javax.media.Format format)
setFormat function who is called from the VideoStreamController class and used to set the capture format the same
with the selected at the CaptureDevFrame GUI.
dataSource - format -
VideoStreamControllerpublic static boolean isVideo(javax.media.Format format)
isVideo function who is called from the formatToString(javax.media.Format) functon and checks if the format is video format.
format -
formatToString(javax.media.Format)public static java.lang.String formatToString(javax.media.Format format)
formatToString function who is called from the VideoStreamController class, that check if the sended format is
video format and then calls the videoFormatToString(javax.media.format.VideoFormat) function.
format - video format.
videoFormatToString(javax.media.format.VideoFormat),
isVideo(javax.media.Format)public static java.lang.String videoFormatToString(javax.media.format.VideoFormat videoFormat)
videoFormatToString function who is called from the formatToString(javax.media.Format) function that converts the selected
format to string with one "spesial" way.
videoFormat - the selected video format.
formatToString(javax.media.Format)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||