/device/moto/shamu/camera/QCamera/HAL/core/src/ |
D | QCameraParameters.cpp | 399 int arr[5] = {-2000, -2000, -2000, -2000, 0}; in getMeteringAreaCenter() local 400 parseNDimVector(p, arr, 5); //p = "(x1, y1, x2, y2, weight)" in getMeteringAreaCenter() 401 *x = (arr[0] + arr[2])/2; //center_x = (x1+x2)/2 in getMeteringAreaCenter() 402 *y = (arr[1] + arr[3])/2; //center_y = (y1+y2)/2 in getMeteringAreaCenter()
|
D | QCameraHWI_Parm.cpp | 390 static int attr_lookup(const str_map arr[], int len, const char *name) in attr_lookup() argument 394 if (!strcmp(arr[i].desc, name)) in attr_lookup() 395 return arr[i].val; in attr_lookup() 605 static String8 create_str(int16_t *arr, int length){ in create_str() argument 610 snprintf(buffer, sizeof(buffer), "%d", arr[0]); in create_str() 615 snprintf(buffer, sizeof(buffer), ",%d",arr[i]); in create_str()
|
/device/moto/shamu/camera/QCamera2/HAL3/ |
D | QCamera3HWI.h | 200 static int8_t lookupHalName(const QCameraMap arr[], 202 static int32_t lookupFwkName(const QCameraMap arr[], 204 static cam_cds_mode_type_t lookupProp(const QCameraPropMap arr[],
|
D | QCamera3HWI.cpp | 5402 int32_t QCamera3HardwareInterface::lookupFwkName(const QCameraMap arr[], in lookupFwkName() argument 5407 if (arr[i].hal_name == hal_name) in lookupFwkName() 5408 return arr[i].fwk_name; in lookupFwkName() 5433 int8_t QCamera3HardwareInterface::lookupHalName(const QCameraMap arr[], in lookupHalName() argument 5437 if (arr[i].fwk_name == fwk_name) in lookupHalName() 5438 return arr[i].hal_name; in lookupHalName() 5457 cam_cds_mode_type_t QCamera3HardwareInterface::lookupProp(const QCameraPropMap arr[], in lookupProp() argument 5462 if (!strcmp(arr[i].desc, name)) { in lookupProp() 5463 return arr[i].val; in lookupProp()
|
/device/asus/flo/camera/QCamera2/HAL3/ |
D | QCamera3HWI.h | 157 static int8_t lookupHalName(const QCameraMap arr[], 159 static int8_t lookupFwkName(const QCameraMap arr[],
|
D | QCamera3HWI.cpp | 2346 int8_t QCamera3HardwareInterface::lookupFwkName(const QCameraMap arr[], in lookupFwkName() argument 2351 if (arr[i].hal_name == hal_name) in lookupFwkName() 2352 return arr[i].fwk_name; in lookupFwkName() 2377 int8_t QCamera3HardwareInterface::lookupHalName(const QCameraMap arr[], in lookupHalName() argument 2381 if (arr[i].fwk_name == fwk_name) in lookupHalName() 2382 return arr[i].hal_name; in lookupHalName()
|
/device/lge/hammerhead/camera/QCamera2/HAL3/ |
D | QCamera3HWI.h | 172 static int8_t lookupHalName(const QCameraMap arr[], 174 static int32_t lookupFwkName(const QCameraMap arr[],
|
D | QCamera3HWI.cpp | 4546 int32_t QCamera3HardwareInterface::lookupFwkName(const QCameraMap arr[], in lookupFwkName() argument 4551 if (arr[i].hal_name == hal_name) in lookupFwkName() 4552 return arr[i].fwk_name; in lookupFwkName() 4577 int8_t QCamera3HardwareInterface::lookupHalName(const QCameraMap arr[], in lookupHalName() argument 4581 if (arr[i].fwk_name == fwk_name) in lookupHalName() 4582 return arr[i].hal_name; in lookupHalName()
|
/device/lge/hammerhead/camera/QCamera2/HAL/ |
D | QCameraParameters.h | 526 int lookupAttr(const QCameraMap arr[], int len, const char *name); 527 const char *lookupNameByValue(const QCameraMap arr[], int len, int value);
|
D | QCameraParameters.cpp | 942 int QCameraParameters::lookupAttr(const QCameraMap arr[], int len, const char *name) in lookupAttr() argument 946 if (!strcmp(arr[i].desc, name)) in lookupAttr() 947 return arr[i].val; in lookupAttr() 965 const char *QCameraParameters::lookupNameByValue(const QCameraMap arr[], int len, int value) in lookupNameByValue() argument 968 if (arr[i].val == value) { in lookupNameByValue() 969 return arr[i].desc; in lookupNameByValue()
|
/device/asus/flo/camera/QCamera2/HAL/ |
D | QCameraParameters.h | 527 int lookupAttr(const QCameraMap arr[], int len, const char *name); 528 const char *lookupNameByValue(const QCameraMap arr[], int len, int value);
|
D | QCameraParameters.cpp | 942 int QCameraParameters::lookupAttr(const QCameraMap arr[], int len, const char *name) in lookupAttr() argument 946 if (!strcmp(arr[i].desc, name)) in lookupAttr() 947 return arr[i].val; in lookupAttr() 965 const char *QCameraParameters::lookupNameByValue(const QCameraMap arr[], int len, int value) in lookupNameByValue() argument 968 if (arr[i].val == value) { in lookupNameByValue() 969 return arr[i].desc; in lookupNameByValue()
|
/device/moto/shamu/camera/QCamera2/HAL/ |
D | QCameraParameters.h | 752 int lookupAttr(const QCameraMap arr[], int len, const char *name); 753 const char *lookupNameByValue(const QCameraMap arr[], int len, int value);
|
D | QCameraParameters.cpp | 1061 int QCameraParameters::lookupAttr(const QCameraMap arr[], int len, const char *name) in lookupAttr() argument 1065 if (!strcmp(arr[i].desc, name)) in lookupAttr() 1066 return arr[i].val; in lookupAttr() 1084 const char *QCameraParameters::lookupNameByValue(const QCameraMap arr[], int len, int value) in lookupNameByValue() argument 1087 if (arr[i].val == value) { in lookupNameByValue() 1088 return arr[i].desc; in lookupNameByValue()
|