encode_frame_srgb_to_cpu#

GPUVideoEncoder.encode_frame_srgb_to_cpu(self, input_cuda_ptr: int, output_cpu_ptr: int) int#

Encode one sRGB frame located at ‘input_cuda_ptr’ (CUDA device pointer) and write the bitstream to ‘output_cpu_ptr’ (host pointer). Returns the number of bytes written.