Ring Daemon 16.0.0
Loading...
Searching...
No Matches
libjami::VideoFrame Class Reference

#include <videomanager_interface.h>

Inheritance diagram for libjami::VideoFrame:
Inheritance graph
Collaboration diagram for libjami::VideoFrame:
Collaboration graph

Public Member Functions

void copyFrom (const VideoFrame &o)
 
int format () const noexcept
 
int getOrientation () const
 
int height () const noexcept
 
void noise ()
 
void reserve (int format, int width, int height)
 
void reset () noexcept override
 
void setFromMemory (uint8_t *data, int format, int width, int height) noexcept
 
void setFromMemory (uint8_t *data, int format, int width, int height, const std::function< void(uint8_t *)> &cb) noexcept
 
void setReleaseCb (const std::function< void(uint8_t *)> &cb) noexcept
 
std::size_t size () const noexcept
 
 VideoFrame ()
 
int width () const noexcept
 
 ~VideoFrame ()
 
- Public Member Functions inherited from libjami::MediaFrame
void copyFrom (const MediaFrame &o)
 
FrameBuffer getFrame ()
 
 MediaFrame ()
 
 MediaFrame (const MediaFrame &)=delete
 
 MediaFrame (MediaFrame &&o)=delete
 
MediaFrameoperator= (const MediaFrame &o)=delete
 
MediaFrameoperator= (MediaFrame &&o)=delete
 
AVPacket * packet () const noexcept
 
const AVFrame * pointer () const noexcept
 
AVFrame * pointer () noexcept
 
void setPacket (PacketBuffer &&pkt)
 
virtual ~MediaFrame ()=default
 

Additional Inherited Members

- Protected Attributes inherited from libjami::MediaFrame
FrameBuffer frame_
 
PacketBuffer packet_
 

Detailed Description

Definition at line 121 of file videomanager_interface.h.

Constructor & Destructor Documentation

◆ VideoFrame()

libjami::VideoFrame::VideoFrame ( )
inline

Definition at line 125 of file videomanager_interface.h.

◆ ~VideoFrame()

libjami::VideoFrame::~VideoFrame ( )

Member Function Documentation

◆ copyFrom()

void libjami::VideoFrame::copyFrom ( const VideoFrame o)

◆ format()

int libjami::VideoFrame::format ( ) const
noexcept

◆ getOrientation()

int libjami::VideoFrame::getOrientation ( ) const

◆ height()

int libjami::VideoFrame::height ( ) const
noexcept

◆ noise()

void libjami::VideoFrame::noise ( )

◆ reserve()

void libjami::VideoFrame::reserve ( int  format,
int  width,
int  height 
)

◆ reset()

void libjami::VideoFrame::reset ( )
overridevirtualnoexcept

Reimplemented from libjami::MediaFrame.

◆ setFromMemory() [1/2]

void libjami::VideoFrame::setFromMemory ( uint8_t *  data,
int  format,
int  width,
int  height 
)
noexcept

◆ setFromMemory() [2/2]

void libjami::VideoFrame::setFromMemory ( uint8_t *  data,
int  format,
int  width,
int  height,
const std::function< void(uint8_t *)> &  cb 
)
noexcept

◆ setReleaseCb()

void libjami::VideoFrame::setReleaseCb ( const std::function< void(uint8_t *)> &  cb)
noexcept

◆ size()

std::size_t libjami::VideoFrame::size ( ) const
noexcept

◆ width()

int libjami::VideoFrame::width ( ) const
noexcept

The documentation for this class was generated from the following file: