Home
last modified time | relevance | path

Searched refs:MAX (Results 1 – 25 of 53) sorted by relevance

123

/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dresults_holder.c297 data[0] = (long)MIN(MAX(rh.game_quat[0] * ((float)(1L << 30)), -2147483648.), 2147483647.); in inv_get_6axis_quaternion()
298 data[1] = (long)MIN(MAX(rh.game_quat[1] * ((float)(1L << 30)), -2147483648.), 2147483647.); in inv_get_6axis_quaternion()
299 data[2] = (long)MIN(MAX(rh.game_quat[2] * ((float)(1L << 30)), -2147483648.), 2147483647.); in inv_get_6axis_quaternion()
300 data[3] = (long)MIN(MAX(rh.game_quat[3] * ((float)(1L << 30)), -2147483648.), 2147483647.); in inv_get_6axis_quaternion()
311 data[0] = (long)MIN(MAX(rh.nav_quat[0] * ((float)(1L << 30)), -2147483648.), 2147483647.); in inv_get_quaternion()
312 data[1] = (long)MIN(MAX(rh.nav_quat[1] * ((float)(1L << 30)), -2147483648.), 2147483647.); in inv_get_quaternion()
313 data[2] = (long)MIN(MAX(rh.nav_quat[2] * ((float)(1L << 30)), -2147483648.), 2147483647.); in inv_get_quaternion()
314 data[3] = (long)MIN(MAX(rh.nav_quat[3] * ((float)(1L << 30)), -2147483648.), 2147483647.); in inv_get_quaternion()
385 data[0] = (long)MIN(MAX(rh.geomag_quat[0] * ((float)(1L << 30)), -2147483648.), 2147483647.); in inv_get_geomagnetic_quaternion()
386 data[1] = (long)MIN(MAX(rh.geomag_quat[1] * ((float)(1L << 30)), -2147483648.), 2147483647.); in inv_get_geomagnetic_quaternion()
[all …]
Ddata_builder.c1410 current_time = MAX(current_time, sensors.accel.timestamp); in inv_set_contiguous()
1414 current_time = MAX(current_time, sensors.compass.timestamp); in inv_set_contiguous()
1418 current_time = MAX(current_time, sensors.temp.timestamp); in inv_set_contiguous()
1422 current_time = MAX(current_time, sensors.quat.timestamp); in inv_set_contiguous()
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/
Dmlmath.h90 #ifndef MAX
91 #define MAX(x,y) (((x)>(y))?(x):(y)) macro
/hardware/invensense/6515/libsensors_iio/software/core/driver/include/
Dmlmath.h90 #ifndef MAX
91 #define MAX(x,y) (((x)>(y))?(x):(y)) macro
/hardware/qcom/display/msm8996/sdm/libs/utils/
Drect.cpp68 res.left = MAX(rect1.left, rect2.left); in Intersection()
69 res.top = MAX(rect1.top, rect2.top); in Intersection()
135 res.right = MAX(rect1.right, rect2.right); in Union()
136 res.bottom = MAX(rect1.bottom, rect2.bottom); in Union()
/hardware/bsp/intel/peripheral/libupm/src/maxds3231m/
DCMakeLists.txt2 set (libdescription "realtime clock sensor from MAX family")
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dmr_dissim.c194 mmvx = MAX(abs(min_mvx - here->mbmi.mv.as_mv.row), in vp8_cal_dissimilarity()
196 mmvy = MAX(abs(min_mvy - here->mbmi.mv.as_mv.col), in vp8_cal_dissimilarity()
198 dissim = MAX(mmvx, mmvy); in vp8_cal_dissimilarity()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/
Derror_concealment.c20 #define MAX(x,y) (((x)>(y))?(x):(y)) macro
98 const int int_top = MAX(b1_row, b2_row); // top in block_overlap()
99 const int int_left = MAX(b1_col, b2_col); // left in block_overlap()
129 const int blk_idx = MAX(rel_ol_blk_row,0) * 4 + MAX(rel_ol_blk_col,0); in calculate_overlaps_mb()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_svc_layercontext.h43 LAYER_CONTEXT layer_context[MAX(VPX_TS_MAX_LAYERS, VPX_SS_MAX_LAYERS)];
Dvp9_mcomp.c37 col_min = MAX(col_min, (MV_LOW >> 3) + 1); in vp9_set_mv_search_range()
38 row_min = MAX(row_min, (MV_LOW >> 3) + 1); in vp9_set_mv_search_range()
58 size = MAX(16, size); in vp9_init_search_range()
293 const int minc = MAX(x->mv_col_min * 8, ref_mv->col - MV_MAX); in vp9_find_best_sub_pixel_tree()
295 const int minr = MAX(x->mv_row_min * 8, ref_mv->row - MV_MAX); in vp9_find_best_sub_pixel_tree()
392 const int minc = MAX(x->mv_col_min * 8, ref_mv->col - MV_MAX); in vp9_find_best_sub_pixel_comp_tree()
394 const int minr = MAX(x->mv_row_min * 8, ref_mv->row - MV_MAX); in vp9_find_best_sub_pixel_comp_tree()
859 return vp9_hex_search(x, ref_mv, MAX(MAX_MVSEARCH_STEPS - 2, search_param), in vp9_fast_hex_search()
873 return vp9_bigdia_search(x, ref_mv, MAX(MAX_MVSEARCH_STEPS - 2, search_param), in vp9_fast_dia_search()
924 start_row = MAX(-range, x->mv_row_min - ref_row); in vp9_full_range_search_c()
[all …]
Dvp9_extend.c67 const int eb_y = MAX(ALIGN_POWER_OF_TWO(src->y_width, 6) - src->y_width, in vp9_copy_and_extend_frame()
69 const int er_y = MAX(ALIGN_POWER_OF_TWO(src->y_height, 6) - src->y_height, in vp9_copy_and_extend_frame()
Dvp9_ratectrl.c167 const int min_frame_target = MAX(rc->min_frame_bandwidth, in vp9_rc_clamp_pframe_target_size()
510 active_best_quality = MAX(qindex + delta_qindex, rc->best_quality); in rc_pick_q_and_bounds_one_pass_cbr()
622 active_best_quality = MAX(qindex + delta_qindex, rc->best_quality); in rc_pick_q_and_bounds_one_pass_vbr()
804 active_best_quality = MAX(qindex + delta_qindex, rc->best_quality); in rc_pick_q_and_bounds_two_pass()
1238 int min_frame_target = MAX(rc->av_per_frame_bandwidth >> 4, in calc_pframe_target_size_one_pass_cbr()
1249 min_frame_target = MAX(lc->avg_frame_size >> 4, FRAME_OVERHEAD_BITS); in calc_pframe_target_size_one_pass_cbr()
1260 return MAX(min_frame_target, target); in calc_pframe_target_size_one_pass_cbr()
1272 int kf_boost = MAX(initial_boost, (int)(2 * cpi->output_framerate - 16)); in calc_iframe_target_size_one_pass_cbr()
Dvp9_picklpf.c74 const int filt_low = MAX(filt_mid - filter_step, min_filter_level); in search_filter_level()
Dvp9_encodemv.c220 unsigned int maxv = MAX(abs(mv->row), abs(mv->col)) >> 3; in vp9_encode_mv()
221 cpi->max_mv_magnitude = MAX(maxv, cpi->max_mv_magnitude); in vp9_encode_mv()
Dvp9_firstpass.c332 return MAX(0.1, sum / (w * h)); in simple_weight()
934 q = MAX(q, cpi->cq_target_quality); in vp9_twopass_worst_quality()
1762 MAX(twopass->gf_group_bits - twopass->gf_bits, 0) * in define_gf_group()
2335 cpi->twopass.bits_left = MAX(cpi->twopass.bits_left, 0); in vp9_twopass_postencode_update()
2345 cpi->twopass.gf_group_bits = MAX(cpi->twopass.gf_group_bits, 0); in vp9_twopass_postencode_update()
2347 cpi->twopass.kf_group_bits = MAX(cpi->twopass.kf_group_bits, 0); in vp9_twopass_postencode_update()
/hardware/qcom/camera/QCamera2/HAL3/
DQCamera3HALHeader.h42 #define MAX(a, b) ((a) > (b) ? (a) : (b)) macro
/hardware/bsp/intel/peripheral/libupm/src/
Dpackage.json.in3 …various sensors on platforms such as the Intel Galileo, Intel Edison, Minnowboard MAX and others.",
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_quant_common.c118 dc_qlookup[i] = (int16_t)MAX(ACDC_MIN, poly3(0.000000305, -0.00065, 0.9, in vp9_init_quant_tables()
Dvp9_common.h28 #define MAX(x, y) (((x) > (y)) ? (x) : (y)) macro
/hardware/intel/img/psb_video/src/
Dpsb_texture.h43 #define DRI2_MAX_BUFFERS_NUM MAX( DRI2_FLIP_BUFFERS_NUM, DRI2_BLIT_BUFFERS_NUM )
/hardware/qcom/display/msm8996/sdm/include/utils/
Dconstants.h59 #define MAX(a, b) (((a) > (b)) ? (a) : (b)) macro
/hardware/bsp/intel/peripheral/libmraa/docs/
Dminnow_max.md3 MinnowBoard MAX is an open hardware embedded board designed with the Intel(R)
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpegdec_test.c44 #define MAX(a,b) (((a) > (b)) ? (a) : (b)) macro
45 #define CLAMP(x, min, max) MIN(MAX((x), (min)), (max))
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Ddata_builder.c1183 current_time = MAX(current_time, sensors.accel.timestamp); in inv_set_contiguous()
1187 current_time = MAX(current_time, sensors.compass.timestamp); in inv_set_contiguous()
1191 current_time = MAX(current_time, sensors.temp.timestamp); in inv_set_contiguous()
1195 current_time = MAX(current_time, sensors.quat.timestamp); in inv_set_contiguous()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h141 #define MAX(x, y) (((x) > (y)) ? (x) : (y)) ///< maximum macro

123