Commit 2388bcfd authored by nshah's avatar nshah

OCVET-260 OCVET-271 OCVET-275, Checking the latest stubs in, 16/May/13, 4:36pm

parent b7b722ba
// COPYRIGHT_BEGIN
// DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
//
// Copyright (C) 2008-2009, Cable Television Laboratories, Inc.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, version 2. This program is distributed
// in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
// even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License along
// with this program. If not, see <http://www.gnu.org/licenses/>.
//
// Please contact CableLabs if you need additional information or
// have any questions.
//
// CableLabs
// 858 Coal Creek Cir
// Louisville, CO 80027-9750
// 303 661-9100
// oc-mail@cablelabs.com
//
// If you or the company you represent has a separate agreement with CableLabs
// concerning the use of this code, your rights and obligations with respect
// to this code shall be as set forth therein. No license is granted hereunder
// for any other purpose.
// COPYRIGHT_END
package org.ocap.hn.content;
/**
......@@ -9,15 +39,15 @@ public interface StreamableContentResource extends ContentResource
/**
* Gets the duration of this content.
*
* @return the duration of the content.
* @return the duration of the content or null if the duration is not known.
*/
public javax.media.Time getDuration();
/**
* Gets the Bitrate this content is encoded with or -1 if not known.
*
* @return the bit rate of the content in bytes per second or -1 if
* not known.
* @return the bit rate of the content in bytes per second or -1 if the bit rate is not
* known.
*/
public long getBitrate();
}
// COPYRIGHT_BEGIN
// DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
//
// Copyright (C) 2008-2009, Cable Television Laboratories, Inc.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, version 2. This program is distributed
// in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
// even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License along
// with this program. If not, see <http://www.gnu.org/licenses/>.
//
// Please contact CableLabs if you need additional information or
// have any questions.
//
// CableLabs
// 858 Coal Creek Cir
// Louisville, CO 80027-9750
// 303 661-9100
// oc-mail@cablelabs.com
//
// If you or the company you represent has a separate agreement with CableLabs
// concerning the use of this code, your rights and obligations with respect
// to this code shall be as set forth therein. No license is granted hereunder
// for any other purpose.
// COPYRIGHT_END
package org.ocap.hn.content;
import java.awt.Dimension;
/**
* ContentResource to identify that a content item contains video/still image material.
* ContentResource to identify that a content item contains video/still image
* material.
*/
public interface VideoResource extends ContentResource {
/**
* Returns the resolution of the video/still image.
* @return the resolution of the video/still image
*/
public Dimension getResolution();
/**
* Returns the color depth (in bits) of the video/still image.
* @return the color depth (in bits) of the video/still image.
*/
public int getColorDepth();
public interface VideoResource extends ContentResource
{
/**
* Returns the resolution of the video/still image.
*
* @return the resolution of the video/still image or null if the resolution is not known.
*/
public Dimension getResolution();
/**
* Returns the color depth (in bits) of the video/still image.
*
* @return the color depth (in bits) of the video/still image or -1 if the color depth is not known.
*/
public int getColorDepth();
}
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