X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=vaapi_jpeg_decoder.h;h=4182cfc3d0405c66208093d0de540d360861f83e;hb=3795723be95f2fe82f3c8b8b45b1a905b2c811fd;hp=4ab957e01a9099a7a0b36791da970c2448b9f735;hpb=cf158af1c2219bd9f5a9bc531fb3c1133d327b45;p=nageru diff --git a/vaapi_jpeg_decoder.h b/vaapi_jpeg_decoder.h index 4ab957e..4182cfc 100644 --- a/vaapi_jpeg_decoder.h +++ b/vaapi_jpeg_decoder.h @@ -2,13 +2,12 @@ #define _VAAPI_JPEG_DECODER_H 1 #include -#include - -#include #include +#include +#include struct Frame; - + struct VADisplayWithCleanup { ~VADisplayWithCleanup(); @@ -20,8 +19,8 @@ std::unique_ptr va_open_display(const std::string &va_disp std::string get_usable_va_display(); void init_jpeg_vaapi(); -std::shared_ptr decode_jpeg_vaapi(const std::string &filename); +std::shared_ptr decode_jpeg_vaapi(const std::string &jpeg); extern bool vaapi_jpeg_decoding_usable; - + #endif // !defined(_VAAPI_JPEG_DECODER_H)