ffmpeg-light-0.7.1: Minimal bindings to the FFmpeg library.

Safe HaskellNone
LanguageHaskell2010

Codec.FFmpeg.Types

Contents

Synopsis

Documentation

class HasBitRate t where Source

Methods

getBitRate :: t -> IO CInt Source

setBitRate :: t -> CInt -> IO () Source

hasBitRate :: t -> Ptr CInt Source

class HasWidth t where Source

Methods

getWidth :: t -> IO CInt Source

setWidth :: t -> CInt -> IO () Source

hasWidth :: t -> Ptr CInt Source

class HasGopSize t where Source

Methods

getGopSize :: t -> IO CInt Source

setGopSize :: t -> CInt -> IO () Source

hasGopSize :: t -> Ptr CInt Source

class HasPrivData t where Source

Methods

getPrivData :: t -> IO (Ptr ()) Source

setPrivData :: t -> Ptr () -> IO () Source

hasPrivData :: t -> Ptr (Ptr ()) Source

class HasId t where Source

Methods

getId :: t -> IO CInt Source

setId :: t -> CInt -> IO () Source

hasId :: t -> Ptr CInt Source

Instances

class HasName t where Source

Methods

getName :: t -> IO CString Source

setName :: t -> CString -> IO () Source

hasName :: t -> Ptr CString Source

Instances

class HasPts t where Source

Methods

getPts :: t -> IO CLong Source

setPts :: t -> CLong -> IO () Source

hasPts :: t -> Ptr CLong Source

class HasPktPts t where Source

Methods

getPktPts :: t -> IO CLong Source

setPktPts :: t -> CLong -> IO () Source

hasPktPts :: t -> Ptr CLong Source

Instances

class HasLineSize t where Source

Instances

newtype SwsContext Source

Constructors

SwsContext (Ptr ()) 

class HasData t where Source

Methods

getData :: t -> IO (Ptr ()) Source

setData :: t -> Ptr () -> IO () Source

hasData :: t -> Ptr (Ptr ()) Source

class HasSize t where Source

Methods

getSize :: t -> IO CInt Source

setSize :: t -> CInt -> IO () Source

hasSize :: t -> Ptr CInt Source

Instances

class HasDts t where Source

Methods

getDts :: t -> IO CLong Source

setDts :: t -> CLong -> IO () Source

hasDts :: t -> Ptr CLong Source

Instances

packetSize :: Int Source

sizeof the AVPacket structure in bytes.

Types with Haskell equivalents

av_rescale_q :: CLong -> AVRational -> AVRational -> CLong Source

Rescale an integer from one time base to another.

data AVFrac Source

Constructors

AVFrac 

Fields

fracVal :: CLong
 
fracNum :: CLong
 
fracDen :: CLong