mirror of
https://github.com/k4yt3x/video2x.git
synced 2026-02-21 14:24:53 +08:00
feat(*): rewritten the project with C/C++ (#1172)
This commit is contained in:
21
include/libplacebo.h
Normal file
21
include/libplacebo.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef PLACEBO_H
|
||||
#define PLACEBO_H
|
||||
|
||||
#include <filesystem>
|
||||
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libavfilter/avfilter.h>
|
||||
#include <libavutil/buffer.h>
|
||||
|
||||
int init_libplacebo(
|
||||
AVFilterGraph **filter_graph,
|
||||
AVFilterContext **buffersrc_ctx,
|
||||
AVFilterContext **buffersink_ctx,
|
||||
AVBufferRef **device_ctx,
|
||||
AVCodecContext *dec_ctx,
|
||||
int output_width,
|
||||
int output_height,
|
||||
const std::filesystem::path &shader_path
|
||||
);
|
||||
|
||||
#endif // PLACEBO_H
|
||||
Reference in New Issue
Block a user