Safe Haskell | None |
---|---|
Language | Haskell2010 |
- class HasPtr a where
- newtype AVFormatContext = AVFormatContext (Ptr ())
- class HasNumStreams t where
- getNumStreams :: t -> IO CInt
- setNumStreams :: t -> CInt -> IO ()
- hasNumStreams :: t -> Ptr CInt
- class HasStreams t where
- getStreams :: t -> IO (Ptr AVStream)
- setStreams :: t -> Ptr AVStream -> IO ()
- hasStreams :: t -> Ptr (Ptr AVStream)
- class HasOutputFormat t where
- getOutputFormat :: t -> IO AVOutputFormat
- setOutputFormat :: t -> AVOutputFormat -> IO ()
- hasOutputFormat :: t -> Ptr AVOutputFormat
- class HasIOContext t where
- getIOContext :: t -> IO AVIOContext
- setIOContext :: t -> AVIOContext -> IO ()
- hasIOContext :: t -> Ptr AVIOContext
- newtype AVCodecContext = AVCodecContext (Ptr ())
- class HasBitRate t where
- getBitRate :: t -> IO CInt
- setBitRate :: t -> CInt -> IO ()
- hasBitRate :: t -> Ptr CInt
- class HasWidth t where
- class HasHeight t where
- class HasTimeBase t where
- getTimeBase :: t -> IO AVRational
- setTimeBase :: t -> AVRational -> IO ()
- hasTimeBase :: t -> Ptr AVRational
- class HasGopSize t where
- getGopSize :: t -> IO CInt
- setGopSize :: t -> CInt -> IO ()
- hasGopSize :: t -> Ptr CInt
- class HasPixelFormat t where
- getPixelFormat :: t -> IO AVPixelFormat
- setPixelFormat :: t -> AVPixelFormat -> IO ()
- hasPixelFormat :: t -> Ptr AVPixelFormat
- class HasCodecFlags t where
- getCodecFlags :: t -> IO CodecFlag
- setCodecFlags :: t -> CodecFlag -> IO ()
- hasCodecFlags :: t -> Ptr CodecFlag
- class HasCodecID t where
- getCodecID :: t -> IO AVCodecID
- setCodecID :: t -> AVCodecID -> IO ()
- hasCodecID :: t -> Ptr AVCodecID
- class HasPrivData t where
- getPrivData :: t -> IO (Ptr ())
- setPrivData :: t -> Ptr () -> IO ()
- hasPrivData :: t -> Ptr (Ptr ())
- newtype AVStream = AVStream (Ptr ())
- class HasId t where
- class HasCodecContext t where
- getCodecContext :: t -> IO AVCodecContext
- setCodecContext :: t -> AVCodecContext -> IO ()
- hasCodecContext :: t -> Ptr AVCodecContext
- class HasStreamIndex t where
- getStreamIndex :: t -> IO CInt
- setStreamIndex :: t -> CInt -> IO ()
- hasStreamIndex :: t -> Ptr CInt
- newtype AVCodec = AVCodec (Ptr ())
- class HasLongName t where
- getLongName :: t -> IO CString
- setLongName :: t -> CString -> IO ()
- hasLongName :: t -> Ptr CString
- class HasName t where
- class HasPixelFormats t where
- getPixelFormats :: t -> IO (Ptr AVPixelFormat)
- setPixelFormats :: t -> Ptr AVPixelFormat -> IO ()
- hasPixelFormats :: t -> Ptr (Ptr AVPixelFormat)
- newtype AVDictionary = AVDictionary (Ptr ())
- newtype AVFrame = AVFrame (Ptr ())
- class HasPts t where
- class HasPktPts t where
- class HasLineSize t where
- getLineSize :: t -> IO CInt
- setLineSize :: t -> CInt -> IO ()
- hasLineSize :: t -> Ptr CInt
- newtype AVPicture = AVPicture (Ptr ())
- newtype SwsContext = SwsContext (Ptr ())
- newtype AVOutputFormat = AVOutputFormat (Ptr ())
- class HasFormatFlags t where
- getFormatFlags :: t -> IO FormatFlag
- setFormatFlags :: t -> FormatFlag -> IO ()
- hasFormatFlags :: t -> Ptr FormatFlag
- class HasVideoCodecID t where
- getVideoCodecID :: t -> IO AVCodecID
- setVideoCodecID :: t -> AVCodecID -> IO ()
- hasVideoCodecID :: t -> Ptr AVCodecID
- newtype AVIOContext = AVIOContext (Ptr ())
- newtype AVPacket = AVPacket (Ptr ())
- class HasData t where
- class HasSize t where
- class HasPacketFlags t where
- getPacketFlags :: t -> IO PacketFlag
- setPacketFlags :: t -> PacketFlag -> IO ()
- hasPacketFlags :: t -> Ptr PacketFlag
- class HasDts t where
- packetSize :: Int
- pictureSize :: Int
- data AVRational = AVRational {
- numerator :: CInt
- denomenator :: CInt
- av_rescale_rnd :: CLong -> CLong -> CLong -> AVRoundMode -> CLong
- av_q2d :: AVRational -> CDouble
- av_rescale_q :: CLong -> AVRational -> AVRational -> CLong
- data AVFrac = AVFrac {}
Documentation
newtype AVFormatContext Source
AVFormatContext (Ptr ()) |
class HasNumStreams t where Source
getNumStreams :: t -> IO CInt Source
setNumStreams :: t -> CInt -> IO () Source
hasNumStreams :: t -> Ptr CInt Source
class HasStreams t where Source
getStreams :: t -> IO (Ptr AVStream) Source
setStreams :: t -> Ptr AVStream -> IO () Source
hasStreams :: t -> Ptr (Ptr AVStream) Source
class HasOutputFormat t where Source
getOutputFormat :: t -> IO AVOutputFormat Source
setOutputFormat :: t -> AVOutputFormat -> IO () Source
hasOutputFormat :: t -> Ptr AVOutputFormat Source
class HasIOContext t where Source
getIOContext :: t -> IO AVIOContext Source
setIOContext :: t -> AVIOContext -> IO () Source
hasIOContext :: t -> Ptr AVIOContext Source
newtype AVCodecContext Source
AVCodecContext (Ptr ()) |
class HasBitRate t where Source
getBitRate :: t -> IO CInt Source
setBitRate :: t -> CInt -> IO () Source
hasBitRate :: t -> Ptr CInt Source
class HasTimeBase t where Source
getTimeBase :: t -> IO AVRational Source
setTimeBase :: t -> AVRational -> IO () Source
hasTimeBase :: t -> Ptr AVRational Source
class HasGopSize t where Source
getGopSize :: t -> IO CInt Source
setGopSize :: t -> CInt -> IO () Source
hasGopSize :: t -> Ptr CInt Source
class HasPixelFormat t where Source
getPixelFormat :: t -> IO AVPixelFormat Source
setPixelFormat :: t -> AVPixelFormat -> IO () Source
hasPixelFormat :: t -> Ptr AVPixelFormat Source
class HasCodecFlags t where Source
getCodecFlags :: t -> IO CodecFlag Source
setCodecFlags :: t -> CodecFlag -> IO () Source
hasCodecFlags :: t -> Ptr CodecFlag Source
class HasCodecID t where Source
getCodecID :: t -> IO AVCodecID Source
setCodecID :: t -> AVCodecID -> IO () Source
hasCodecID :: t -> Ptr AVCodecID Source
class HasPrivData t where Source
getPrivData :: t -> IO (Ptr ()) Source
setPrivData :: t -> Ptr () -> IO () Source
hasPrivData :: t -> Ptr (Ptr ()) Source
class HasCodecContext t where Source
getCodecContext :: t -> IO AVCodecContext Source
setCodecContext :: t -> AVCodecContext -> IO () Source
hasCodecContext :: t -> Ptr AVCodecContext Source
class HasStreamIndex t where Source
getStreamIndex :: t -> IO CInt Source
setStreamIndex :: t -> CInt -> IO () Source
hasStreamIndex :: t -> Ptr CInt Source
class HasLongName t where Source
getLongName :: t -> IO CString Source
setLongName :: t -> CString -> IO () Source
hasLongName :: t -> Ptr CString Source
class HasPixelFormats t where Source
getPixelFormats :: t -> IO (Ptr AVPixelFormat) Source
setPixelFormats :: t -> Ptr AVPixelFormat -> IO () Source
hasPixelFormats :: t -> Ptr (Ptr AVPixelFormat) Source
class HasLineSize t where Source
getLineSize :: t -> IO CInt Source
setLineSize :: t -> CInt -> IO () Source
hasLineSize :: t -> Ptr CInt Source
newtype AVOutputFormat Source
AVOutputFormat (Ptr ()) |
class HasFormatFlags t where Source
getFormatFlags :: t -> IO FormatFlag Source
setFormatFlags :: t -> FormatFlag -> IO () Source
hasFormatFlags :: t -> Ptr FormatFlag Source
class HasVideoCodecID t where Source
getVideoCodecID :: t -> IO AVCodecID Source
setVideoCodecID :: t -> AVCodecID -> IO () Source
hasVideoCodecID :: t -> Ptr AVCodecID Source
class HasPacketFlags t where Source
getPacketFlags :: t -> IO PacketFlag Source
setPacketFlags :: t -> PacketFlag -> IO () Source
hasPacketFlags :: t -> Ptr PacketFlag Source
packetSize :: Int Source
sizeof
the AVPacket
structure in bytes.
pictureSize :: Int Source
Types with Haskell equivalents
data AVRational Source
AVRational | |
|
av_rescale_rnd :: CLong -> CLong -> CLong -> AVRoundMode -> CLong Source
av_q2d :: AVRational -> CDouble Source
Convert an AVRational
to a Double
av_rescale_q :: CLong -> AVRational -> AVRational -> CLong Source
Rescale an integer from one time base to another.