Sunshine master
Self-hosted game stream host for Moonlight.
nv12_zero_device.h File Reference

Declarations for NV12 zero copy device on macOS. More...

Include dependency graph for nv12_zero_device.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  platf::nv12_zero_device
 macOS zero-copy encode device that forwards NV12 frames from AVFoundation to FFmpeg. More...
 

Functions

void platf::free_frame (AVFrame *frame)
 Release an FFmpeg frame allocated by the capture or conversion backend.
 

Detailed Description

Declarations for NV12 zero copy device on macOS.

Function Documentation

◆ free_frame()

void platf::free_frame ( AVFrame * frame)

Release an FFmpeg frame allocated by the capture or conversion backend.

Parameters
frameVideo or graphics frame being processed.