SDL-mpeg-0.0.1: Binding to the SMPEG librarySource codeContentsIndex
Graphics.UI.SDL.MPEG
Synopsis
load :: FilePath -> IO MPEG
loadFd :: Int -> IO MPEG
loadData :: CStringLen -> IO MPEG
loadRWops :: RWops -> IO MPEG
setSurface :: MPEG -> Surface -> Int -> Int -> IO ()
setDisplayRegion :: MPEG -> Rect -> IO ()
renderFrame :: MPEG -> Int -> IO ()
setScale :: MPEG -> Int -> IO ()
setScaleXY :: MPEG -> Int -> Int -> IO ()
enableVideo :: MPEG -> Bool -> IO ()
enableLoop :: MPEG -> Bool -> IO ()
enableAudio :: MPEG -> Bool -> IO ()
pause :: MPEG -> IO ()
stop :: MPEG -> IO ()
rewind :: MPEG -> IO ()
play :: MPEG -> IO ()
module Graphics.UI.SDL.MPEG.Types
module Graphics.UI.SDL.MPEG.General
Documentation
load :: FilePath -> IO MPEGSource
Create a new MPEG object from an MPEG file.
loadFd :: Int -> IO MPEGSource
Create a new MPEG object from a file descriptor.
loadData :: CStringLen -> IO MPEGSource
Create a new MPEG object from a byte string.
loadRWops :: RWops -> IO MPEGSource
Create a new MPEG object from a RWops structure.
setSurface :: MPEG -> Surface -> Int -> Int -> IO ()Source
Set the SDL surface and the position the MPEG object is to be painted on.
setDisplayRegion :: MPEG -> Rect -> IO ()Source
Set the region of the video to be shown.
renderFrame :: MPEG -> Int -> IO ()Source
Render a particular frame in the MPEG video
setScale :: MPEG -> Int -> IO ()Source
setScaleXY :: MPEG -> Int -> Int -> IO ()Source
enableVideo :: MPEG -> Bool -> IO ()Source
enableLoop :: MPEG -> Bool -> IO ()Source
enableAudio :: MPEG -> Bool -> IO ()Source
pause :: MPEG -> IO ()Source
stop :: MPEG -> IO ()Source
rewind :: MPEG -> IO ()Source
play :: MPEG -> IO ()Source
module Graphics.UI.SDL.MPEG.Types
module Graphics.UI.SDL.MPEG.General
Produced by Haddock version 2.4.2