feat(win/video): support native YUV 4:4:4 encoding (#2533)
This commit is contained in:
parent
e8c837f412
commit
bfdfcebc80
35 changed files with 1454 additions and 330 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue