画布 3
camera2.params
  StreamConfigurationMap
    getHighResolutionOutputSizes(int format)
    getHighSpeedVideoFpsRanges()
    getHighSpeedVideoFpsRangesFor(Size size)
    getHighSpeedVideoSizes()
    getHighSpeedVideoSizesFor(Range<Integer> fpsRange)
    getInputFormats()
    getInputSizes(int format)
    getOutputFormats()
    getOutputMinFrameDuration(Class<T> klass, Size size)
    getOutputMinFrameDuration(int format, Size size)
    getOutputSizes(int format)
    getOutputSizes(Class<T> klass)
    getOutputStallDuration(int format, Size size)
    getOutputStallDuration(Class<T> klass, Size size)
    getValidOutputFormatsForInput(int inputFormat)
    isOutputSupportedFor(Surface surface)
    isOutputSupportedFor(int format)
    isOutputSupportedFor(Class<T> klass)
  TonemapCurve
    copyColorCurve(int colorChannel, float[] destination, int offset)
    getPoint(int colorChannel, int index)
    getPointCount(int colorChannel)
  BlackLevelPattern
    CameraCharacteristics.SENSOR_BLACK_LEVEL_PATTERN
    getOffsetForIndex(int column, int row)
    copyTo(int[] destination, int offset)
  ColorSpaceTransform
    ColorSpaceTransform(Rational[] elements)
    ColorSpaceTransform(int[] elements)
    copyElements(int[] destination, int offset)
    copyElements(Rational[] destination, int offset)
    getElement(int column, int row)
  Face
    getBounds()
    getId()
    getLeftEyePosition()
    getMouthPosition()
    getRightEyePosition()
    getScore()
  InputConfiguration
    InputConfiguration(int width, int height, int format)
    getFormat()
    getHeight()
    getWidth()
  LensShadingMap
    copyGainFactors(float[] destination, int offset)
    getColumnCount()
    getGainFactor(int colorChannel, int column, int row)
    getGainFactorCount()
    getGainFactorVector(int column, int row)
    getRowCount()
  MeteringRectangle
    MeteringRectangle(int x, int y, int width, int height, int meteringWeight)
    MeteringRectangle(Point xy, Size dimensions, int meteringWeight)
    MeteringRectangle(Rect rect, int meteringWeight)
    getHeight()
    getMeteringWeight()
    getRect()
    getSize()
    getUpperLeftPoint()
    getWidth()
    getX()
    getY()
  OutputConfiguration
    OutputConfiguration(Surface surface)
    OutputConfiguration(int surfaceGroupId, Surface surface)
    OutputConfiguration(Size surfaceSize, Class<T> klass)
    addSurface(Surface surface)
    enableSurfaceSharing()
    getSurfaces()
    describeContents()
    getSurface()
    getSurfaceGroupId()
  RggbChannelVector
    copyTo(float[] destination, int offset)
    getBlue()
    getComponent(int colorChannel)
    getGreenEven()
    getGreenOdd()
    getRed()
像素响应是由光源，时间和温度影响的，然而，时间和温度的像素响应会影响画面质量，我们希望得到的像素响应仅仅是由光源引起的，因此，计算出masked pixel的时间和温度，然后通过black level calibration的算法，减掉相应的值，就是我们真正需要的画面响应，这个过程就是black level calibration。
使用一个4个元素的int值向量修正四个颜色通道的暗电流。
一个3x3矩阵,该矩阵将变换从一个颜色空间转换到另一个颜色空间。
SENSOR_CALIBRATION_TRANSFORM1
SENSOR_CALIBRATION_TRANSFORM2
SENSOR_COLOR_TRANSFORM1
SENSOR_COLOR_TRANSFORM2
SENSOR_FORWARD_MATRIX1
SENSOR_FORWARD_MATRIX2
该类可以通过CaptureResult返回人脸识别的结果
CaptureResult#STATISTICS_FACES
CameraCharacteristics类通过
STATISTICS_FACE_DETECT_MODE key 可获取支持人脸识别的相关接口
存储输入的配置，来创建一个可重复处理捕获会话。
调用：
createReprocessableCaptureSession(InputConfiguration, List, CameraCaptureSession.StateCallback, Handler)
SCALER_STREAM_CONFIGURATION_MAP
4 x N x M lens shading map of floats.
获取：
CaptureResult
#STATISTICS_LENS_SHADING_CORRECTION_MAP