xref: /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/xcore/xcam_std.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2  * xcam_std.h - xcam std
3  *
4  *  Copyright (c) 2014-2017 Intel Corporation
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  *      http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  * Author: Wind Yuan <feng.yuan@intel.com>
19  */
20 
21 #ifndef XCAM_STD_H
22 #define XCAM_STD_H
23 
24 #include <base/xcam_common.h>
25 #include <xcam_obj_debug.h>
26 extern "C" {
27 #include <linux/videodev2.h>
28 }
29 #include <cinttypes>
30 #include <vector>
31 #include <smartptr.h>
32 
33 namespace XCam {
34 
35 static const int64_t InvalidTimestamp = INT64_C(-1);
36 
37 enum NV12PlaneIdx {
38     NV12PlaneYIdx = 0,
39     NV12PlaneUVIdx,
40     NV12PlaneMax,
41 };
42 
43 }
44 
45 #endif //XCAM_STD_H
46