OpenShot Library | libopenshot  1.0.0
Classes | Namespaces | Functions
WaylandBufferUtilities.h File Reference

Bounds-safe helpers for mapped PipeWire video buffers. More...

#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <limits>

Go to the source code of this file.

Classes

struct  openshot::wayland::PackedVideoLayout
 

Namespaces

 openshot
 This namespace is the default namespace for all code in the openshot library.
 
 openshot::wayland
 

Functions

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)
 
int openshot::wayland::DamageFrameWaitMilliseconds (int fps_num, int fps_den, bool have_last_frame)
 
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)
 

Detailed Description

Bounds-safe helpers for mapped PipeWire video buffers.

Definition in file WaylandBufferUtilities.h.