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 #ifdef HAVE_CONFIG_H 25 #include "config.h" 26 #endif 27 28 #include <base/xcam_common.h> 29 #include <xcam_obj_debug.h> 30 extern "C" { 31 #include <linux/videodev2.h> 32 } 33 #include <cinttypes> 34 #include <vector> 35 #include <smartptr.h> 36 37 namespace XCam { 38 39 static const int64_t InvalidTimestamp = INT64_C(-1); 40 41 enum NV12PlaneIdx { 42 NV12PlaneYIdx = 0, 43 NV12PlaneUVIdx, 44 NV12PlaneMax, 45 }; 46 47 }; 48 49 #endif //XCAM_STD_H