summaryrefslogtreecommitdiffstats
path: root/include/camera/CameraParametersExtra.h
blob: 3542b59c56e5e11ef4634942937a225f8af4ca41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*
 * Copyright (C) 2014 The CyanogenMod Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

 #ifndef ANDROID_CAMERA_PARAMETERS_EXTRA_H
 #define ANDROID_CAMERA_PARAMETERS_EXTRA_H

// parameters adopted from omnirom 4.4
#define CAMERA_PARAMETERS_EXTRA_C \
const char CameraParameters::KEY_SUPPORTED_ISO_MODES[] = "iso-values"; \
const char CameraParameters::KEY_ISO_MODE[] = "iso"; \
const char CameraParameters::KEY_ANTI_SHAKE_MODE[] = "anti-shake"; \
const char CameraParameters::KEY_METERING[] = "metering"; \
const char CameraParameters::KEY_WDR[] = "wdr"; \
const char CameraParameters::KEY_WEATHER[] = "weather"; \
const char CameraParameters::KEY_CITYID[] = "contextualtag-cityid"; \
const char CameraParameters::EFFECT_CARTOONIZE[] = "cartoonize"; \
const char CameraParameters::EFFECT_POINT_RED_YELLOW[] = "point-red-yellow"; \
const char CameraParameters::EFFECT_POINT_GREEN[] = "point-green"; \
const char CameraParameters::EFFECT_POINT_BLUE[] = "point-blue"; \
const char CameraParameters::EFFECT_VINTAGE_COLD[] = "vintage-cold"; \
const char CameraParameters::EFFECT_VINTAGE_WARM[] = "vintage-warm"; \
const char CameraParameters::EFFECT_WASHED[] = "washed"; \
int CameraParameters::getInt64(const char *key) const { return -1; };

#define CAMERA_PARAMETERS_EXTRA_H \
    int getInt64(const char *key) const; \
    static const char KEY_SUPPORTED_ISO_MODES[]; \
    static const char KEY_ISO_MODE[]; \
    static const char KEY_ANTI_SHAKE_MODE[]; \
    static const char KEY_METERING[]; \
    static const char KEY_WDR[]; \
    static const char KEY_WEATHER[]; \
    static const char KEY_CITYID[]; \
    static const char EFFECT_CARTOONIZE[]; \
    static const char EFFECT_POINT_RED_YELLOW[]; \
    static const char EFFECT_POINT_GREEN[]; \
    static const char EFFECT_POINT_BLUE[]; \
    static const char EFFECT_VINTAGE_COLD[]; \
    static const char EFFECT_VINTAGE_WARM[]; \
    static const char EFFECT_WASHED[];

#endif