Lines Matching refs:cfa
161 const HalCameraMetadata* characteristics, uint8_t* cfa) { in GetColorFilterArrangement() argument
162 if (characteristics == nullptr || cfa == nullptr) { in GetColorFilterArrangement()
164 characteristics, cfa); in GetColorFilterArrangement()
177 *cfa = entry.data.u8[0]; in GetColorFilterArrangement()
182 uint8_t cfa; in IsIrCamera() local
183 status_t res = GetColorFilterArrangement(characteristics, &cfa); in IsIrCamera()
190 return cfa == ANDROID_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_NIR; in IsIrCamera()
194 uint8_t cfa; in IsMonoCamera() local
195 status_t res = GetColorFilterArrangement(characteristics, &cfa); in IsMonoCamera()
202 return cfa == ANDROID_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_MONO; in IsMonoCamera()
206 uint8_t cfa; in IsBayerCamera() local
207 status_t res = GetColorFilterArrangement(characteristics, &cfa); in IsBayerCamera()
214 if (cfa == ANDROID_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_RGGB || in IsBayerCamera()
215 cfa == ANDROID_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_GRBG || in IsBayerCamera()
216 cfa == ANDROID_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_GBRG || in IsBayerCamera()
217 cfa == ANDROID_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_BGGR) { in IsBayerCamera()