Safe Haskell | None |
---|---|
Language | Haskell2010 |
- class HasPtr a where
- newtype AVFormatContext = AVFormatContext (Ptr ())
- class HasNumStreams t where
- class HasStreams t where
- class HasOutputFormat t where
- class HasIOContext t where
- class HasInputFormat t where
- setFilename :: AVFormatContext -> String -> IO ()
- av_input_video_device_next :: AVInputFormat -> IO AVInputFormat
- setCamera :: AVFormatContext -> IO ()
- avformat_alloc_context :: IO (Ptr ())
- mallocAVFormatContext :: IO AVFormatContext
- newtype AVCodecContext = AVCodecContext (Ptr ())
- class HasBitRate t where
- class HasWidth t where
- class HasHeight t where
- class HasTimeBase t where
- class HasGopSize t where
- class HasPixelFormat t where
- class HasCodecFlags t where
- class HasCodecID t where
- class HasPrivData t where
- newtype AVStream = AVStream (Ptr ())
- class HasId t where
- class HasCodecContext t where
- class HasStreamIndex t where
- newtype AVCodec = AVCodec (Ptr ())
- class HasLongName t where
- class HasName t where
- class HasPixelFormats t where
- newtype AVDictionary = AVDictionary (Ptr ())
- newtype AVFrame = AVFrame (Ptr ())
- class HasPts t where
- class HasPktPts t where
- class HasLineSize t where
- newtype AVPicture = AVPicture (Ptr ())
- newtype SwsContext = SwsContext (Ptr ())
- newtype AVOutputFormat = AVOutputFormat (Ptr ())
- class HasFormatFlags t where
- class HasVideoCodecID t where
- newtype AVInputFormat = AVInputFormat (Ptr ())
- newtype AVClass = AVClass (Ptr ())
- class HasAVClass t where
- getAVCategory :: AVInputFormat -> IO Category
- newtype Category = Category CInt
- avClassCategoryNa :: Category
- avClassCategoryInput :: Category
- avClassCategoryOutput :: Category
- avClassCategoryMuxer :: Category
- avClassCategoryDemuxer :: Category
- newtype AVIOContext = AVIOContext (Ptr ())
- avClassCategoryEncoder :: Category
- newtype AVPacket = AVPacket (Ptr ())
- class HasData t where
- avClassCategoryDecoder :: Category
- class HasSize t where
- class HasPacketFlags t where
- avClassCategoryFilter :: Category
- class HasDts t where
- avClassCategoryBitstreamFilter :: Category
- avClassCategorySwscaler :: Category
- avClassCategorySwresampler :: Category
- avClassCategoryDeviceVideoOutput :: Category
- packetSize :: Int
- avClassCategoryDeviceVideoInput :: Category
- avClassCategoryDeviceAudioOutput :: Category
- pictureSize :: Int
- avClassCategoryDeviceAudioInput :: Category
- avClassCategoryDeviceOutput :: Category
- avClassCategoryDeviceInput :: Category
- data AVRational = AVRational {
- numerator :: CInt
- denomenator :: CInt
- avClassCategoryNb :: Category
- av_rescale_rnd :: CLong -> CLong -> CLong -> AVRoundMode -> CLong
- av_q2d :: AVRational -> CDouble
- av_rescale_q :: CLong -> AVRational -> AVRational -> CLong
- data AVFrac = AVFrac {}
- data InputSource
- data CameraConfig = CameraConfig {}
- defaultCameraConfig :: CameraConfig
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 #
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 #
class HasInputFormat t where Source #
getInputFormat :: t -> IO AVInputFormat Source #
setInputFormat :: t -> AVInputFormat -> IO () Source #
hasInputFormat :: t -> Ptr AVInputFormat Source #
setFilename :: AVFormatContext -> String -> IO () Source #
setCamera :: AVFormatContext -> IO () Source #
avformat_alloc_context :: IO (Ptr ()) 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 #
newtype AVDictionary Source #
AVDictionary (Ptr ()) |
class HasLineSize t where Source #
getLineSize :: t -> IO CInt Source #
setLineSize :: t -> CInt -> IO () Source #
hasLineSize :: t -> Ptr CInt Source #
newtype SwsContext Source #
SwsContext (Ptr ()) |
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 #
newtype AVInputFormat Source #
AVInputFormat (Ptr ()) |
class HasAVClass t where Source #
getAVClass :: t -> IO AVClass Source #
setAVClass :: t -> AVClass -> IO () Source #
hasAVClass :: t -> Ptr AVClass Source #
getAVCategory :: AVInputFormat -> IO Category Source #
newtype AVIOContext Source #
AVIOContext (Ptr ()) |
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.
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.