Sunshine0.0.5917
Sunshine 0.0.5917
Self-hosted game stream host for Moonlight.
Loading...
Searching...
No Matches
pipewire::img_descriptor_t Struct Reference

Pipewire image assembled for encoding. More...

Inheritance diagram for pipewire::img_descriptor_t:
Collaboration diagram for pipewire::img_descriptor_t:

Public Attributes

bool data_owned = false
 Whether img->data is owned by this image and must be freed.
Public Attributes inherited from egl::img_descriptor_t
std::optional< uint64_t > pts
 PipeWire presentation timestamp.
std::optional< bool > pw_damage
 Whether PipeWire damage tracking should be used.
std::optional< uint32_t > pw_flags
 PipeWire frame flags reported with the buffer.
surface_descriptor_t sd
 DMA-BUF surface descriptor for the captured image.
std::optional< uint64_t > seq
 PipeWire frame sequence number.
std::uint64_t sequence
 Monotonic value used to detect when GL resources must be recreated.
bool y_invert {false}
 Whether the shader should invert the Y axis.
Public Attributes inherited from egl::cursor_t
std::vector< std::uint8_t > buffer
 Cursor image pixels.
unsigned long serial
 X11 cursor serial used to detect cursor image changes.
int src_h
 Cursor source image height in pixels.
int src_w
 Cursor source image width in pixels.
int x
 Cursor hotspot or surface X coordinate.
int y
 Cursor hotspot or surface Y coordinate.
Public Attributes inherited from platf::img_t
std::uint8_t * data {}
 Pointer to the captured image buffer.
std::optional< std::chrono::steady_clock::time_point > frame_timestamp
 Capture timestamp associated with the frame.
std::int32_t height {}
 Image height in pixels.
std::int32_t pixel_pitch {}
 Bytes per pixel in the image buffer.
std::int32_t row_pitch {}
 Bytes between consecutive image rows.
std::int32_t width {}
 Image width in pixels.

Additional Inherited Members

Public Member Functions inherited from egl::img_descriptor_t
void reset ()
 Reset the object to its initial empty state.
Public Member Functions inherited from platf::img_t
 img_t (const img_t &)=delete
 img_t (img_t &&)=delete
img_t & operator= (const img_t &)=delete
img_t & operator= (img_t &&)=delete
virtual ~img_t ()=default
 Destroy the image.

Detailed Description

Pipewire image assembled for encoding.


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