Safe Haskell | None |
---|
- 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 whereSource
getNumStreams :: t -> IO CIntSource
setNumStreams :: t -> CInt -> IO ()Source
hasNumStreams :: t -> Ptr CIntSource
class HasStreams t whereSource
getStreams :: t -> IO (Ptr AVStream)Source
setStreams :: t -> Ptr AVStream -> IO ()Source
hasStreams :: t -> Ptr (Ptr AVStream)Source
class HasOutputFormat t whereSource
getOutputFormat :: t -> IO AVOutputFormatSource
setOutputFormat :: t -> AVOutputFormat -> IO ()Source
hasOutputFormat :: t -> Ptr AVOutputFormatSource
class HasIOContext t whereSource
getIOContext :: t -> IO AVIOContextSource
setIOContext :: t -> AVIOContext -> IO ()Source
hasIOContext :: t -> Ptr AVIOContextSource
newtype AVCodecContext Source
AVCodecContext (Ptr ()) |
class HasBitRate t whereSource
getBitRate :: t -> IO CIntSource
setBitRate :: t -> CInt -> IO ()Source
hasBitRate :: t -> Ptr CIntSource
class HasTimeBase t whereSource
getTimeBase :: t -> IO AVRationalSource
setTimeBase :: t -> AVRational -> IO ()Source
hasTimeBase :: t -> Ptr AVRationalSource
class HasGopSize t whereSource
getGopSize :: t -> IO CIntSource
setGopSize :: t -> CInt -> IO ()Source
hasGopSize :: t -> Ptr CIntSource
class HasPixelFormat t whereSource
getPixelFormat :: t -> IO AVPixelFormatSource
setPixelFormat :: t -> AVPixelFormat -> IO ()Source
hasPixelFormat :: t -> Ptr AVPixelFormatSource
class HasCodecFlags t whereSource
getCodecFlags :: t -> IO CodecFlagSource
setCodecFlags :: t -> CodecFlag -> IO ()Source
hasCodecFlags :: t -> Ptr CodecFlagSource
class HasCodecID t whereSource
getCodecID :: t -> IO AVCodecIDSource
setCodecID :: t -> AVCodecID -> IO ()Source
hasCodecID :: t -> Ptr AVCodecIDSource
class HasPrivData t whereSource
getPrivData :: t -> IO (Ptr ())Source
setPrivData :: t -> Ptr () -> IO ()Source
hasPrivData :: t -> Ptr (Ptr ())Source
class HasCodecContext t whereSource
getCodecContext :: t -> IO AVCodecContextSource
setCodecContext :: t -> AVCodecContext -> IO ()Source
hasCodecContext :: t -> Ptr AVCodecContextSource
class HasStreamIndex t whereSource
getStreamIndex :: t -> IO CIntSource
setStreamIndex :: t -> CInt -> IO ()Source
hasStreamIndex :: t -> Ptr CIntSource
class HasLongName t whereSource
getLongName :: t -> IO CStringSource
setLongName :: t -> CString -> IO ()Source
hasLongName :: t -> Ptr CStringSource
class HasPixelFormats t whereSource
getPixelFormats :: t -> IO (Ptr AVPixelFormat)Source
setPixelFormats :: t -> Ptr AVPixelFormat -> IO ()Source
hasPixelFormats :: t -> Ptr (Ptr AVPixelFormat)Source
class HasLineSize t whereSource
getLineSize :: t -> IO CIntSource
setLineSize :: t -> CInt -> IO ()Source
hasLineSize :: t -> Ptr CIntSource
newtype AVOutputFormat Source
AVOutputFormat (Ptr ()) |
class HasFormatFlags t whereSource
getFormatFlags :: t -> IO FormatFlagSource
setFormatFlags :: t -> FormatFlag -> IO ()Source
hasFormatFlags :: t -> Ptr FormatFlagSource
class HasVideoCodecID t whereSource
getVideoCodecID :: t -> IO AVCodecIDSource
setVideoCodecID :: t -> AVCodecID -> IO ()Source
hasVideoCodecID :: t -> Ptr AVCodecIDSource
class HasPacketFlags t whereSource
getPacketFlags :: t -> IO PacketFlagSource
setPacketFlags :: t -> PacketFlag -> IO ()Source
hasPacketFlags :: t -> Ptr PacketFlagSource
sizeof
the AVPacket
structure in bytes.
Types with Haskell equivalents
data AVRational Source
AVRational | |
|
av_rescale_rnd :: CLong -> CLong -> CLong -> AVRoundMode -> CLongSource
av_q2d :: AVRational -> CDoubleSource
Convert an AVRational
to a Double
av_rescale_q :: CLong -> AVRational -> AVRational -> CLongSource
Rescale an integer from one time base to another.