Lines Matching defs:Parameters

17 #define LOG_TAG "Camera2-Parameters"
30 #include "Parameters.h"
36 Parameters::Parameters(int cameraId,
43 Parameters::~Parameters() {
46 status_t Parameters::initialize(const CameraMetadata *info) {
53 Parameters::info = info;
549 flashMode = Parameters::FLASH_MODE_OFF;
569 flashMode = Parameters::FLASH_MODE_OFF;
586 focusMode = Parameters::FOCUS_MODE_FIXED;
592 focusMode = Parameters::FOCUS_MODE_AUTO;
644 if (focusMode != Parameters::FOCUS_MODE_FIXED) {
651 focusingAreas.add(Parameters::Area(0,0,0,0,0));
705 meteringAreas.add(Parameters::Area(0, 0, 0, 0, 0));
773 // Set up initial state for non-Camera.Parameters state variables
807 String8 Parameters::get() const {
811 status_t Parameters::buildFastInfo() {
932 status_t Parameters::buildQuirks() {
952 camera_metadata_ro_entry_t Parameters::staticInfo(uint32_t tag,
980 status_t Parameters::set(const String8& paramString) {
993 Parameters validatedParams(*this);
1369 validatedParams.flashMode != Parameters::FLASH_MODE_OFF) {
1374 } else if (validatedParams.flashMode == Parameters::FLASH_MODE_RED_EYE) {
1441 if (validatedParams.focusMode != Parameters::FOCUS_MODE_FIXED) {
1451 Parameters::FOCUS_MODE_INFINITY) {
1581 status_t Parameters::updateRequest(CameraMetadata *request) const {
1631 case Parameters::FLASH_MODE_OFF:
1633 case Parameters::FLASH_MODE_AUTO:
1635 case Parameters::FLASH_MODE_ON:
1637 case Parameters::FLASH_MODE_TORCH:
1641 case Parameters::FLASH_MODE_RED_EYE:
1668 case Parameters::FOCUS_MODE_AUTO:
1669 case Parameters::FOCUS_MODE_MACRO:
1670 case Parameters::FOCUS_MODE_CONTINUOUS_VIDEO:
1671 case Parameters::FOCUS_MODE_CONTINUOUS_PICTURE:
1672 case Parameters::FOCUS_MODE_EDOF:
1675 case Parameters::FOCUS_MODE_INFINITY:
1676 case Parameters::FOCUS_MODE_FIXED:
1774 status_t Parameters::updateRequestJpeg(CameraMetadata *request) const {
1816 const char* Parameters::getStateName(State state) {
1833 int Parameters::formatStringToEnum(const char *format) {
1854 const char* Parameters::formatEnumToString(int format) {
1888 int Parameters::wbModeStringToEnum(const char *wbMode) {
1911 const char* Parameters::wbModeEnumToString(uint8_t wbMode) {
1936 int Parameters::effectModeStringToEnum(const char *effectMode) {
1961 int Parameters::abModeStringToEnum(const char *abMode) {
1976 int Parameters::sceneModeStringToEnum(const char *sceneMode) {
2015 Parameters::Parameters::flashMode_t Parameters::flashModeStringToEnum(
2019 Parameters::FLASH_MODE_INVALID :
2021 Parameters::FLASH_MODE_OFF :
2023 Parameters::FLASH_MODE_AUTO :
2025 Parameters::FLASH_MODE_ON :
2027 Parameters::FLASH_MODE_RED_EYE :
2029 Parameters::FLASH_MODE_TORCH :
2030 Parameters::FLASH_MODE_INVALID;
2033 const char *Parameters::flashModeEnumToString(flashMode_t flashMode) {
2052 Parameters::Parameters::focusMode_t Parameters::focusModeStringToEnum(
2056 Parameters::FOCUS_MODE_INVALID :
2058 Parameters::FOCUS_MODE_AUTO :
2060 Parameters::FOCUS_MODE_INFINITY :
2062 Parameters::FOCUS_MODE_MACRO :
2064 Parameters::FOCUS_MODE_FIXED :
2066 Parameters::FOCUS_MODE_EDOF :
2068 Parameters::FOCUS_MODE_CONTINUOUS_VIDEO :
2070 Parameters::FOCUS_MODE_CONTINUOUS_PICTURE :
2071 Parameters::FOCUS_MODE_INVALID;
2074 const char *Parameters::focusModeEnumToString(focusMode_t focusMode) {
2097 status_t Parameters::parseAreas(const char *areasCStr,
2098 Vector<Parameters::Area> *areas) {
2118 areas->push(Parameters::Area(
2125 status_t Parameters::validateAreas(const Vector<Parameters::Area> &areas,
2153 for (Vector<Parameters::Area>::const_iterator a = areas.begin();
2166 bool Parameters::boolFromString(const char *boolStr) {
2172 int Parameters::degToTransform(int degrees, bool mirror) {
2193 int Parameters::cropXToArray(int x) const {
2209 int Parameters::cropYToArray(int y) const {
2227 int Parameters::normalizedXToCrop(int x) const {
2232 int Parameters::normalizedYToCrop(int y) const {
2237 int Parameters::arrayXToCrop(int x) const {
2242 int Parameters::arrayYToCrop(int y) const {
2247 int Parameters::cropXToNormalized(int x) const {
2252 int Parameters::cropYToNormalized(int y) const {
2257 int Parameters::arrayXToNormalized(int width) const {
2273 int Parameters::arrayYToNormalized(int height) const {
2289 int Parameters::normalizedXToArray(int x) const {
2299 int Parameters::normalizedYToArray(int y) const {
2308 Parameters::CropRegion Parameters::calculateCropRegion(
2309 Parameters::CropRegion::Outputs outputs) const {
2417 int32_t Parameters::fpsFromRange(int32_t min, int32_t max) const {