static std::unique_ptr<VADisplayWithCleanup> try_open_va(const std::string &va_display, std::string *error, VAConfigID *config_id);
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};
+ std::atomic<int64_t> metric_mjpeg_frames_interlaced_dropped{0};
+ std::atomic<int64_t> metric_mjpeg_frames_unsupported_pixel_format_dropped{0};
+ std::atomic<int64_t> metric_mjpeg_frames_oversized_dropped{0};
+ std::atomic<int64_t> metric_mjpeg_overrun_dropped{0};
+ std::atomic<int64_t> metric_mjpeg_overrun_submitted{0};
};
#endif // !defined(_MJPEG_ENCODER_H)