/device/asus/flo/camera/QCamera2/stack/common/ |
D | cam_semaphore.h | 43 int val; member 52 s->val = n; in cam_sem_init() 58 s->val++; in cam_sem_post() 67 while (s->val == 0) in cam_sem_wait() 69 s->val--; in cam_sem_wait() 78 s->val = 0; in cam_sem_destroy()
|
/device/lge/hammerhead/camera/QCamera2/stack/common/ |
D | cam_semaphore.h | 43 int val; member 52 s->val = n; in cam_sem_init() 58 s->val++; in cam_sem_post() 67 while (s->val == 0) in cam_sem_wait() 69 s->val--; in cam_sem_wait() 78 s->val = 0; in cam_sem_destroy()
|
/device/moto/shamu/camera/QCamera2/stack/common/ |
D | cam_semaphore.h | 43 int val; member 52 s->val = n; in cam_sem_init() 58 s->val++; in cam_sem_post() 67 while (s->val == 0) in cam_sem_wait() 69 s->val--; in cam_sem_wait() 78 s->val = 0; in cam_sem_destroy()
|
/device/google/accessory/arduino/USB_Host_Shield/ |
D | Max3421e.cpp | 55 void MAX3421E::setRST(uint8_t val) in setRST() argument 57 if (val == LOW) in setRST() 120 void MAX3421E::regWr( byte reg, byte val) in regWr() argument 125 SPDR = val; in regWr() 148 void MAX3421E::gpioWr( byte val ) in gpioWr() argument 150 regWr( rIOPINS1, val ); in gpioWr() 151 val = val >>4; in gpioWr() 152 regWr( rIOPINS2, val ); in gpioWr()
|
D | Max_LCD.cpp | 261 void Max_LCD::sendbyte( uint8_t val ) in sendbyte() argument 264 lcdPins |= ( val & 0xf0 ); //copy upper nibble to LCD variable in sendbyte() 272 lcdPins |= ( val << 4 ) & 0xf0; //copy lower nibble to LCD variable in sendbyte()
|
D | Max3421e.h | 58 static void setRST(uint8_t val);
|
D | Max_LCD.h | 104 void sendbyte( uint8_t val );
|
/device/google/accessory/demokit/firmware/demokit/ |
D | demokit.pde | 151 uint16_t val; 226 val = analogRead(TEMP_SENSOR); 228 msg[1] = val >> 8; 229 msg[2] = val & 0xff; 234 val = analogRead(LIGHT_SENSOR); 236 msg[1] = val >> 8; 237 msg[2] = val & 0xff; 388 void write_joy_reg(char reg_addr, char val) 392 Wire.write(val);
|
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
D | GLSharedGroup.h | 85 GLint getNextSamplerUniform(GLint index, GLint* val, GLenum* target); 86 bool setSamplerUniform(GLint appLoc, GLint val, GLenum* target); 133 GLint getNextSamplerUniform(GLuint program, GLint index, GLint* val, GLenum* target) const; 134 bool setSamplerUniform(GLuint program, GLint appLoc, GLint val, GLenum* target);
|
D | GLSharedGroup.cpp | 160 GLint ProgramData::getNextSamplerUniform(GLint index, GLint* val, GLenum* target) in getNextSamplerUniform() argument 164 if (val) *val = m_Indexes[i].samplerValue; in getNextSamplerUniform() 178 bool ProgramData::setSamplerUniform(GLint appLoc, GLint val, GLenum* target) in setSamplerUniform() argument 184 m_Indexes[i].samplerValue = val; in setSamplerUniform() 439 GLint GLSharedGroup::getNextSamplerUniform(GLuint program, GLint index, GLint* val, GLenum* target)… in getNextSamplerUniform() argument 443 return pData ? pData->getNextSamplerUniform(index, val, target) : -1; in getNextSamplerUniform() 446 bool GLSharedGroup::setSamplerUniform(GLuint program, GLint appLoc, GLint val, GLenum* target) in setSamplerUniform() argument 450 return pData ? pData->setSamplerUniform(appLoc, val, target) : false; in setSamplerUniform()
|
/device/generic/goldfish/audio/ |
D | audio_hw.c | 129 long val; in out_set_parameters() local 138 val = strtol(value, &end, 10); in out_set_parameters() 139 if (errno == 0 && (end != NULL) && (*end == '\0') && ((int)val == val)) { in out_set_parameters() 140 out->device = (int)val; in out_set_parameters() 285 long val; in in_set_parameters() local 294 val = strtol(value, &end, 10); in in_set_parameters() 295 if ((errno == 0) && (end != NULL) && (*end == '\0') && ((int)val == val)) { in in_set_parameters() 296 in->device = (int)val; in in_set_parameters()
|
/device/generic/goldfish/camera/ |
D | EmulatedCamera.cpp | 59 static char* AddValue(const char* param, const char* val); 990 static char* AddValue(const char* param, const char* val) in AddValue() argument 993 const size_t len2 = strlen(val); in AddValue() 999 memcpy(ret + len1 + 1, val, len2); in AddValue() 1021 char* val = strchr(tmp, '='); in PrintParamDiff() local 1022 if (val != NULL) { in PrintParamDiff() 1023 *val = '\0'; val++; in PrintParamDiff() 1026 if (strcmp(in_current, val)) { in PrintParamDiff() 1027 ALOGD("=== Value changed: %s: %s -> %s", tmp, in_current, val); in PrintParamDiff() 1030 ALOGD("+++ New parameter: %s=%s", tmp, val); in PrintParamDiff()
|
D | EmulatedCameraFactory.cpp | 461 int val = strtol(prop, &prop_end, 10); in getBackCameraHalVersion() local 463 return val; in getBackCameraHalVersion() 492 int val = strtol(prop, &prop_end, 10); in getFrontCameraHalVersion() local 494 return val; in getFrontCameraHalVersion()
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
D | DemoKitActivity.java | 252 int val = (int) hi & 0xff; in composeInt() local 253 val *= 256; in composeInt() 254 val += (int) lo & 0xff; in composeInt() 255 return val; in composeInt()
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 853 uint32_t val; in mm_stream_util_get_v4l2_fmt() local 856 val = V4L2_PIX_FMT_NV12; in mm_stream_util_get_v4l2_fmt() 860 val = V4L2_PIX_FMT_NV21; in mm_stream_util_get_v4l2_fmt() 865 val= V4L2_PIX_FMT_SBGGR10; in mm_stream_util_get_v4l2_fmt() 869 val= V4L2_PIX_FMT_NV61; in mm_stream_util_get_v4l2_fmt() 873 val = V4L2_PIX_FMT_STATS_AE; in mm_stream_util_get_v4l2_fmt() 877 val = V4L2_PIX_FMT_STATS_AWB; in mm_stream_util_get_v4l2_fmt() 881 val = V4L2_PIX_FMT_STATS_AF; in mm_stream_util_get_v4l2_fmt() 885 val = V4L2_PIX_FMT_STATS_IHST; in mm_stream_util_get_v4l2_fmt() 889 val= V4L2_PIX_FMT_YUYV; in mm_stream_util_get_v4l2_fmt() [all …]
|
/device/lge/hammerhead/camera/QCamera2/HAL/ |
D | QCameraParameters.cpp | 682 if (map[j].val == values[i]) { in createValuesString() 777 if (map[j].val == (int)values[i].mode) { in createHfrValuesString() 947 return arr[i].val; in lookupAttr() 968 if (arr[i].val == value) { in lookupNameByValue() 3607 char val[16]; in setBrightness() local 3608 sprintf(val, "%d", brightness); in setBrightness() 3609 updateParamEntry(KEY_QC_BRIGHTNESS, val); in setBrightness() 3612 ALOGD("%s: Setting brightness %s", __func__, val); in setBrightness() 3671 char val[16]; in setSharpness() local 3672 sprintf(val, "%d", sharpness); in setSharpness() [all …]
|
/device/asus/flo/camera/QCamera2/HAL/ |
D | QCameraParameters.cpp | 682 if (map[j].val == values[i]) { in createValuesString() 777 if (map[j].val == (int)values[i].mode) { in createHfrValuesString() 947 return arr[i].val; in lookupAttr() 968 if (arr[i].val == value) { in lookupNameByValue() 3607 char val[16]; in setBrightness() local 3608 sprintf(val, "%d", brightness); in setBrightness() 3609 updateParamEntry(KEY_QC_BRIGHTNESS, val); in setBrightness() 3612 ALOGD("%s: Setting brightness %s", __func__, val); in setBrightness() 3671 char val[16]; in setSharpness() local 3672 sprintf(val, "%d", sharpness); in setSharpness() [all …]
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 1590 uint32_t val; in mm_stream_get_v4l2_fmt() local 1593 val = V4L2_PIX_FMT_NV12; in mm_stream_get_v4l2_fmt() 1596 val = V4L2_PIX_FMT_NV21; in mm_stream_get_v4l2_fmt() 1602 val= V4L2_PIX_FMT_SBGGR10; in mm_stream_get_v4l2_fmt() 1605 val= V4L2_PIX_FMT_NV61; in mm_stream_get_v4l2_fmt() 1608 val= V4L2_PIX_FMT_YUYV; in mm_stream_get_v4l2_fmt() 1611 val= V4L2_PIX_FMT_YVYU; in mm_stream_get_v4l2_fmt() 1614 val= V4L2_PIX_FMT_UYVY; in mm_stream_get_v4l2_fmt() 1617 val= V4L2_PIX_FMT_VYUY; in mm_stream_get_v4l2_fmt() 1620 val= V4L2_PIX_FMT_NV12; in mm_stream_get_v4l2_fmt() [all …]
|
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 1597 uint32_t val; in mm_stream_get_v4l2_fmt() local 1600 val = V4L2_PIX_FMT_NV12; in mm_stream_get_v4l2_fmt() 1603 val = V4L2_PIX_FMT_NV21; in mm_stream_get_v4l2_fmt() 1609 val= V4L2_PIX_FMT_SBGGR10; in mm_stream_get_v4l2_fmt() 1612 val= V4L2_PIX_FMT_NV61; in mm_stream_get_v4l2_fmt() 1615 val= V4L2_PIX_FMT_YUYV; in mm_stream_get_v4l2_fmt() 1618 val= V4L2_PIX_FMT_YVYU; in mm_stream_get_v4l2_fmt() 1621 val= V4L2_PIX_FMT_UYVY; in mm_stream_get_v4l2_fmt() 1624 val= V4L2_PIX_FMT_VYUY; in mm_stream_get_v4l2_fmt() 1627 val= V4L2_PIX_FMT_NV12; in mm_stream_get_v4l2_fmt() [all …]
|
/device/moto/shamu/camera/QCamera2/HAL/ |
D | QCameraParameters.cpp | 825 if (map[j].val == values[i]) { in createValuesString() 920 if (map[j].val == (int)values[i].mode) { in createHfrValuesString() 1066 return arr[i].val; in lookupAttr() 1087 if (arr[i].val == value) { in lookupNameByValue() 1180 char val[32]; in setPictureSize() local 1181 sprintf(val, "%dx%d", width, height); in setPictureSize() 1182 updateParamEntry(KEY_PICTURE_SIZE, val); in setPictureSize() 1183 CDBG("%s: %s", __func__, val); in setPictureSize() 4886 char val[16]; in setBrightness() local 4887 sprintf(val, "%d", brightness); in setBrightness() [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 1624 uint32_t val; in mm_stream_get_v4l2_fmt() local 1628 val = V4L2_PIX_FMT_NV12; in mm_stream_get_v4l2_fmt() 1631 val = V4L2_PIX_FMT_NV21; in mm_stream_get_v4l2_fmt() 1637 val= V4L2_PIX_FMT_SBGGR10; in mm_stream_get_v4l2_fmt() 1640 val= V4L2_PIX_FMT_NV61; in mm_stream_get_v4l2_fmt() 1643 val= V4L2_PIX_FMT_YUYV; in mm_stream_get_v4l2_fmt() 1646 val= V4L2_PIX_FMT_YVYU; in mm_stream_get_v4l2_fmt() 1649 val= V4L2_PIX_FMT_UYVY; in mm_stream_get_v4l2_fmt() 1652 val= V4L2_PIX_FMT_VYUY; in mm_stream_get_v4l2_fmt() 1655 val= V4L2_PIX_FMT_NV12; in mm_stream_get_v4l2_fmt() [all …]
|
/device/htc/flounder/audio/hal/ |
D | audio_hw.c | 2739 int ret, val = 0; in out_set_parameters() local 2753 val = atoi(value); in out_set_parameters() 2758 if (((int)out->devices != val) && (val != 0) && (!out->standby) && in out_set_parameters() 2769 if (val != 0) { in out_set_parameters() 2770 out->devices = val; in out_set_parameters() 2780 if ((pcm_device->pcm_profile->devices & val) == 0) in out_set_parameters() 2782 val &= ~pcm_device->pcm_profile->devices; in out_set_parameters() 2784 if (val != 0) in out_set_parameters() 3585 int ret, val = 0; in in_set_parameters() local 3601 val = atoi(value); in in_set_parameters() [all …]
|
/device/moto/shamu/camera/QCamera2/HAL3/ |
D | QCamera3HWI.cpp | 3492 uint8_t val = (uint8_t) cac; in translateFromHalMetadata() local 3494 &val, in translateFromHalMetadata() 4553 int32_t val = lookupFwkName(EFFECT_MODES_MAP, in initStaticMetadata() local 4556 if (val != NAME_NOT_FOUND) { in initStaticMetadata() 4557 avail_effects[size] = (uint8_t)val; in initStaticMetadata() 4569 int32_t val = lookupFwkName(SCENE_MODES_MAP, in initStaticMetadata() local 4572 if (val != NAME_NOT_FOUND) { in initStaticMetadata() 4573 avail_scene_modes[supported_scene_modes_cnt] = (uint8_t)val; in initStaticMetadata() 4603 int32_t val = lookupFwkName(ANTIBANDING_MODES_MAP, in initStaticMetadata() local 4606 if (val != NAME_NOT_FOUND) { in initStaticMetadata() [all …]
|
/device/asus/flo/camera/QCamera2/HAL3/ |
D | QCamera3HWI.cpp | 1974 int val = lookupFwkName(EFFECT_MODES_MAP, in initStaticMetadata() local 1977 if (val != NAME_NOT_FOUND) { in initStaticMetadata() 1978 avail_effects[size] = (uint8_t)val; in initStaticMetadata() 1990 int val = lookupFwkName(SCENE_MODES_MAP, in initStaticMetadata() local 1993 if (val != NAME_NOT_FOUND) { in initStaticMetadata() 1994 avail_scene_modes[supported_scene_modes_cnt] = (uint8_t)val; in initStaticMetadata() 2017 int val = lookupFwkName(ANTIBANDING_MODES_MAP, in initStaticMetadata() local 2020 if (val != NAME_NOT_FOUND) { in initStaticMetadata() 2021 avail_antibanding_modes[size] = (uint8_t)val; in initStaticMetadata() 2033 int val = lookupFwkName(FOCUS_MODES_MAP, in initStaticMetadata() local [all …]
|
/device/lge/hammerhead/camera/QCamera2/HAL3/ |
D | QCamera3HWI.cpp | 3740 int32_t val = lookupFwkName(EFFECT_MODES_MAP, in initStaticMetadata() local 3743 if (val != NAME_NOT_FOUND) { in initStaticMetadata() 3744 avail_effects[size] = (uint8_t)val; in initStaticMetadata() 3756 int32_t val = lookupFwkName(SCENE_MODES_MAP, in initStaticMetadata() local 3759 if (val != NAME_NOT_FOUND) { in initStaticMetadata() 3760 avail_scene_modes[supported_scene_modes_cnt] = (uint8_t)val; in initStaticMetadata() 3790 int32_t val = lookupFwkName(ANTIBANDING_MODES_MAP, in initStaticMetadata() local 3793 if (val != NAME_NOT_FOUND) { in initStaticMetadata() 3794 avail_antibanding_modes[size] = (uint8_t)val; in initStaticMetadata() 3806 int32_t val = lookupFwkName(FOCUS_MODES_MAP, in initStaticMetadata() local [all …]
|