|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pelzer.util.Timecode.Type
public static class Timecode.Type
| Field Summary | |
|---|---|
static Timecode.Type |
TYPE_AUDIO_CD
75 frames/sec, 44,100 samples/sec |
static Timecode.Type |
TYPE_VIDEO_FILM
24 frames/sec, 24,000 samples/sec |
static Timecode.Type |
TYPE_VIDEO_NTSC
29.97 frames/sec, 29,970 samples/sec |
static Timecode.Type |
TYPE_VIDEO_PAL
25 frames/sec, 25,000 samples/sec |
| Method Summary | |
|---|---|
float |
getFramesPerSecond()
|
static Timecode.Type |
getInstance(float framesPerSecond)
Takes framesPerSecond and attempts to map it to one of our predefined TYPE_ objects. |
float |
getSamplesPerSecond()
|
boolean |
usesSamples()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Timecode.Type TYPE_VIDEO_NTSC
public static final Timecode.Type TYPE_VIDEO_PAL
public static final Timecode.Type TYPE_VIDEO_FILM
public static final Timecode.Type TYPE_AUDIO_CD
| Method Detail |
|---|
public float getFramesPerSecond()
public float getSamplesPerSecond()
public boolean usesSamples()
public static Timecode.Type getInstance(float framesPerSecond)
throws NumberFormatException
NumberFormatException - If this method is unable tomatch the fps to a constance object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||