2013-07-12 21:30:13 +02:00
|
|
|
/*****************************************************************************
|
2013-08-13 20:04:25 +02:00
|
|
|
* Video.h *
|
2013-07-12 21:30:13 +02:00
|
|
|
* *
|
|
|
|
* XFX::Media::Video class definition file *
|
|
|
|
* Copyright (c) XFX Team. All Rights Reserved *
|
|
|
|
*****************************************************************************/
|
2013-05-05 18:18:41 +02:00
|
|
|
#ifndef _XFX_MEDIA_VIDEO_H_
|
|
|
|
#define _XFX_MEDIA_VIDEO_H_
|
|
|
|
|
2013-08-13 20:04:25 +02:00
|
|
|
#include <System/TimeSpan.h>
|
2013-05-05 18:18:41 +02:00
|
|
|
#include "Enums.h"
|
|
|
|
|
2013-08-13 20:04:25 +02:00
|
|
|
using namespace System;
|
|
|
|
|
2013-05-05 18:18:41 +02:00
|
|
|
namespace XFX
|
|
|
|
{
|
|
|
|
namespace Media
|
|
|
|
{
|
2013-07-12 21:30:13 +02:00
|
|
|
/**
|
|
|
|
* Represents a video.
|
|
|
|
*/
|
2013-05-05 18:18:41 +02:00
|
|
|
class Video : public Object
|
|
|
|
{
|
|
|
|
public:
|
2014-03-29 16:17:59 +01:00
|
|
|
/**
|
|
|
|
* Gets the duration of the Video.
|
|
|
|
*/
|
2013-08-20 11:14:55 +02:00
|
|
|
TimeSpan getDuration() const;
|
2014-03-29 16:17:59 +01:00
|
|
|
/**
|
|
|
|
* Gets the frame rate of this video.
|
|
|
|
*/
|
2013-08-20 11:14:55 +02:00
|
|
|
float getFramesPerSecond() const;
|
2014-03-29 16:17:59 +01:00
|
|
|
/**
|
|
|
|
* Gets the height of this video, in pixels.
|
|
|
|
*/
|
2013-08-20 11:14:55 +02:00
|
|
|
int getHeight() const;
|
2014-03-29 16:17:59 +01:00
|
|
|
/**
|
|
|
|
* Gets the VideoSoundtrackType for this video.
|
|
|
|
*/
|
2013-08-20 11:14:55 +02:00
|
|
|
VideoSoundtrackType_t getVideoSoundtrackType() const;
|
2014-03-29 16:17:59 +01:00
|
|
|
/**
|
|
|
|
* Gets the width of this video, in pixels.
|
|
|
|
*/
|
2013-08-20 11:14:55 +02:00
|
|
|
int getWidth() const;
|
2013-05-05 18:18:41 +02:00
|
|
|
|
2013-07-12 21:30:13 +02:00
|
|
|
static const Type& GetType();
|
2013-05-05 18:18:41 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //_XFX_MEDIA_VIDEO_H_
|