Sunshine0.0.5917
Sunshine 0.0.5917
Self-hosted game stream host for Moonlight.
Loading...
Searching...
No Matches
cbs::frag_t Class Reference

Owns an FFmpeg coded bitstream fragment and frees fragment buffers on destruction. More...

Inheritance diagram for cbs::frag_t:
Collaboration diagram for cbs::frag_t:

Public Member Functions

 frag_t (frag_t &&o)
 Move-construct a coded bitstream fragment and transfer FFmpeg-owned buffers.
frag_t & operator= (frag_t &&o)
 Move-assign a coded bitstream fragment and transfer FFmpeg-owned buffers.

Detailed Description

Owns an FFmpeg coded bitstream fragment and frees fragment buffers on destruction.

Constructor & Destructor Documentation

◆ frag_t()

cbs::frag_t::frag_t ( frag_t && o)
inline

Move-construct a coded bitstream fragment and transfer FFmpeg-owned buffers.

Parameters
oFragment whose allocated buffers are transferred to this instance.

Member Function Documentation

◆ operator=()

frag_t & cbs::frag_t::operator= ( frag_t && o)
inline

Move-assign a coded bitstream fragment and transfer FFmpeg-owned buffers.

Parameters
oFragment whose allocated buffers are transferred to this instance.
Returns
Reference to this fragment.

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