feat(win/video): support native YUV 4:4:4 encoding (#2533)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* @file src/nvenc/nvenc_encoded_frame.h
|
||||
* @brief Declarations for base NVENC encoded frame.
|
||||
* @brief Declarations for NVENC encoded frame.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
@@ -8,10 +8,15 @@
|
||||
#include <vector>
|
||||
|
||||
namespace nvenc {
|
||||
|
||||
/**
|
||||
* @brief Encoded frame.
|
||||
*/
|
||||
struct nvenc_encoded_frame {
|
||||
std::vector<uint8_t> data;
|
||||
uint64_t frame_index = 0;
|
||||
bool idr = false;
|
||||
bool after_ref_frame_invalidation = false;
|
||||
};
|
||||
|
||||
} // namespace nvenc
|
||||
|
||||
Reference in New Issue
Block a user