Sunshine master
Self-hosted game stream host for Moonlight.
nvenc_encoded_frame.h
Go to the documentation of this file.
1
5#pragma once
6
7// standard includes
8#include <cstdint>
9#include <vector>
10
11namespace nvenc {
12
17 std::vector<uint8_t> data;
18 uint64_t frame_index = 0;
19 bool idr = false;
21 };
22
23} // namespace nvenc
Standalone NVENC encoder.
Definition nvenc_base.cpp:94
Encoded NVENC output frame and metadata needed by the packetizer.
Definition nvenc_encoded_frame.h:16
uint64_t frame_index
Capture-frame index associated with the encoded data.
Definition nvenc_encoded_frame.h:18
bool after_ref_frame_invalidation
Whether the frame follows reference-frame invalidation.
Definition nvenc_encoded_frame.h:20
std::vector< uint8_t > data
Encoded bitstream bytes returned by NVENC.
Definition nvenc_encoded_frame.h:17
bool idr
Whether the encoded frame is an IDR frame.
Definition nvenc_encoded_frame.h:19