Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
session_frame.h File Reference

Bounds checking for mapped, packed BGRx capture buffers. More...

#include <cstddef>
#include <cstdint>
#include <cstring>
#include <limits>
#include <vector>
Include dependency graph for session_frame.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool platf::kwin::copy_bgrx (std::vector< std::uint8_t > &destination, const void *mapping, std::size_t mapping_size, std::size_t offset, std::size_t chunk_size, std::int32_t stride, std::uint32_t width, std::uint32_t height)

Detailed Description

Bounds checking for mapped, packed BGRx capture buffers.

Definition in file session_frame.h.

Function Documentation

◆ copy_bgrx()

bool platf::kwin::copy_bgrx ( std::vector< std::uint8_t > & destination,
const void * mapping,
std::size_t mapping_size,
std::size_t offset,
std::size_t chunk_size,
std::int32_t stride,
std::uint32_t width,
std::uint32_t height )
inline

Definition at line 15 of file session_frame.h.