1e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin/* 2e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin * Copyright (C) 2013 The Android Open Source Project 3e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin * 4e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin * Licensed under the Apache License, Version 2.0 (the "License"); 5e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin * you may not use this file except in compliance with the License. 6e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin * You may obtain a copy of the License at 7e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin * 8e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin * http://www.apache.org/licenses/LICENSE-2.0 9e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin * 10e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin * Unless required by applicable law or agreed to in writing, software 11e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin * distributed under the License is distributed on an "AS IS" BASIS, 12e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin * See the License for the specific language governing permissions and 14e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin * limitations under the License. 15e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin */ 16e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin 17e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin#ifndef ANDROID_HARDWARE_PHOTOGRAPHY_CAPTUREREQUEST_H 18e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin#define ANDROID_HARDWARE_PHOTOGRAPHY_CAPTUREREQUEST_H 19e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin 20e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin#include <utils/RefBase.h> 21e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin#include <utils/Vector.h> 22e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin#include <camera/CameraMetadata.h> 23e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin 24e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkinnamespace android { 25e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin 26e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkinclass Surface; 27e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin 28e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkinstruct CaptureRequest : public virtual RefBase { 29e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkinpublic: 30e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin 31e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin CameraMetadata mMetadata; 32e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin Vector<sp<Surface> > mSurfaceList; 33e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin 34e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin /** 35e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin * Keep impl up-to-date with CaptureRequest.java in frameworks/base 36e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin */ 37e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin status_t readFromParcel(Parcel* parcel); 38e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin status_t writeToParcel(Parcel* parcel) const; 39e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin}; 40e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin}; // namespace android 41e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin 42e7ee7637747371635a85fedd24d2190bb1f38651Igor Murashkin#endif 43