From f7bca9dd7f6a9a81219c2fb9b93d24b39826ae1c Mon Sep 17 00:00:00 2001 From: Rodrigo Braz Monteiro Date: Thu, 23 Feb 2006 19:41:32 +0000 Subject: [PATCH] Commented video provider interface Originally committed to SVN as r126. --- core/video_provider.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/core/video_provider.h b/core/video_provider.h index 7c1ebff87..444d36107 100644 --- a/core/video_provider.h +++ b/core/video_provider.h @@ -43,21 +43,21 @@ class VideoProvider { public: virtual ~VideoProvider() {} - virtual void RefreshSubtitles()=0; - virtual void SetDAR(double _dar)=0; - virtual void SetZoom(double _zoom)=0; + virtual void RefreshSubtitles()=0; // Refresh subtitles display - virtual wxBitmap GetFrame(int n)=0; - virtual void GetFloatFrame(float* Buffer, int n)=0; + virtual wxBitmap GetFrame(int n)=0; // Get frame as bitmap + virtual void GetFloatFrame(float* Buffer, int n)=0; // Get frame as float (for FexTracker) - virtual int GetPosition()=0; - virtual int GetFrameCount()=0; - virtual double GetFPS()=0; + virtual int GetPosition()=0; // Get the current frame being displayed + virtual int GetFrameCount()=0; // Get total number of frames + virtual double GetFPS()=0; // Get framerate in frames per second - virtual int GetWidth()=0; - virtual int GetHeight()=0; - virtual double GetZoom()=0; + virtual void SetDAR(double dar)=0; // Set display aspect ratio (width/height) + virtual void SetZoom(double zoom)=0; // Set zoom factor + virtual int GetWidth()=0; // Returns the display width in pixels + virtual int GetHeight()=0; // Returns the display height in pixels + virtual double GetZoom()=0; // Returns the zoom factor - virtual int GetSourceWidth()=0; - virtual int GetSourceHeight()=0; + virtual int GetSourceWidth()=0; // Returns the original source width in pixels + virtual int GetSourceHeight()=0; // Returns the original source height in pixels };