Loading...
Searching...
No Matches
GPUVideoDecoderFactory.hpp
1#pragma once
2#include <Gfx/Graph/decoders/GPUVideoDecoder.hpp>
3
4#include <Video/VideoInterface.hpp>
5
6#include <memory>
7#include <string>
8
9extern "C" {
10#include <libavutil/pixfmt.h>
11}
12
13namespace score::gfx
14{
15
26SCORE_PLUGIN_GFX_EXPORT
27std::unique_ptr<GPUVideoDecoder> createGPUVideoDecoder(
28 Video::ImageFormat& format, const std::string& filter = {});
29
30} // namespace score::gfx
Graphics rendering pipeline for ossia score.
Definition Filter/PreviewWidget.hpp:12
std::unique_ptr< GPUVideoDecoder > createGPUVideoDecoder(Video::ImageFormat &format, const std::string &filter)
Creates the appropriate GPUVideoDecoder for a given pixel format.
Definition GPUVideoDecoderFactory.cpp:40
Definition VideoInterface.hpp:26