OpenShot Library | libopenshot  1.0.0
Classes | Functions
openshot::wayland Namespace Reference

Classes

struct  PackedVideoLayout
 

Functions

bool CopyWrappedBytes (const uint8_t *source, size_t max_size, size_t chunk_offset, size_t logical_offset, uint8_t *destination, size_t byte_count)
 
int DamageFrameWaitMilliseconds (int fps_num, int fps_den, bool have_last_frame)
 
PackedVideoLayout ResolvePackedVideoLayout (size_t max_size, size_t chunk_offset, size_t chunk_size, int chunk_stride, int stream_width, int stream_height, int crop_x, int crop_y, int crop_width, int crop_height)
 

Function Documentation

◆ CopyWrappedBytes()

bool openshot::wayland::CopyWrappedBytes ( const uint8_t *  source,
size_t  max_size,
size_t  chunk_offset,
size_t  logical_offset,
uint8_t *  destination,
size_t  byte_count 
)
inline

Definition at line 110 of file WaylandBufferUtilities.h.

◆ DamageFrameWaitMilliseconds()

int openshot::wayland::DamageFrameWaitMilliseconds ( int  fps_num,
int  fps_den,
bool  have_last_frame 
)
inline

Definition at line 99 of file WaylandBufferUtilities.h.

Referenced by WaylandScreenCaptureReader::GetFrame().

◆ ResolvePackedVideoLayout()

PackedVideoLayout openshot::wayland::ResolvePackedVideoLayout ( size_t  max_size,
size_t  chunk_offset,
size_t  chunk_size,
int  chunk_stride,
int  stream_width,
int  stream_height,
int  crop_x,
int  crop_y,
int  crop_width,
int  crop_height 
)
inline

Definition at line 33 of file WaylandBufferUtilities.h.