wangfei | 1198746 | 2015-03-12 15:02:57 +0800 | [diff] [blame] | 1 | /* |
| 2 | * cl_hdr_handler.h - CL hdr handler |
| 3 | * |
| 4 | * Copyright (c) 2015 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: wangfei <feix.w.wang@intel.com> |
| 19 | */ |
| 20 | |
| 21 | #ifndef XCAM_CL_HDR_HANLDER_H |
| 22 | #define XCAM_CL_HDR_HANLDER_H |
| 23 | |
| 24 | #include "xcam_utils.h" |
| 25 | #include "cl_image_handler.h" |
| 26 | |
| 27 | namespace XCam { |
| 28 | |
wangfei | 125221b | 2015-04-08 13:49:20 +0800 | [diff] [blame] | 29 | enum CLHdrType { |
| 30 | CL_HDR_TYPE_RGB, |
| 31 | CL_HDR_TYPE_LAB, |
wangfei | 1198746 | 2015-03-12 15:02:57 +0800 | [diff] [blame] | 32 | }; |
| 33 | |
| 34 | SmartPtr<CLImageHandler> |
wangfei | 125221b | 2015-04-08 13:49:20 +0800 | [diff] [blame] | 35 | create_cl_hdr_image_handler (SmartPtr<CLContext> &context, CLHdrType type); |
wangfei | 1198746 | 2015-03-12 15:02:57 +0800 | [diff] [blame] | 36 | |
| 37 | }; |
| 38 | |
| 39 | #endif //XCAM_CL_HDR_HANLDER_H |