Jiwen 'Steve' Cai | c604e3b | 2018-04-19 11:16:49 -0700 | [diff] [blame] | 1 | #include "include/dvr/dvr_tracking.h" |
| 2 | |
| 3 | #include <utils/Errors.h> |
| 4 | #include <utils/Log.h> |
| 5 | |
| 6 | #if !DVR_TRACKING_IMPLEMENTED |
| 7 | |
| 8 | extern "C" { |
| 9 | |
| 10 | // This file provides the stub implementation of dvrTrackingXXX APIs. On |
| 11 | // platforms that implement these APIs, set -DDVR_TRACKING_IMPLEMENTED=1 in the |
| 12 | // build file. |
| 13 | int dvrTrackingCameraCreate(DvrTrackingCamera**) { |
| 14 | ALOGE("dvrTrackingCameraCreate is not implemented."); |
| 15 | return -ENOSYS; |
| 16 | } |
| 17 | |
| 18 | int dvrTrackingCameraStart(DvrTrackingCamera*, DvrWriteBufferQueue*) { |
| 19 | ALOGE("dvrTrackingCameraCreate is not implemented."); |
| 20 | return -ENOSYS; |
| 21 | } |
| 22 | |
| 23 | int dvrTrackingCameraStop(DvrTrackingCamera*) { |
| 24 | ALOGE("dvrTrackingCameraCreate is not implemented."); |
| 25 | return -ENOSYS; |
| 26 | } |
| 27 | |
| 28 | } // extern "C" |
| 29 | |
| 30 | #endif // DVR_TRACKING_IMPLEMENTED |