Home | History | Annotate | only in /developers/build/prebuilts/gradle/Camera2Raw
Up to higher level directory
NameDateSize
.google/21-Aug-2018
Application/21-Aug-2018
build.gradle21-Aug-201810
CONTRIB.md21-Aug-20181.6K
CONTRIBUTING.md21-Aug-20181.5K
gradle/21-Aug-2018
gradlew21-Aug-20185K
gradlew.bat21-Aug-20182.3K
LICENSE21-Aug-201811.1K
packaging.yaml21-Aug-2018471
README.md21-Aug-20182.7K
screenshots/21-Aug-2018
settings.gradle21-Aug-201822

README.md

      1 
      2 Android Camera2Raw Sample
      3 ===================================
      4 
      5 This sample demonstrates using the Camera2 API to capture a JPEG and RAW sensor frame.
      6 Check the source code to see a typical example of how to display the camera preview;
      7 run auto-focus, auto-exposure metering, and auto-white-balance; capture a JPEG and
      8 RAW image for the same sensor frame; and save these into MediaStore for use in other
      9 applications.
     10 
     11 Introduction
     12 ------------
     13 
     14 The [Camera2 API][1] allows users to capture RAW images, i.e. unprocessed pixel data
     15 directly from the camera sensor that has not yet been converted into a format and
     16 colorspace typically used for displaying and storing images viewed by humans.  The
     17 [DngCreator][2] class is provided as part of the Camera2 API as a utility for saving
     18 RAW images as DNG files.
     19 
     20 This sample displays a live camera preview in a TextureView, and saves JPEG and DNG
     21 file for each image captured.
     22 
     23 [1]: https://developer.android.com/reference/android/hardware/camera2/package-summary.html
     24 [2]: https://developer.android.com/reference/android/hardware/camera2/DngCreator.html
     25 
     26 Pre-requisites
     27 --------------
     28 
     29 - Android SDK 27
     30 - Android Build Tools v27.0.2
     31 - Android Support Repository
     32 
     33 Screenshots
     34 -------------
     35 
     36 <img src="screenshots/main.png" height="400" alt="Screenshot"/> 
     37 
     38 Getting Started
     39 ---------------
     40 
     41 This sample uses the Gradle build system. To build this project, use the
     42 "gradlew build" command or use "Import Project" in Android Studio.
     43 
     44 Support
     45 -------
     46 
     47 - Google+ Community: https://plus.google.com/communities/105153134372062985968
     48 - Stack Overflow: http://stackoverflow.com/questions/tagged/android
     49 
     50 If you've found an error in this sample, please file an issue:
     51 https://github.com/googlesamples/android-Camera2Raw
     52 
     53 Patches are encouraged, and may be submitted by forking this project and
     54 submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details.
     55 
     56 License
     57 -------
     58 
     59 Copyright 2017 The Android Open Source Project, Inc.
     60 
     61 Licensed to the Apache Software Foundation (ASF) under one or more contributor
     62 license agreements.  See the NOTICE file distributed with this work for
     63 additional information regarding copyright ownership.  The ASF licenses this
     64 file to you under the Apache License, Version 2.0 (the "License"); you may not
     65 use this file except in compliance with the License.  You may obtain a copy of
     66 the License at
     67 
     68 http://www.apache.org/licenses/LICENSE-2.0
     69 
     70 Unless required by applicable law or agreed to in writing, software
     71 distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
     72 WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
     73 License for the specific language governing permissions and limitations under
     74 the License.
     75