AV1 support

This commit is contained in:
Patrick Nicolas
2024-08-31 22:07:56 +02:00
parent 8b611ee609
commit 7a42691269
11 changed files with 24 additions and 125 deletions
-4
View File
@@ -24,7 +24,6 @@
#include <vulkan/vulkan_core.h>
struct AVBufferRef;
struct AVFilterGraph;
struct AVFrame;
struct AVCodecContext;
struct AVPacket;
@@ -52,15 +51,12 @@ struct AvDeleter
void
operator()(AVCodecContext *);
void
operator()(AVFilterGraph *);
void
operator()(AVPacket *);
};
using av_buffer_ptr = std::unique_ptr<AVBufferRef, AvDeleter>;
using av_frame_ptr = std::unique_ptr<AVFrame, AvDeleter>;
using av_codec_context_ptr = std::unique_ptr<AVCodecContext, AvDeleter>;
using av_filter_graph_ptr = std::unique_ptr<AVFilterGraph, AvDeleter>;
using av_packet_ptr = std::unique_ptr<AVPacket, AvDeleter>;
av_frame_ptr