Maven module :un.storage : media-mpeg4 :
Class : un.storage.media.mp4.boxes.impl.fd.FilePartitionBox
Extends/Implements : un.storage.media.mp4.boxes.FullBox
Subclasses : -

author  Alexander Simm


Variables : -
Functions : FilePartitionBox, decode, getItemID, getPacketPayloadSize, getFECEncodingID, getFECInstanceID, getMaxSourceBlockLength, getEncodingSymbolLength, getMaxNumberOfEncodingSymbols, getSchemeSpecificInfo, getBlockCounts, getBlockSizes



public void FilePartitionBox ()

public void decode (MP4InputStream in)


The item ID references the item in the item location box that the file
partitioning applies to.
return  the item ID
public int getItemID ()


The packet payload size gives the target ALC/LCT or FLUTE packet payload
size of the partitioning algorithm. Note that UDP packet payloads are
larger, as they also contain ALC/LCT or FLUTE headers.
return  the packet payload size
public int getPacketPayloadSize ()


The FEC encoding ID is subject to IANA registration (see RFC 3452). Note
that
- value zero corresponds to the "Compact No-Code FEC scheme" also known
as "Null-FEC" (RFC 3695);
- value one corresponds to the "MBMS FEC" (3GPP TS 26.346);
- for values in the range of 0 to 127, inclusive, the FEC scheme is
Fully-Specified, whereas for values in the range of 128 to 255,
inclusive, the FEC scheme is Under-Specified.

@return the FEC encoding ID
public int getFECEncodingID ()


The FEC instance ID provides a more specific identification of the FEC
encoder being used for an Under-Specified FEC scheme. This value should
be set to zero for Fully-Specified FEC schemes and shall be ignored when
parsing a file with an FEC encoding ID in the range of 0 to 127,
inclusive. The FEC instance ID is scoped by the FEC encoding ID. See RFC
3452 for further details.
return  the FEC instance ID
public int getFECInstanceID ()


The maximum source block length gives the maximum number of source
symbols per source block.
return  the maximum source block length
public int getMaxSourceBlockLength ()


The encoding symbol length gives the size (in bytes) of one encoding
symbol. All encoding symbols of one item have the same length, except the
last symbol which may be shorter.
return  the encoding symbol length
public int getEncodingSymbolLength ()


The maximum number of encoding symbols that can be generated for a
source block for those FEC schemes in which the maximum number of
encoding symbols is relevant, such as FEC encoding ID 129 defined in RFC
3452. For those FEC schemes in which the maximum number of encoding
symbols is not relevant, the semantics of this field is unspecified.
return  the maximum number of encoding symbols
public int getMaxNumberOfEncodingSymbols ()


The scheme specific info is a String of the scheme-specific object
transfer information (FEC-OTI-Scheme-Specific-Info). The definition of
the information depends on the EC encoding ID.
return  the scheme specific info
public String getSchemeSpecificInfo ()


A block count indicates the number of consecutive source blocks with a
specified size.
return  all block counts
public int[] getBlockCounts ()


A block size indicates the size of a block (in bytes). A block_size that
is not a multiple of the encoding symbol length indicates with Compact
No-Code FEC that the last source symbols includes padding that is not
stored in the item. With MBMS FEC (3GPP TS 26.346) the padding may extend
across multiple symbols but the size of padding should never be more than
the encoding symbol length.
return  all block sizes
public long[] getBlockSizes ()