|
Sunshine master
Self-hosted game stream host for Moonlight.
|
Temporary retain wrapper used while AV image data is borrowed. More...
#include <src/platform/macos/av_img_t.h>
Public Member Functions | |
| temp_retain_av_img_t (std::shared_ptr< av_sample_buf_t > sb, std::shared_ptr< av_pixel_buf_t > pb, uint8_t *dt) | |
| Construct a temporary AV image retain wrapper. | |
Public Attributes | |
| uint8_t * | data |
| Pointer to the locked pixel buffer bytes. | |
| std::shared_ptr< av_pixel_buf_t > | pixel_buffer |
Pixel buffer kept locked while data is borrowed. | |
| std::shared_ptr< av_sample_buf_t > | sample_buffer |
Sample buffer kept alive while data is borrowed. | |
Temporary retain wrapper used while AV image data is borrowed.
|
inline |
Construct a temporary AV image retain wrapper.
| sb | Sample buffer to retain. |
| pb | Pixel buffer to retain. |
| dt | Image data pointer. |