All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ocap.media.S3DConfiguration Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version
package org.ocap.media;

/**
 *  This interface represents a 3D frame packing payload as defined in [OCCEP].
 */
public interface S3DConfiguration
{
    /**
     * MPEG-2 S3D signaling data defined in
     * [OCCEP].
     */
    public static final int S3D_MPEG2_USER_DATA_TYPE = 2;

    /**
     * AVC SEI payload type for 3D frame packing arrangement defined in [OCCEP].
     */
    public static final int S3D_AVC_SEI_PAYLOAD_TYPE = 1;

    /**
     * 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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy