mirror of
https://github.com/k4yt3x/video2x.git
synced 2026-02-04 03:22:07 +08:00
refactor(libvideo2x): extracted video frame count estimation into a function
Signed-off-by: k4yt3x <i@k4yt3x.com>
This commit is contained in:
10
include/libvideo2x/avutils.h
Normal file
10
include/libvideo2x/avutils.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef AVUTILS_H
|
||||
#define AVUTILS_H
|
||||
|
||||
extern "C" {
|
||||
#include <libavformat/avformat.h>
|
||||
}
|
||||
|
||||
int64_t get_video_frame_count(AVFormatContext *ifmt_ctx, int in_vstream_idx);
|
||||
|
||||
#endif // AVUTILS_H
|
||||
Reference in New Issue
Block a user