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

Safe HaskellNone

Codec.FFmpeg.Types

Contents

Synopsis

Documentation

class HasId t whereSource

Methods

getId :: t -> IO CIntSource

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

hasId :: t -> Ptr CIntSource

Instances

class HasName t whereSource

Instances

class HasPts t whereSource

Methods

getPts :: t -> IO CLongSource

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

hasPts :: t -> Ptr CLongSource

class HasPktPts t whereSource

Instances

newtype SwsContext Source

Constructors

SwsContext (Ptr ()) 

class HasData t whereSource

Methods

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

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

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

class HasSize t whereSource

Methods

getSize :: t -> IO CIntSource

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

hasSize :: t -> Ptr CIntSource

Instances

class HasDts t whereSource

Methods

getDts :: t -> IO CLongSource

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

hasDts :: t -> Ptr CLongSource

Instances

packetSize :: IntSource

sizeof the AVPacket structure in bytes.

Types with Haskell equivalents

av_rescale_q :: CLong -> AVRational -> AVRational -> CLongSource

Rescale an integer from one time base to another.

data AVFrac Source

Constructors

AVFrac 

Fields

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