public class KeyCode extends Object
KeyCode
object uniquely identifies a motion picture film frame.
The following fields specify film manufacturer, film type, film roll and the frame's position within the roll:
Field | Description |
---|---|
filmMfcCode |
film manufacturer code range: 0 - 99 |
filmType |
film type code range: 0 - 99 |
prefix |
prefix to identify film roll range: 0 - 999999 |
count |
count, increments once every perfsPerCount perforationsrange: 0 - 9999 |
perfOffset |
offset of frame, in perforations from zero-frame reference mark range: 0 - 119 |
perfsPerFrame |
number of perforations per frame Typical values:
|
perfsPerCoun |
number of perforations per count Typical values:
|
For more information about the interpretation of those fields see the following standards and recommended practice publications:
SMPTE 254 Motion-Picture Film (35-mm) - Manufacturer-Printed Latent Image Identification Information SMPTE 268M File Format for Digital Moving-Picture Exchange (DPX) (section 6.1) SMPTE 270 Motion-Picture Film (65-mm) - Manufacturer- Printed Latent Image Identification Information SMPTE 271 Motion-Picture Film (16-mm) - Manufacturer- Printed Latent Image Identification Information
Modifier and Type | Field and Description |
---|---|
int |
count
Count, increments once every
perfsPerCount perforations |
int |
filmMfcCode
Film manufacturer code
|
int |
filmType
Film type code
|
int |
perfOffset
offset of frame, in perforations from zero-frame reference mark
|
int |
perfsPerCount
number of perforations per count
|
int |
perfsPerFrame
number of perforations per frame
|
int |
prefix
Prefix to identify film roll
|
Constructor and Description |
---|
KeyCode()
Constructs a new
KeyCode . |
KeyCode(int filmMfcCode,
int filmType,
int prefix,
int count,
int perfOffset,
int perfsPerFrame,
int perfsPerCount)
Constructs a new
KeyCode using specific initial values for
each field. |
KeyCode(KeyCode other)
Copy constructor.
|
public int filmMfcCode
public int filmType
public int prefix
public int count
perfsPerCount
perforationspublic int perfOffset
public int perfsPerFrame
public int perfsPerCount
public KeyCode()
KeyCode
. Initializes perfsPerFrame
to 4
and perfsPerCount
to 64, values suitable for 35mm film. All other
fields are set to zero.public KeyCode(KeyCode other)
KeyCode
with those from other
.other
- a non-null KeyCode
public KeyCode(int filmMfcCode, int filmType, int prefix, int count, int perfOffset, int perfsPerFrame, int perfsPerCount)
KeyCode
using specific initial values for
each field.filmMfcCode
- film manufacturer codefilmType
- film type codeprefix
- prefix to identify film rollcount
- count, increments once every
perfsPerCount
perforationsperfOffset
- offset of frame, in perforations from zero-frame
reference markperfsPerFrame
- number of perforations per frameperfsPerCount
- number of perforations per count