aboutsummaryrefslogtreecommitdiff
path: root/include/encoder/video/nvenc.h
blob: d4a906b3e07abd1c4757113458a1db9d949a4d1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef GSR_ENCODER_VIDEO_NVENC_H
#define GSR_ENCODER_VIDEO_NVENC_H

#include "video.h"

typedef struct gsr_egl gsr_egl;

typedef struct {
    gsr_egl *egl;
    bool overclock;
    gsr_color_depth color_depth;
} gsr_video_encoder_nvenc_params;

gsr_video_encoder* gsr_video_encoder_nvenc_create(const gsr_video_encoder_nvenc_params *params);

#endif /* GSR_ENCODER_VIDEO_NVENC_H */