forked from sailfishos/droidmedia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdroidmediacameraconstants.h
70 lines (63 loc) · 2.11 KB
/
droidmediacameraconstants.h
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/*
* Copyright (C) 2014-2015 Jolla Ltd.
*
* 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.
*
* Authored by: Mohammed Hassan <[email protected]>
*/
#ifndef DROID_MEDIA_CAMERA_CONSTANTS_H
#define DROID_MEDIA_CAMERA_CONSTANTS_H
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
int CAMERA_FRAME_CALLBACK_FLAG_ENABLE_MASK;
int CAMERA_FRAME_CALLBACK_FLAG_ONE_SHOT_MASK;
int CAMERA_FRAME_CALLBACK_FLAG_COPY_OUT_MASK;
int CAMERA_FRAME_CALLBACK_FLAG_NOOP;
int CAMERA_FRAME_CALLBACK_FLAG_CAMCORDER;
int CAMERA_FRAME_CALLBACK_FLAG_CAMERA;
int CAMERA_FRAME_CALLBACK_FLAG_BARCODE_SCANNER;
int CAMERA_MSG_ERROR;
int CAMERA_MSG_SHUTTER;
int CAMERA_MSG_FOCUS;
int CAMERA_MSG_ZOOM;
int CAMERA_MSG_PREVIEW_FRAME;
int CAMERA_MSG_VIDEO_FRAME;
int CAMERA_MSG_POSTVIEW_FRAME;
int CAMERA_MSG_RAW_IMAGE;
int CAMERA_MSG_COMPRESSED_IMAGE;
int CAMERA_MSG_RAW_IMAGE_NOTIFY;
int CAMERA_MSG_PREVIEW_METADATA;
int CAMERA_MSG_FOCUS_MOVE;
int CAMERA_MSG_ALL_MSGS;
int CAMERA_CMD_START_SMOOTH_ZOOM;
int CAMERA_CMD_STOP_SMOOTH_ZOOM;
int CAMERA_CMD_SET_DISPLAY_ORIENTATION;
int CAMERA_CMD_ENABLE_SHUTTER_SOUND;
int CAMERA_CMD_PLAY_RECORDING_SOUND;
int CAMERA_CMD_START_FACE_DETECTION;
int CAMERA_CMD_STOP_FACE_DETECTION;
int CAMERA_CMD_ENABLE_FOCUS_MOVE_MSG;
int CAMERA_CMD_PING;
int CAMERA_ERROR_UNKNOWN;
int CAMERA_ERROR_RELEASED;
int CAMERA_ERROR_SERVER_DIED;
int CAMERA_FACE_DETECTION_HW;
int CAMERA_FACE_DETECTION_SW;
} DroidMediaCameraConstants;
void droid_media_camera_constants_init(DroidMediaCameraConstants *c);
#ifdef __cplusplus
};
#endif
#endif /* DROID_MEDIA_CAMERA_CONSTANTS_H */