Commit fd594de5 authored by nshah's avatar nshah

OCVET-202, v5, 21/Jan/13, 2:54pm

parent 4bccb9d2
package org.ocap.media;
import javax.media.Controller;
/**
* This interface extends org.dvb.media.VideoFormatControl to provide access
* to OCAP-specific info signaled in presented video, such as 3D formatting data.
* <p>
* All instances of {@link org.dvb.media.VideoFormatControl} returned from calls to
* {@link javax.media.Controller#getControl} or {@link javax.media.Controller#getControls}
* within an OCAP implementation SHALL also be instances of
* <code>org.ocap.media.VideoFormatControl</code>.
*/
public interface VideoFormatControl extends org.dvb.media.VideoFormatControl
{
/**
* Returns the 3D configuration info of the video.
* See [OCCEP] for the 3D formatting data definition.
* Returns <code>null</code> if no 3D formatting data is present
* (e.g., in the case of 2D video). Note: Rapid changes in
* 3D signaling may cause the returned S3DConfiguration object
* to be stale as soon as this method completes.
*
*
* @return The signaled 3D formatting data, or <code>null</code> if no
* 3D formatting data is present.
*/
public S3DConfiguration getS3DConfiguration();
}
package org.ocap.media;
import javax.media.Controller;
/**
* This interface extends <code>org.dvb.media.VideoFormatControl</code>
* to provide access to OCAP-specific info signaled in presented video,
* such as 3D formatting data.
* <p>
* All instances of {@link org.dvb.media.VideoFormatControl} returned from
* calls to {@link javax.media.Controller#getControl} or
* {@link javax.media.Controller#getControls} within an OCAP implementation
* SHALL also be instances of <code>org.ocap.media.VideoFormatControl</code>.
*/
public interface VideoFormatControl extends org.dvb.media.VideoFormatControl
{
/**
* Constant indicating an unknown or unspecified line scan mode.
*/
public static final int SCANMODE_UNKNOWN = 0;
/**
* Constant indicating interlaced line scan mode.
*/
public static final int SCANMODE_INTERLACED = 1;
/**
* Constant indicating progressive line scan mode.
*/
public static final int SCANMODE_PROGRESSIVE = 2;
/**
* Returns the 3D configuration info of the video.
* See [OCCEP] for the 3D formatting data definition.
* Returns <code>null</code> if no 3D formatting data is present
* (e.g., in the case of 2D video). Note: Rapid changes in
* 3D signaling may cause the returned S3DConfiguration object
* to be stale as soon as this method completes.
*
*
* @return The signaled 3D formatting data, or <code>null</code> if no
* 3D formatting data is present.
*/
public S3DConfiguration getS3DConfiguration();
/**
* Reports the scan mode of the input video.
* A value of <code>SCANMODE_UNKNOWN</code> MAY be returned,
* indicating that the scan mode is unknown or unspecified.
*
* @return one of {@link #SCANMODE_UNKNOWN},
* {@link #SCANMODE_INTERLACED},
* or {@link #SCANMODE_PROGRESSIVE}.
*/
public int getScanMode();
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment