2024-12-04 08:06:35 +00:00
|
|
|
#pragma once
|
2024-10-08 02:29:00 +00:00
|
|
|
|
|
|
|
#include <filesystem>
|
|
|
|
|
2024-10-10 07:23:13 +00:00
|
|
|
extern "C" {
|
2024-10-08 02:29:00 +00:00
|
|
|
#include <libavcodec/avcodec.h>
|
|
|
|
#include <libavfilter/avfilter.h>
|
2024-10-10 07:23:13 +00:00
|
|
|
}
|
2024-10-08 02:29:00 +00:00
|
|
|
|
|
|
|
int init_libplacebo(
|
|
|
|
AVFilterGraph **filter_graph,
|
|
|
|
AVFilterContext **buffersrc_ctx,
|
|
|
|
AVFilterContext **buffersink_ctx,
|
|
|
|
AVCodecContext *dec_ctx,
|
2024-10-21 23:54:22 +00:00
|
|
|
int out_width,
|
|
|
|
int out_height,
|
2024-11-04 00:00:00 +00:00
|
|
|
uint32_t vk_device_index,
|
2024-10-08 02:29:00 +00:00
|
|
|
const std::filesystem::path &shader_path
|
|
|
|
);
|