Home
last modified time | relevance | path

Searched refs:level (Results 1 – 25 of 191) sorted by relevance

12345678

/hardware/intel/common/libmix/mix_common/src/
Dmixlog.c100 void mix_log_func(const gchar* comp, gint level, const gchar *file, in mix_log_func() argument
112 if (level > g_mix_log_level) { in mix_log_func()
134 if(level > MIX_LOG_LEVEL_VERBOSE) { in mix_log_func()
135 level = MIX_LOG_LEVEL_VERBOSE; in mix_log_func()
137 if(level < MIX_LOG_LEVEL_ERROR) { in mix_log_func()
138 level = MIX_LOG_LEVEL_ERROR; in mix_log_func()
141 g_print("%s : %s : %s : ", loglevel[level - 1], file, func); in mix_log_func()
193 void mix_log_func(const gchar* comp, gint level, const gchar *file, in mix_log_func() argument
218 if (level > mix_log_level_threhold) { in mix_log_func()
237 if (level > MIX_LOG_LEVEL_VERBOSE) { in mix_log_func()
[all …]
Dmixlog.h15 void mix_log_func(const gchar* comp, gint level, const gchar *file,
38 #define mix_log(comp, level, format, ...) \ argument
39 mix_log_func(comp, level, __FILE__, __FUNCTION__, __LINE__, format, ##__VA_ARGS__)
43 #define mix_log(comp, level, format, ...) argument
/hardware/ti/omap4-aah/domx/mm_osal/src/
Dtimm_osal_trace.c132 if (trace_level >= loc->level) in __TIMM_OSAL_TraceFunction()
146 …if ( (loc->level == TIMM_OSAL_TRACE_LEVEL_ERROR) || (loc->level == TIMM_OSAL_TRACE_LEVEL_WARNING) … in __TIMM_OSAL_TraceFunction()
163 if ( (loc->level == 1) || (loc->level == 2) || (loc->level == 5) ) in __TIMM_OSAL_TraceFunction()
/hardware/bsp/intel/peripheral/libupm/examples/python/
Dmy9221.py48 level = 1 variable
55 if (level <= 10):
56 myLEDBar.setBarLevel(level, directionBool)
57 level += 1
61 level = 1 variable
Dgrovecircularled.py45 level = 0 variable
48 circle.setSpinner(level)
49 level = (level + 1) % 24 variable
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dgrovecircularled.js31 var level = 0; variable
36 circle.setSpinner(level);
37 level = (level + 1) % 24;
Dmy9221.js51 function show_LED(level, direction) argument
56 if (level <= 10)
58 myLEDBar.setBarLevel(level, directionBool);
59 setTimeout(show_LED, 50, ++level, directionBool);
/hardware/bsp/intel/peripheral/libupm/examples/c++/
Dgrovecircularled.cxx50 int level = 0; in main() local
53 circle->setSpinner(level); in main()
54 level = (level + 1) % 24; in main()
/hardware/bsp/intel/peripheral/libmraa/examples/
Dmraa-gpio.c104 gpio_set(int pin, int level, mraa_boolean_t raw) in gpio_set() argument
115 mraa_gpio_write(gpio, level); in gpio_set()
122 gpio_get(int pin, int* level, mraa_boolean_t raw) in gpio_get() argument
133 *level = mraa_gpio_read(gpio); in gpio_get()
144 int level = mraa_gpio_read(gpio_info->context); in gpio_isr_handler() local
145 fprintf(stdout, "Pin %d = %d\n", gpio_info->pin, level); in gpio_isr_handler()
199 int level; in main() local
201 if (gpio_get(pin, &level, rawmode) == MRAA_SUCCESS) { in main()
202 fprintf(stdout, "Pin %d = %d\n", pin, level); in main()
/hardware/bsp/intel/peripheral/libupm/src/ttp223/
Dttp223.cxx63 void TTP223::installISR(mraa::Edge level, IsrCallback *cb) in installISR() argument
65 installISR(level, generic_callback_isr, cb); in installISR()
69 void TTP223::installISR(mraa::Edge level, void (*isr)(void *), void *arg) in installISR() argument
75 mraa_gpio_isr(m_gpio, (mraa_gpio_edge_t) level, isr, arg); in installISR()
Dttp223.h103 void installISR(mraa::Edge level, IsrCallback *cb);
105 void installISR(mraa::Edge level, void (*isr)(void *), void *arg);
115 void installISR(mraa::Edge level, void (*isr)(void *), void *arg);
/hardware/bsp/intel/peripheral/libupm/src/my9221/
Dmy9221.cxx53 MY9221::setBarLevel (uint8_t level, bool direction) { in setBarLevel() argument
54 if (level > 10) { in setBarLevel()
60 level += 3; in setBarLevel()
62 uint32_t state = (block_idx < level) ? BIT_HIGH : BIT_LOW; in setBarLevel()
67 uint32_t state = (block_idx < level) ? BIT_HIGH : BIT_LOW; in setBarLevel()
/hardware/bsp/intel/peripheral/libupm/src/grovecircularled/
Dgrovecircularled.cxx69 GroveCircularLED::setLevel (uint8_t level, bool direction) { in setLevel() argument
70 if (level < 0 || level > 24) { in setLevel()
78 uint32_t state = (block_idx <= level) ? BIT_HIGH : BIT_LOW; in setLevel()
86 uint32_t state = (block_idx <= level - 1) ? BIT_HIGH : BIT_LOW; in setLevel()
/hardware/qcom/camera/QCamera2/HAL/
DQCameraThermalAdapter.h51 virtual int thermalEvtHandle(qcamera_thermal_level_enum_t *level,
55 void setThermalLevel(qcamera_thermal_level_enum_t level);
73 static int thermalCallback(int level, void *userdata, void *data);
DQCameraThermalAdapter.cpp155 int QCameraThermalAdapter::thermalCallback(int level, in thermalCallback() argument
163 mcb->setThermalLevel((qcamera_thermal_level_enum_t) level); in thermalCallback()
174 void QCameraThermalCallback::setThermalLevel(qcamera_thermal_level_enum_t level) { in setThermalLevel() argument
175 mLevel = level; in setThermalLevel()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
Dvideo_encoder_device_copper.cpp282 profile_level.level = V4L2_MPEG_VIDEO_MPEG4_LEVEL_2; in venc_open()
291 profile_level.level = VEN_LEVEL_H263_20; in venc_open()
300 profile_level.level = V4L2_MPEG_VIDEO_H264_LEVEL_1_0; in venc_open()
1192 __func__, codec_profile.profile, profile_level.level); in venc_start()
1364 m_sVenc_cfg.codectype, codec_profile.profile, profile_level.level); in venc_config_print()
1819 requested_level.level = V4L2_MPEG_VIDEO_MPEG4_LEVEL_5; in venc_set_profile_level()
1821 requested_level.level = V4L2_MPEG_VIDEO_MPEG4_LEVEL_5; in venc_set_profile_level()
1828 requested_level.level = V4L2_MPEG_VIDEO_MPEG4_LEVEL_0; in venc_set_profile_level()
1831 requested_level.level = V4L2_MPEG_VIDEO_MPEG4_LEVEL_0B; in venc_set_profile_level()
1834 requested_level.level = V4L2_MPEG_VIDEO_MPEG4_LEVEL_1; in venc_set_profile_level()
[all …]
Dvideo_encoder_device.cpp255 profile_level.level = VEN_LEVEL_MPEG4_2; in venc_open()
264 profile_level.level = VEN_LEVEL_H263_20; in venc_open()
273 profile_level.level = VEN_LEVEL_H264_1p1; in venc_open()
1177 __func__, codec_profile.profile, profile_level.level); in venc_start()
1411 m_sVenc_cfg.codectype, codec_profile.profile, profile_level.level); in venc_config_print()
1908 requested_level.level = VEN_LEVEL_MPEG4_5; in venc_set_profile_level()
1910 requested_level.level = VEN_LEVEL_MPEG4_6; in venc_set_profile_level()
1917 requested_level.level = VEN_LEVEL_MPEG4_0; in venc_set_profile_level()
1920 requested_level.level = VEN_LEVEL_MPEG4_1; in venc_set_profile_level()
1923 requested_level.level = VEN_LEVEL_MPEG4_2; in venc_set_profile_level()
[all …]
/hardware/qcom/audio/post_proc/
Dequalizer.c93 int32_t level) in equalizer_set_band_level() argument
95 ALOGV("%s: band: %d, level: %d", __func__, band, level); in equalizer_set_band_level()
96 if (level > 0) { in equalizer_set_band_level()
97 level = (int)((level+50)/100); in equalizer_set_band_level()
99 level = (int)((level-50)/100); in equalizer_set_band_level()
101 context->band_levels[band] = level; in equalizer_set_band_level()
354 int32_t level; in equalizer_set_parameter() local
375 level = (int32_t)(*(int16_t *)value); in equalizer_set_parameter()
380 equalizer_set_band_level(eq_ctxt, band, level); in equalizer_set_parameter()
/hardware/qcom/audio/msm8909/post_proc/
Dequalizer.c96 int32_t level) in equalizer_set_band_level() argument
98 ALOGV("%s: ctxt %p, band: %d, level: %d", __func__, context, band, level); in equalizer_set_band_level()
99 if (level > 0) { in equalizer_set_band_level()
100 level = (int)((level+50)/100); in equalizer_set_band_level()
102 level = (int)((level-50)/100); in equalizer_set_band_level()
104 context->band_levels[band] = level; in equalizer_set_band_level()
348 int32_t level; in equalizer_set_parameter() local
367 level = (int32_t)(*(int16_t *)value); in equalizer_set_parameter()
372 equalizer_set_band_level(eq_ctxt, band, level); in equalizer_set_parameter()
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dmessage_layer.c33 void inv_set_message(long set, long clear, int level) in inv_set_message() argument
35 if (level == 0) { in inv_set_message()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dmessage_layer.c33 void inv_set_message(long set, long clear, int level) in inv_set_message() argument
35 if (level == 0) { in inv_set_message()
/hardware/ti/omap4xxx/domx/mm_osal/inc/
Dtimm_osal_trace.h102 const short level; member
117 #define __TIMM_OSAL_Trace(level, tracegrp, fmt, ...) \ argument
120 __FILE__, __FUNCTION__, __LINE__, (level), (tracegrp) \
/hardware/akm/AK8975_FS/akmdfs/
DAKFS_Common.h105 #define AKMDEBUG(level, format, ...) \ argument
106 (((level) <= DBG_LEVEL) \
110 #define AKMDEBUG(level, format, ...) argument
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera_dbg.h66 #define CLOGx(module, level, fmt, args...) \ argument
68 if (g_cam_log[module][level]) { \
69 mm_camera_debug_log(module, level, __func__, __LINE__, fmt, ##args); \
114 const cam_global_debug_level_t level,
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device.cpp365 profile_level.level = VEN_LEVEL_MPEG4_2; in venc_open()
369 profile_level.level = VEN_LEVEL_H263_20; in venc_open()
375 profile_level.level = VEN_LEVEL_H264_1p1; in venc_open()
1377 __func__, codec_profile.profile, profile_level.level); in venc_start()
1619 m_sVenc_cfg.codectype, codec_profile.profile, profile_level.level); in venc_config_print()
2145 requested_level.level = VEN_LEVEL_MPEG4_5; in venc_set_profile_level()
2148 requested_level.level = VEN_LEVEL_MPEG4_6; in venc_set_profile_level()
2152 requested_level.level = VEN_LEVEL_MPEG4_0; in venc_set_profile_level()
2155 requested_level.level = VEN_LEVEL_MPEG4_1; in venc_set_profile_level()
2158 requested_level.level = VEN_LEVEL_MPEG4_2; in venc_set_profile_level()
[all …]

12345678