Home
last modified time | relevance | path

Searched refs:num (Results 1 – 25 of 195) sorted by relevance

12345678

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Derror_resilience_test.cc112 void SetErrorFrames(int num, unsigned int *list) { in SetErrorFrames() argument
113 if (num > kMaxErrorFrames) in SetErrorFrames()
114 num = kMaxErrorFrames; in SetErrorFrames()
115 else if (num < 0) in SetErrorFrames()
116 num = 0; in SetErrorFrames()
117 error_nframes_ = num; in SetErrorFrames()
122 void SetDroppableFrames(int num, unsigned int *list) { in SetDroppableFrames() argument
123 if (num > kMaxDroppableFrames) in SetDroppableFrames()
124 num = kMaxDroppableFrames; in SetDroppableFrames()
125 else if (num < 0) in SetDroppableFrames()
[all …]
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dstorage_manager.c44 int num; /**< Number of differnt save entities */ member
75 for (kk=0; kk<ds.num; ++kk) { in inv_register_load_store()
81 if (ds.num >= NUM_STORAGE_BOXES) { in inv_register_load_store()
85 ds.hd[ds.num].key = key; in inv_register_load_store()
86 ds.hd[ds.num].size = size; in inv_register_load_store()
87 ds.load[ds.num] = load_func; in inv_register_load_store()
88 ds.save[ds.num] = save_func; in inv_register_load_store()
90 ds.num++; in inv_register_load_store()
112 for (kk=0; kk<ds.num; ++kk) { in inv_find_entry()
186 for (kk = 0; kk < ds.num; ++kk) { in inv_save_mpl_states()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dstorage_manager.c44 int num; /**< Number of differnt save entities */ member
75 for (kk=0; kk<ds.num; ++kk) { in inv_register_load_store()
81 if (ds.num >= NUM_STORAGE_BOXES) { in inv_register_load_store()
85 ds.hd[ds.num].key = key; in inv_register_load_store()
86 ds.hd[ds.num].size = size; in inv_register_load_store()
87 ds.load[ds.num] = load_func; in inv_register_load_store()
88 ds.save[ds.num] = save_func; in inv_register_load_store()
90 ds.num++; in inv_register_load_store()
112 for (kk=0; kk<ds.num; ++kk) { in inv_find_entry()
186 for (kk = 0; kk < ds.num; ++kk) { in inv_save_mpl_states()
/hardware/ti/omap4xxx/kernel-headers/linux/
Domapfb.h25 #define OMAP_IOW(num, dtype) _IOW('O', num, dtype) argument
26 #define OMAP_IOR(num, dtype) _IOR('O', num, dtype) argument
27 #define OMAP_IOWR(num, dtype) _IOWR('O', num, dtype) argument
29 #define OMAP_IO(num) _IO('O', num) argument
/hardware/ti/omap4-aah/kernel-headers/linux/
Domapfb.h25 #define OMAP_IOW(num, dtype) _IOW('O', num, dtype) argument
26 #define OMAP_IOR(num, dtype) _IOR('O', num, dtype) argument
27 #define OMAP_IOWR(num, dtype) _IOWR('O', num, dtype) argument
29 #define OMAP_IO(num) _IO('O', num) argument
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Divfdec.c21 static void fix_framerate(int *num, int *den) { in fix_framerate() argument
26 if (*num < 1000) { in fix_framerate()
28 if (*num & 1) in fix_framerate()
31 *num /= 2; in fix_framerate()
35 *num = 30; in fix_framerate()
/hardware/ti/omap4-aah/original-kernel-headers/linux/
Domapfb.h33 #define OMAP_IOW(num, dtype) _IOW('O', num, dtype) argument
34 #define OMAP_IOR(num, dtype) _IOR('O', num, dtype) argument
35 #define OMAP_IOWR(num, dtype) _IOWR('O', num, dtype) argument
36 #define OMAP_IO(num) _IO('O', num) argument
/hardware/ti/omap4xxx/original-kernel-headers/linux/
Domapfb.h33 #define OMAP_IOW(num, dtype) _IOW('O', num, dtype) argument
34 #define OMAP_IOR(num, dtype) _IOR('O', num, dtype) argument
35 #define OMAP_IOWR(num, dtype) _IOWR('O', num, dtype) argument
36 #define OMAP_IO(num) _IO('O', num) argument
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_prob.h54 static INLINE vp9_prob get_prob(int num, int den) { in get_prob() argument
55 return (den == 0) ? 128u : clip_prob(((int64_t)num * 256 + (den >> 1)) / den); in get_prob()
58 static INLINE vp9_prob get_prob(int num, int den) { in get_prob() argument
59 return (den == 0) ? 128u : clip_prob((num * 256 + (den >> 1)) / den); in get_prob()
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dgscan.cpp313 static int parseScanResults(wifi_scan_result *results, int num, nlattr *attr) in parseScanResults() argument
315 memset(results, 0, sizeof(wifi_scan_result) * num); in parseScanResults()
318 for (nl_iterator it(attr); it.has_next() && i < num; it.next(), i++) { in parseScanResults()
347 if (i >= num) { in parseScanResults()
827 wifi_cached_scan_results *results, int max, int *num) in GetScanResultsCommand() argument
828 : WifiCommand("GetScanResultsCommand", iface, -1), mScans(results), mMax(max), mNum(num), in GetScanResultsCommand()
832 int createRequest(WifiRequest& request, int num, byte flush) { in createRequest() argument
839 result = request.put_u32(GSCAN_ATTRIBUTE_NUM_OF_RESULTS, num); in createRequest()
921 int scan_id = 0, flags = 0, num = 0, scan_ch_bucket_mask = 0; in handleResponse() local
930 num = it2.get_u32(); in handleResponse()
[all …]
/hardware/ti/omap4xxx/hwc/
Dhwc.c966 static void gather_layer_statistics(omap4_hwc_device_t *hwc_dev, struct counts *num, hwc_display_co… in gather_layer_statistics() argument
978 num->possible_overlay_layers++; in gather_layer_statistics()
982 num->scaled_layers++; in gather_layer_statistics()
985 num->BGR++; in gather_layer_statistics()
987 num->RGB++; in gather_layer_statistics()
989 num->NV12++; in gather_layer_statistics()
992 num->dockable++; in gather_layer_statistics()
995 num->protected++; in gather_layer_statistics()
997 num->mem += mem1d(handle); in gather_layer_statistics()
1002 static void decide_supported_cloning(omap4_hwc_device_t *hwc_dev, struct counts *num) in decide_supported_cloning() argument
[all …]
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dgroveo2.js37 function roundNum(num, decimalPlaces) argument
40 …return (Math.round((num + extraNum) * (Math.pow(10, decimalPlaces))) / Math.pow(10, decimalPlaces)…
Dguvas12d.js45 function roundNum(num, decimalPlaces) argument
48 …return (Math.round((num + extraNum) * (Math.pow(10, decimalPlaces))) / Math.pow(10, decimalPlaces)…
Djoystick12.js41 function roundNum(num, decimalPlaces) argument
44 var numerator = Math.round((num + extraNum) * (Math.pow(10, decimalPlaces)));
Dina132.js37 function roundNum(num, decimalPlaces) argument
40 var numerator = Math.round((num + extraNum) * (Math.pow(10, decimalPlaces)));
Dotp538u.js51 function roundNum(num, decimalPlaces) argument
54 return (Math.round((num + extraNum) *
Denc03r.js54 function roundNum(num, decimalPlaces) argument
57 return (Math.round((num + extraNum) * (Math.pow(10, decimalPlaces))) /
Dhmc5883l.js51 function round2Digits(num) argument
53 return Math.round((num + 0.00001) * 100) / 100;
/hardware/bsp/intel/peripheral/libmraa/src/iio/
Diio.c90 snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_SCAN_ELEM, dev->num); in mraa_iio_get_channel_data()
110 … snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_SCAN_ELEM "/%s", dev->num, ent->d_name); in mraa_iio_get_channel_data()
207 return device->num; in mraa_iio_get_device_num_by_name()
244 snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/%s", dev->num, attr_name); in mraa_iio_read_string()
277 snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/%s", dev->num, attr_name); in mraa_iio_write_string()
349 sprintf(bu, IIO_SLASH_DEV "%d", dev->num); in mraa_iio_trigger_buffer()
376 snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_EVENTS, dev->num); in mraa_iio_get_event_data()
402 … snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_EVENTS "/%s", dev->num, ent->d_name); in mraa_iio_get_event_data()
450 snprintf(bu, MAX_SIZE, IIO_SLASH_DEV "%d", dev->num); in mraa_iio_event_poll()
502 sprintf(bu, IIO_SLASH_DEV "%d", dev->num); in mraa_iio_event_setup_callback()
[all …]
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.h29 inv_error_t inv_get_handler_number(const char *name, int *num);
30 inv_error_t inv_get_input_number(const char *name, int *num);
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.h29 inv_error_t inv_get_handler_number(const char *name, int *num);
30 inv_error_t inv_get_input_number(const char *name, int *num);
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/parser/
Dh264parse_mem.c17 void* h264_memset( void* buf, uint32_t c, uint32_t num ) in h264_memset() argument
20 uint32_t size32 = ( num >> 2 ); in h264_memset()
32 void* h264_memcpy( void* dest, void* src, uint32_t num ) in h264_memcpy() argument
36 uint32_t size32 = ( num >> 2 ); in h264_memcpy()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/
Dvpx_mem.h70 void *vpx_calloc(size_t num, size_t size);
131 # define vpx_calloc(num, size) xvpx_calloc(num, size, __FILE__, __LINE__) argument
141 void *xvpx_calloc(size_t num, size_t size, char *file, int line);
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_exif.c316 val_rat.num = (uint32_t)(apex_value * 100); in process_sensor_data()
323 val_rat.num = (uint32_t)(p_sensor_params->aperture_value * 100); in process_sensor_data()
380 val_rat.num = (uint32_t)(p_sensor_params->f_number * 100); in process_sensor_data()
422 val_rat.num = 0; in process_3a_data()
425 val_rat.num = 1; in process_3a_data()
428 val_rat.num = ROUND(p_3a_params->exp_time); in process_3a_data()
431 LOGD("numer %d denom %d %zd", val_rat.num, val_rat.denom, in process_3a_data()
443 val_srat.num = (int32_t)(shutter_speed_value * 1000); in process_3a_data()
446 val_srat.num = 0; in process_3a_data()
512 val_srat.num = (int32_t) (p_3a_params->brightness * 100.0f); in process_3a_data()
/hardware/ti/omap4-aah/hwc/
Dhwc.c1212 static void gather_layer_statistics(omap4_hwc_device_t *hwc_dev, struct counts *num, hwc_display_co… in gather_layer_statistics() argument
1224 num->possible_overlay_layers++; in gather_layer_statistics()
1228 num->scaled_layers++; in gather_layer_statistics()
1231 num->BGR++; in gather_layer_statistics()
1233 num->RGB++; in gather_layer_statistics()
1235 num->NV12++; in gather_layer_statistics()
1238 num->dockable++; in gather_layer_statistics()
1241 num->protected++; in gather_layer_statistics()
1243 num->mem += mem1d(handle); in gather_layer_statistics()
1246 num->large_rgb32_layers++; in gather_layer_statistics()
[all …]

12345678