]> git.sesse.net Git - nageru/blobdiff - nageru/mjpeg_encoder.h
Unify VA-API initialization.
[nageru] / nageru / mjpeg_encoder.h
index 93394db3a5cc476b12c0935a8e4bd0e93d9641a8..330784bd94a30121cf30f9b3c7a5bfb1d48d2883 100644 (file)
@@ -190,8 +190,6 @@ private:
        VAResources get_va_resources(unsigned width, unsigned height, uint32_t fourcc);
        void release_va_resources(VAResources resources);
 
-       static std::unique_ptr<VADisplayWithCleanup> try_open_va(const std::string &va_display, std::string *error, VAConfigID *config_id_422, VAConfigID *config_id_420);
-
        uint8_t *tmp_y, *tmp_cbcr, *tmp_cb, *tmp_cr;  // Private to the encoder thread. Used by the libjpeg backend only.
 
        std::atomic<int64_t> metric_mjpeg_frames_zero_size_dropped{0};