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

Safe HaskellNone
LanguageHaskell2010

Codec.FFmpeg.Types

Contents

Synopsis

Documentation

newtype AVFormatContext Source #

Constructors

AVFormatContext (Ptr ()) 

Instances

Storable AVFormatContext Source # 
HasInputFormat AVFormatContext Source # 
HasIOContext AVFormatContext Source # 
HasOutputFormat AVFormatContext Source # 
HasStreams AVFormatContext Source # 
HasNumStreams AVFormatContext Source # 
HasPtr AVFormatContext Source # 

newtype AVCodecContext Source #

Constructors

AVCodecContext (Ptr ()) 

Instances

Storable AVCodecContext Source # 
HasPrivData AVCodecContext Source # 
HasCodecID AVCodecContext Source # 
HasCodecFlags AVCodecContext Source # 
HasPixelFormat AVCodecContext Source # 
HasGopSize AVCodecContext Source # 
HasTimeBase AVCodecContext Source # 
HasHeight AVCodecContext Source # 
HasWidth AVCodecContext Source # 
HasBitRate AVCodecContext Source # 
HasPtr AVCodecContext Source # 

Methods

getPtr :: AVCodecContext -> Ptr () Source #

class HasPrivData t where Source #

Minimal complete definition

getPrivData, setPrivData, hasPrivData

Methods

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

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

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

class HasId t where Source #

Minimal complete definition

getId, setId, hasId

Methods

getId :: t -> IO CInt Source #

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

hasId :: t -> Ptr CInt Source #

class HasName t where Source #

Minimal complete definition

getName, setName, hasName

Methods

getName :: t -> IO CString Source #

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

hasName :: t -> Ptr CString Source #

newtype AVFrame Source #

Constructors

AVFrame (Ptr ()) 

Instances

Storable AVFrame Source # 
HasData AVFrame Source # 

Methods

getData :: AVFrame -> IO (Ptr ()) Source #

setData :: AVFrame -> Ptr () -> IO () Source #

hasData :: AVFrame -> Ptr (Ptr ()) Source #

HasLineSize AVFrame Source # 
HasPktPts AVFrame Source # 
HasPts AVFrame Source # 
HasPixelFormat AVFrame Source # 
HasHeight AVFrame Source # 
HasWidth AVFrame Source # 
HasPtr AVFrame Source # 

Methods

getPtr :: AVFrame -> Ptr () Source #

SwsCompatible AVFrame Source # 

Methods

swsPlanes :: AVFrame -> (Ptr (Ptr CUChar) -> IO r) -> IO r Source #

swsStrides :: AVFrame -> (Ptr CInt -> IO r) -> IO r Source #

sliceHeight :: AVFrame -> (CInt -> IO r) -> IO r Source #

class HasPts t where Source #

Minimal complete definition

getPts, setPts, hasPts

Methods

getPts :: t -> IO CLong Source #

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

hasPts :: t -> Ptr CLong Source #

class HasPktPts t where Source #

Minimal complete definition

getPktPts, setPktPts, hasPktPts

Methods

getPktPts :: t -> IO CLong Source #

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

hasPktPts :: t -> Ptr CLong Source #

newtype AVClass Source #

Constructors

AVClass (Ptr ()) 

newtype AVPacket Source #

Constructors

AVPacket (Ptr ()) 

class HasData t where Source #

Minimal complete definition

getData, setData, hasData

Methods

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

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

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

class HasSize t where Source #

Minimal complete definition

getSize, setSize, hasSize

Methods

getSize :: t -> IO CInt Source #

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

hasSize :: t -> Ptr CInt Source #

class HasDts t where Source #

Minimal complete definition

getDts, setDts, hasDts

Methods

getDts :: t -> IO CLong Source #

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

hasDts :: t -> Ptr CLong Source #

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

data InputSource Source #

The input source can be a file or a camera. When using Camera, frequently in the form Camera "0:0" defaultCameraConfig, the first input video device enumerated by libavdevice is selected.