Home
last modified time | relevance | path

Searched refs:colorChannel (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/params/
DTonemapCurve.java137 private static int checkArgumentColorChannel(int colorChannel) { in checkArgumentColorChannel() argument
138 switch (colorChannel) { in checkArgumentColorChannel()
147 return colorChannel; in checkArgumentColorChannel()
166 public int getPointCount(int colorChannel) { in getPointCount() argument
167 checkArgumentColorChannel(colorChannel); in getPointCount()
169 return getCurve(colorChannel).length / POINT_SIZE; in getPointCount()
190 public PointF getPoint(int colorChannel, int index) { in getPoint() argument
191 checkArgumentColorChannel(colorChannel); in getPoint()
192 if (index < 0 || index >= getPointCount(colorChannel)) { in getPoint()
196 final float[] curve = getCurve(colorChannel); in getPoint()
[all …]
DRggbChannelVector.java113 public float getComponent(final int colorChannel) { in getComponent() argument
114 if (colorChannel < 0 || colorChannel >= COUNT) { in getComponent()
118 switch (colorChannel) { in getComponent()
128 throw new AssertionError("Unhandled case " + colorChannel); in getComponent()
DLensShadingMap.java135 public float getGainFactor(final int colorChannel, final int column, final int row) { in getGainFactor() argument
136 if (colorChannel < 0 || colorChannel > COUNT) { in getGainFactor()
144 return mElements[colorChannel + (row * mColumns + column) * COUNT ]; in getGainFactor()