mirror of
https://github.com/k4yt3x/video2x.git
synced 2024-12-28 06:59:11 +00:00
20 lines
395 B
C++
20 lines
395 B
C++
#pragma once
|
|
|
|
#include <filesystem>
|
|
|
|
extern "C" {
|
|
#include <libavcodec/avcodec.h>
|
|
#include <libavfilter/avfilter.h>
|
|
}
|
|
|
|
int init_libplacebo(
|
|
AVFilterGraph **filter_graph,
|
|
AVFilterContext **buffersrc_ctx,
|
|
AVFilterContext **buffersink_ctx,
|
|
AVCodecContext *dec_ctx,
|
|
int out_width,
|
|
int out_height,
|
|
uint32_t vk_device_index,
|
|
const std::filesystem::path &shader_path
|
|
);
|