From 6de68ce31ca86435525bb48812d61617690ff31c Mon Sep 17 00:00:00 2001 From: Brad Hefta-Gaub Date: Sat, 11 Jan 2014 22:08:15 -0800 Subject: [PATCH] remove LIBVPX from webcam --- interface/src/devices/Webcam.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/interface/src/devices/Webcam.h b/interface/src/devices/Webcam.h index 10b1644eb0..8139a44be3 100644 --- a/interface/src/devices/Webcam.h +++ b/interface/src/devices/Webcam.h @@ -22,7 +22,9 @@ #include #endif +#ifdef LIBVPX #include +#endif #include "InterfaceConfig.h" @@ -90,7 +92,7 @@ private: float _initialFaceDepth; JointVector _joints; KeyPointVector _keyPoints; - + glm::quat _initialLEDRotation; glm::vec3 _initialLEDPosition; float _initialLEDScale; @@ -148,8 +150,10 @@ private: cv::Mat _grayDepthFrame; float _smoothedMidFaceDepth; +#ifdef LIBVPX vpx_codec_ctx_t _colorCodec; vpx_codec_ctx_t _depthCodec; +#endif int _frameCount; cv::Mat _faceColor; cv::Mat _faceDepth;