X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=futatabi%2Fjpeg_frame_view.h;h=9af7d2cb7e05f2b30eac4bc9c1841e6239805cd0;hb=b7a32af3a037f9fa70cf54f992314f68279c1204;hp=38ffd412b61b5610cc68e8fa6e646e6901f68571;hpb=9b7d691b4cc5db7dbfc18c82e86c1207fcac4722;p=nageru
diff --git a/futatabi/jpeg_frame_view.h b/futatabi/jpeg_frame_view.h
index 38ffd41..9af7d2c 100644
--- a/futatabi/jpeg_frame_view.h
+++ b/futatabi/jpeg_frame_view.h
@@ -20,8 +20,9 @@ enum CacheMissBehavior {
RETURN_NULLPTR_IF_NOT_IN_CACHE
};
-std::shared_ptr decode_jpeg(const std::string &filename);
+std::shared_ptr decode_jpeg(const std::string &jpeg);
std::shared_ptr decode_jpeg_with_cache(FrameOnDisk id, CacheMissBehavior cache_miss_behavior, FrameReader *frame_reader, bool *did_decode);
+std::shared_ptr get_black_frame();
class JPEGFrameView : public QGLWidget {
Q_OBJECT