Searched refs:DIV_ROUND_UP (Results 1 – 5 of 5) sorted by relevance
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/memory_manager/include/ |
D | hmm_intrnl.h | 59 #define DIV_ROUND_UP(NUMER, DENOM) (((NUMER) + (DENOM) - 1) / (DENOM)) macro 62 #define HEAD_AAUS DIV_ROUND_UP(sizeof(head_record), HMM_ADDR_ALIGN_UNIT) 65 #define PTR_RECORD_AAUS DIV_ROUND_UP(sizeof(ptr_record), HMM_ADDR_ALIGN_UNIT) 68 #define DUMMY_END_BLOCK_BAUS DIV_ROUND_UP(HEAD_AAUS, HMM_BLOCK_ALIGN_UNIT) 72 DIV_ROUND_UP(HEAD_AAUS + PTR_RECORD_AAUS, HMM_BLOCK_ALIGN_UNIT)
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/memory_manager/ |
D | hmm_alloc.c | 40 n = DIV_ROUND_UP(n, HMM_BLOCK_ALIGN_UNIT); in U()
|
D | hmm_resize.c | 28 n = DIV_ROUND_UP(n, HMM_BLOCK_ALIGN_UNIT); in U()
|
/hardware/ti/omap4xxx/hwc/ |
D | hwc.c | 50 #define DIV_ROUND_UP(a, b) (((a) + (b) - 1) / (b)) macro 722 __u32 min_src_w = DIV_ROUND_UP(src_w, is_2d ? limits->max_xdecim_2d : limits->max_xdecim_1d); in omap4_hwc_can_scale() 723 __u32 min_src_h = DIV_ROUND_UP(src_h, is_2d ? limits->max_ydecim_2d : limits->max_ydecim_1d); in omap4_hwc_can_scale()
|
/hardware/ti/omap4-aah/hwc/ |
D | hwc.c | 55 #define DIV_ROUND_UP(a, b) (((a) + (b) - 1) / (b)) macro 913 __u32 min_src_w = DIV_ROUND_UP(src_w, is_2d ? limits->max_xdecim_2d : limits->max_xdecim_1d); in omap4_hwc_can_scale() 914 __u32 min_src_h = DIV_ROUND_UP(src_h, is_2d ? limits->max_ydecim_2d : limits->max_ydecim_1d); in omap4_hwc_can_scale()
|