mirror of
https://github.com/k4yt3x/video2x.git
synced 2026-02-11 15:34:56 +08:00
feat(*): rewritten the project with C/C++ (#1172)
This commit is contained in:
15
include/decoder.h
Normal file
15
include/decoder.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef DECODER_H
|
||||
#define DECODER_H
|
||||
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libavfilter/avfilter.h>
|
||||
#include <libavformat/avformat.h>
|
||||
|
||||
int init_decoder(
|
||||
const char *input_filename,
|
||||
AVFormatContext **fmt_ctx,
|
||||
AVCodecContext **dec_ctx,
|
||||
int *video_stream_index
|
||||
);
|
||||
|
||||
#endif // DECODER_H
|
||||
Reference in New Issue
Block a user