20 struct sunshine_colorspace_t;
SDK-neutral standalone NVENC encoder interface.
Definition nvenc_encoder.h:28
virtual bool invalidate_ref_frames(std::uint64_t first_frame, std::uint64_t last_frame)=0
Invalidate reference frames in the requested range.
virtual nvenc_encoded_frame encode_frame(std::uint64_t frame_index, bool force_idr)=0
Encode the next frame using the platform-specific input surface.
virtual void destroy_encoder()=0
Destroy the encoder.
virtual ~nvenc_encoder()=default
Destroy the SDK-neutral encoder interface.
virtual bool create_encoder(const nvenc_config &config, const video::config_t &client_config, const video::sunshine_colorspace_t &colorspace, platf::pix_fmt_e buffer_format)=0
Create the encoder.
pix_fmt_e
Enumerates supported pix fmt options.
Definition common.h:316
video_t video
Default video configuration values used before file and CLI overrides.
Definition config.cpp:711
Standalone NVENC encoder.
Definition nvenc_base.cpp:185
Declarations for NVENC encoder configuration.
Declarations for NVENC encoded frame.
NVENC encoder configuration.
Definition nvenc_config.h:30
Encoded NVENC output frame and metadata needed by the packetizer.
Definition nvenc_encoded_frame.h:16
Encoding configuration requested by a remote client.
Definition video.h:29
Sunshine colorimetry values derived from stream configuration.
Definition video_colorspace.h:26