mirror of
https://github.com/k4yt3x/video2x.git
synced 2026-02-04 11:24:41 +08:00
feat(libvideo2x): add optimization for scene detection
Signed-off-by: k4yt3x <i@k4yt3x.com>
This commit is contained in:
@@ -19,7 +19,6 @@ struct EncoderConfig {
|
||||
bool copy_streams = true;
|
||||
|
||||
// Basic video options
|
||||
int frm_rate_mul = 0;
|
||||
AVPixelFormat pix_fmt = AV_PIX_FMT_NONE;
|
||||
|
||||
// Rate control and compression
|
||||
@@ -59,6 +58,7 @@ class Encoder {
|
||||
EncoderConfig &enc_cfg,
|
||||
int width,
|
||||
int height,
|
||||
int frm_rate_mul,
|
||||
int in_vstream_idx
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user