| 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 |  | 
| Jiwen 'Steve' Cai | 502cd6c | 2018-04-29 12:40:52 -0700 | [diff] [blame] | 18 | void dvrTrackingCameraDestroy(DvrTrackingCamera*) { | 
|  | 19 | ALOGE("dvrTrackingCameraDestroy is not implemented."); | 
|  | 20 | } | 
|  | 21 |  | 
| Jiwen 'Steve' Cai | c604e3b | 2018-04-19 11:16:49 -0700 | [diff] [blame] | 22 | int dvrTrackingCameraStart(DvrTrackingCamera*, DvrWriteBufferQueue*) { | 
|  | 23 | ALOGE("dvrTrackingCameraCreate is not implemented."); | 
|  | 24 | return -ENOSYS; | 
|  | 25 | } | 
|  | 26 |  | 
|  | 27 | int dvrTrackingCameraStop(DvrTrackingCamera*) { | 
|  | 28 | ALOGE("dvrTrackingCameraCreate is not implemented."); | 
|  | 29 | return -ENOSYS; | 
|  | 30 | } | 
|  | 31 |  | 
|  | 32 | }  // extern "C" | 
|  | 33 |  | 
|  | 34 | #endif  // DVR_TRACKING_IMPLEMENTED |