summaryrefslogtreecommitdiff
path: root/v3/MCameraParameters.cpp (plain)
blob: b8ab05d26fc711ccf07b398d44d8fb09ffb6bc11
1/*
2 * Copyright (C) 2012 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef __MCAMERAPARAMETERS__
18#define __MCAMERAPARAMETERS__
19
20#define LOG_TAG "MCameraParameters"
21
22#include <cutils/properties.h>
23#include <math.h>
24#include <utils/Errors.h>
25#include <string.h>
26#include <stdlib.h>
27#include "MCameraParameters.h"
28
29/*===========================================================================
30 * * FUNCTION : MCameraParameters
31 * *
32 * * DESCRIPTION: constructor of MCameraParameters
33 * *
34 * * PARAMETERS : none
35 * *
36 * * RETURN : None
37 * *==========================================================================*/
38MCameraParameters::MCameraParameters()
39 : CameraParameters(),mFd(-1),
40{
41}
42
43
44/*===========================================================================
45 * * FUNCTION : ~MCameraParameters
46 * *
47 * * DESCRIPTION: deconstructor of MCameraParameters
48 * *
49 * * PARAMETERS : String8
50 * *
51 * * RETURN : None
52 * *==========================================================================*/
53MCameraParameters::MCameraParameters(const String8 &params)
54 : CameraParameters(params), mFd(-1)
55{
56}
57
58/*===========================================================================
59 * * FUNCTION : ~MCameraParameters
60 * *
61 * * DESCRIPTION: deconstructor of MCameraParameters
62 * *
63 * * PARAMETERS : String8, fd
64 * *
65 * * RETURN : None
66 * *==========================================================================*/
67MCameraParameters::MCameraParameters(const String8 &params, int fd)
68 : CameraParameters(params), mFd(fd)
69{
70}
71
72
73
74
75/*===========================================================================
76 * * FUNCTION : ~MCameraParameters
77 * *
78 * * DESCRIPTION: deconstructor of MCameraParameters
79 * *
80 * * PARAMETERS : none
81 * *
82 * * RETURN : None
83 * *==========================================================================*/
84MCameraParameters::~MCameraParameters()
85{
86
87}
88#endif
89