From b6dc64e3d5201b1f3dd0a7b2b021114d532b7c75 Mon Sep 17 00:00:00 2001 From: John Zhao Date: Mon, 9 Apr 2018 09:44:47 +0800 Subject: [PATCH] Empty impl in uvc-libuvc --- src/uvc/uvc-libuvc.cc | 57 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/src/uvc/uvc-libuvc.cc b/src/uvc/uvc-libuvc.cc index f6356f5..b579f51 100644 --- a/src/uvc/uvc-libuvc.cc +++ b/src/uvc/uvc-libuvc.cc @@ -97,6 +97,63 @@ int get_product_id(const device &device) { return device.pid; } +std::string get_name(const device &device) { + // TODO(JohnZhao) + UNUSED(device) + return ""; +} + +std::string get_video_name(const device &device) { + // TODO(JohnZhao) + UNUSED(device) + return ""; +} + +void get_control( + const device &device, const extension_unit &xu, uint8_t ctrl, void *data, + int len) { + // TODO(JohnZhao) + UNUSED(device) + UNUSED(xu) + UNUSED(ctrl) + UNUSED(data) + UNUSED(len) +} + +void set_control( + const device &device, const extension_unit &xu, uint8_t ctrl, void *data, + int len) { + // TODO(JohnZhao) + UNUSED(device) + UNUSED(xu) + UNUSED(ctrl) + UNUSED(data) + UNUSED(len) +} + +void set_device_mode( + device &device, int width, int height, int fourcc, int fps, // NOLINT + video_channel_callback callback) { + // TODO(JohnZhao) + UNUSED(device) + UNUSED(width) + UNUSED(height) + UNUSED(fourcc) + UNUSED(fps) + UNUSED(callback) +} + +void start_streaming(device &device, int num_transfer_bufs) { // NOLINT + // TODO(JohnZhao) + UNUSED(device) + UNUSED(num_transfer_bufs) +} + +void stop_streaming(device &device) { // NOLINT + // TODO(JohnZhao) + UNUSED(device) +} + } // namespace uvc MYNTEYE_END_NAMESPACE