org.ocap.media.S3DConfiguration Maven / Gradle / Ivy
package org.ocap.media;
/**
* This interface represents a 3D frame packing payload as defined in [OCCEP].
*/
public interface S3DConfiguration
{
/**
* MPEG-2 user_data_type_code for the user_data_3d_structure defined in
* [OCCEP].
*/
public static final int S3D_MPEG2_USER_DATA_TYPE = 7;
/**
* AVC SEI payload type for 3D frame packing arrangement defined in [OCCEP].
*/
public static final int S3D_AVC_SEI_PAYLOAD_TYPE = 45;
/**
* Gets the data type of the 3D content.
* Returns S3D_MPEG2_USER_DATA_TYPE
when the stream type is
* MPEG2_VIDEO
, or S3D_AVC_SEI_PAYLOAD_TYPE
* when the stream type is AVC_VIDEO
. Note: other data
* types may be added in the future.
*
* @return The data type of the 3D content.
*/
public int getDataType();
/**
* Gets the 3D content format type. See S3DFormatTypes
* for possible return values.
*
* @return The 3D content format type.
*/
public int getFormatType();
/**
* Gets the payload of the 3DTV information description message. The byte
* array format will match the definition for the data type returned by the
* getDataType
method.
*/
public byte [] getPayload();
}