Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
Extra buffer metadata for uploading a buffer to an OpenGL texture ID. The caller of gst_video_gl_texture_upload_meta_upload() must have OpenGL set up and call this from a thread where it is valid to upload something to an OpenGL texture.
- newtype VideoGLTextureUploadMeta = VideoGLTextureUploadMeta (ForeignPtr VideoGLTextureUploadMeta)
- newZeroVideoGLTextureUploadMeta :: MonadIO m => m VideoGLTextureUploadMeta
- noVideoGLTextureUploadMeta :: Maybe VideoGLTextureUploadMeta
- videoGLTextureUploadMetaGetInfo :: MonadIO m => m MetaInfo
- data VideoGLTextureUploadMetaUploadMethodInfo
- videoGLTextureUploadMetaUpload :: MonadIO m => VideoGLTextureUploadMeta -> Word32 -> m Bool
- videoGLTextureUploadMetaReadMeta :: VideoGLTextureUploadMeta -> IO Meta
- videoGLTextureUploadMetaReadNTextures :: VideoGLTextureUploadMeta -> IO Word32
- videoGLTextureUploadMetaReadTextureOrientation :: VideoGLTextureUploadMeta -> IO VideoGLTextureOrientation
Exported types
newtype VideoGLTextureUploadMeta Source
((~) * info (ResolveVideoGLTextureUploadMetaMethod t VideoGLTextureUploadMeta), MethodInfo * info VideoGLTextureUploadMeta p) => IsLabel t (VideoGLTextureUploadMeta -> p) Source | |
((~) * info (ResolveVideoGLTextureUploadMetaMethod t VideoGLTextureUploadMeta), MethodInfo * info VideoGLTextureUploadMeta p) => IsLabelProxy t (VideoGLTextureUploadMeta -> p) Source | |
((~) (TYPE Lifted) signature (Word32 -> m Bool), MonadIO m) => MethodInfo (TYPE Lifted) VideoGLTextureUploadMetaUploadMethodInfo VideoGLTextureUploadMeta signature Source | |
newZeroVideoGLTextureUploadMeta :: MonadIO m => m VideoGLTextureUploadMeta Source
Construct a VideoGLTextureUploadMeta
struct initialized to zero.
Methods
videoGLTextureUploadMetaGetInfo
videoGLTextureUploadMetaGetInfo :: MonadIO m => m MetaInfo Source
videoGLTextureUploadMetaUpload
data VideoGLTextureUploadMetaUploadMethodInfo Source
((~) (TYPE Lifted) signature (Word32 -> m Bool), MonadIO m) => MethodInfo (TYPE Lifted) VideoGLTextureUploadMetaUploadMethodInfo VideoGLTextureUploadMeta signature Source | |
videoGLTextureUploadMetaUpload :: MonadIO m => VideoGLTextureUploadMeta -> Word32 -> m Bool Source