Home
last modified time | relevance | path

Searched refs:MIN (Results 1 – 25 of 57) 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 …]
Dstorage_manager.c141 len = MIN(hd->size, len); in inv_load_mpl_states()
/hardware/qcom/display/msm8996/sdm/libs/utils/
Drect.cpp70 res.right = MIN(rect1.right, rect2.right); in Intersection()
71 res.bottom = MIN(rect1.bottom, rect2.bottom); in Intersection()
133 res.left = MIN(rect1.left, rect2.left); in Union()
134 res.top = MIN(rect1.top, rect2.top); in Union()
151 out_rects[count].right = MIN(rect_temp.right, aligned_right); in SplitLeftRight()
181 out_rects[count].bottom = MIN(rect_temp.bottom, aligned_bottom); in SplitTopBottom()
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/
Dmlmath.h86 #ifndef MIN
87 #define MIN(x,y) (((x)<(y))?(x):(y)) macro
/hardware/invensense/6515/libsensors_iio/software/core/driver/include/
Dmlmath.h86 #ifndef MIN
87 #define MIN(x,y) (((x)<(y))?(x):(y)) macro
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/
Derror_concealment.c19 #define MIN(x,y) (((x)<(y))?(x):(y)) macro
103 const int int_right = MIN(b1_col + (4<<3), b2_col + (4<<3)); // right in block_overlap()
104 const int int_bottom = MIN(b1_row + (4<<3), b2_row + (4<<3)); // bottom in block_overlap()
137 int end_row = MIN(4 + mb_row * 4 - first_blk_row, 2); in calculate_overlaps_mb()
138 int end_col = MIN(4 + mb_col * 4 - first_blk_col, 2); in calculate_overlaps_mb()
213 end_row = MIN(mb_rows - overlap_mb_row, 2); in vp8_calculate_overlaps()
214 end_col = MIN(mb_cols - overlap_mb_col, 2); in vp8_calculate_overlaps()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_aq_complexity.c69 const int xmis = MIN(cm->mi_cols - mi_col, bw); in vp9_select_in_frame_q_segment()
70 const int ymis = MIN(cm->mi_rows - mi_row, bh); in vp9_select_in_frame_q_segment()
Dvp9_aq_cyclicrefresh.c136 const int xmis = MIN(cm->mi_cols - mi_col, bw); in vp9_cyclic_refresh_update_segment()
137 const int ymis = MIN(cm->mi_rows - mi_row, bh); in vp9_cyclic_refresh_update_segment()
279 xmis = MIN(cm->mi_cols - mi_col, in vp9_cyclic_refresh_setup()
281 ymis = MIN(cm->mi_rows - mi_row, in vp9_cyclic_refresh_setup()
Dvp9_speed_features.c58 if (MIN(cm->width, cm->height) >= 720) in set_good_speed_feature()
82 if (MIN(cm->width, cm->height) >= 720) in set_good_speed_feature()
105 if (MIN(cm->width, cm->height) >= 720) in set_good_speed_feature()
161 if (MIN(cm->width, cm->height) >= 720) in set_rt_speed_feature()
183 if (MIN(cm->width, cm->height) >= 720) in set_rt_speed_feature()
Dvp9_mcomp.c39 col_max = MIN(col_max, (MV_UPP >> 3) - 1); in vp9_set_mv_search_range()
40 row_max = MIN(row_max, (MV_UPP >> 3) - 1); in vp9_set_mv_search_range()
64 sr = MIN(sr, (cpi->sf.max_step_search_steps - 2)); in vp9_init_search_range()
294 const int maxc = MIN(x->mv_col_max * 8, ref_mv->col + MV_MAX); in vp9_find_best_sub_pixel_tree()
296 const int maxr = MIN(x->mv_row_max * 8, ref_mv->row + MV_MAX); in vp9_find_best_sub_pixel_tree()
393 const int maxc = MIN(x->mv_col_max * 8, ref_mv->col + MV_MAX); in vp9_find_best_sub_pixel_comp_tree()
395 const int maxr = MIN(x->mv_row_max * 8, ref_mv->row + MV_MAX); in vp9_find_best_sub_pixel_comp_tree()
926 end_row = MIN(range, x->mv_row_max - ref_row); in vp9_full_range_search_c()
927 end_col = MIN(range, x->mv_col_max - ref_col); in vp9_full_range_search_c()
1313 const int row_max = MIN(ref_mv->row + distance, x->mv_row_max); in vp9_full_search_sad_c()
[all …]
Dvp9_ratectrl.c60 const double minqtarget = MIN(((x3 * maxq + x2) * maxq + x1) * maxq, in get_minq_index()
190 target = MIN(target, max_rate); in vp9_rc_clamp_iframe_target_size()
212 lrc->bits_off_target = MIN(lrc->bits_off_target, lc->maximum_buffer_size); in update_layer_buffer_level()
231 rc->bits_off_target = MIN(rc->bits_off_target, oxcf->maximum_buffer_size); in update_buffer_level()
435 return MIN(active_worst_quality, rc->worst_quality); in calc_active_worst_quality_one_pass_vbr()
455 active_worst_quality = MIN(rc->worst_quality, in calc_active_worst_quality_one_pass_cbr()
458 active_worst_quality = MIN(rc->worst_quality, in calc_active_worst_quality_one_pass_cbr()
1253 const int pct_low = (int)MIN(diff / one_pct_bits, oxcf->under_shoot_pct); in calc_pframe_target_size_one_pass_cbr()
1257 const int pct_high = (int)MIN(-diff / one_pct_bits, oxcf->over_shoot_pct); in calc_pframe_target_size_one_pass_cbr()
Dvp9_svc_layercontext.c95 lrc->bits_off_target = MIN(lrc->bits_off_target, lc->maximum_buffer_size); in vp9_update_layer_context_change_config()
96 lrc->buffer_level = MIN(lrc->buffer_level, lc->maximum_buffer_size); in vp9_update_layer_context_change_config()
Dvp9_picklpf.c73 const int filt_high = MIN(filt_mid + filter_step, max_filter_level); in search_filter_level()
/hardware/qcom/camera/QCamera2/HAL3/
DQCamera3HALHeader.h43 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
/hardware/qcom/camera/usbcamcore/src/
DQCameraMjpegDecode.cpp47 #define MIN(a,b) (((a) < (b)) ? (a) : (b)) macro
358 output_width = MIN((dest.width), in decoder_test()
360 output_height = MIN((dest.height), in decoder_test()
366 output_height = MIN((dest.height), in decoder_test()
368 output_width = MIN((dest.width), in decoder_test()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_tile_common.c21 return MIN(offset, mis); in get_tile_offset()
Dvp9_prob.h77 const unsigned int count = MIN(ct[0] + ct[1], count_sat); in merge_probs()
Dvp9_common.h27 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) macro
Dvp9_pred_common.c374 const int xmis = MIN(cm->mi_cols - mi_col, bw); in vp9_get_segment_id()
375 const int ymis = MIN(cm->mi_rows - mi_row, bh); in vp9_get_segment_id()
380 segment_id = MIN(segment_id, in vp9_get_segment_id()
/hardware/intel/img/psb_video/src/
Dtng_enc_trace.h43 #define MIN(a,b) ((a)>(b)?(b):(a)) macro
/hardware/qcom/display/msm8996/sdm/include/utils/
Dconstants.h60 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
/hardware/intel/common/libva/test/decode/
Dtinyjpeg.c63 #ifndef MIN
64 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
725 MIN(COMPONENTS, ARRAY_ELEMS(iq_matrix.load_quantiser_table)); in tinyjpeg_decode()
744 MIN(COMPONENTS, ARRAY_ELEMS(huffman_table.load_huffman_table)); in tinyjpeg_decode()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dstorage_manager.c141 len = MIN(hd->size, len); in inv_load_mpl_states()
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpegdec_test.c43 #define MIN(a,b) (((a) < (b)) ? (a) : (b)) macro
45 #define CLAMP(x, min, max) MIN(MAX((x), (min)), (max))
/hardware/ti/omap4-aah/camera/
DEncoder_libjpeg.cpp45 #define MIN(x,y) ((x < y) ? x : y) macro
404 MIN(ARRAY_SIZE(ImageInfo.DateTime), value_length + 1)); in insertElement()

123