Lines Matching refs:ALIGN

22 #define NUM_MBS_720P	(((ALIGN(1280, 16)) >> 4) * ((ALIGN(736, 16)) >> 4))
23 #define NUM_MBS_4K (((ALIGN(4096, 16)) >> 4) * ((ALIGN(2304, 16)) >> 4))
949 y_stride = ALIGN(width, 128); in get_framesize_raw_nv12()
950 uv_stride = ALIGN(width, 128); in get_framesize_raw_nv12()
951 y_sclines = ALIGN(height, 32); in get_framesize_raw_nv12()
952 uv_sclines = ALIGN(((height + 1) >> 1), 16); in get_framesize_raw_nv12()
958 return ALIGN(size, SZ_4K); in get_framesize_raw_nv12()
969 y_meta_stride = ALIGN(DIV_ROUND_UP(width, 32), 64); in get_framesize_raw_nv12_ubwc()
970 y_meta_plane = y_meta_stride * ALIGN(DIV_ROUND_UP(height, 8), 16); in get_framesize_raw_nv12_ubwc()
971 y_meta_plane = ALIGN(y_meta_plane, SZ_4K); in get_framesize_raw_nv12_ubwc()
973 y_stride = ALIGN(width, 128); in get_framesize_raw_nv12_ubwc()
974 y_plane = ALIGN(y_stride * ALIGN(height, 32), SZ_4K); in get_framesize_raw_nv12_ubwc()
976 uv_meta_stride = ALIGN(DIV_ROUND_UP(width / 2, 16), 64); in get_framesize_raw_nv12_ubwc()
977 uv_meta_plane = uv_meta_stride * ALIGN(DIV_ROUND_UP(height / 2, 8), 16); in get_framesize_raw_nv12_ubwc()
978 uv_meta_plane = ALIGN(uv_meta_plane, SZ_4K); in get_framesize_raw_nv12_ubwc()
980 uv_stride = ALIGN(width, 128); in get_framesize_raw_nv12_ubwc()
981 uv_plane = ALIGN(uv_stride * ALIGN(height / 2, 32), SZ_4K); in get_framesize_raw_nv12_ubwc()
983 return ALIGN(y_meta_plane + y_plane + uv_meta_plane + uv_plane + in get_framesize_raw_nv12_ubwc()
991 y_stride = ALIGN(width * 2, 256); in get_framesize_raw_p010()
992 uv_stride = ALIGN(width * 2, 256); in get_framesize_raw_p010()
993 y_sclines = ALIGN(height, 32); in get_framesize_raw_p010()
994 uv_sclines = ALIGN((height + 1) >> 1, 16); in get_framesize_raw_p010()
998 return ALIGN((y_plane + uv_plane), SZ_4K); in get_framesize_raw_p010()
1010 y_stride = ALIGN(width * 2, 256); in get_framesize_raw_p010_ubwc()
1011 uv_stride = ALIGN(width * 2, 256); in get_framesize_raw_p010_ubwc()
1012 y_sclines = ALIGN(height, 16); in get_framesize_raw_p010_ubwc()
1013 uv_sclines = ALIGN((height + 1) >> 1, 16); in get_framesize_raw_p010_ubwc()
1015 y_ubwc_plane = ALIGN(y_stride * y_sclines, SZ_4K); in get_framesize_raw_p010_ubwc()
1016 uv_ubwc_plane = ALIGN(uv_stride * uv_sclines, SZ_4K); in get_framesize_raw_p010_ubwc()
1017 y_meta_stride = ALIGN(DIV_ROUND_UP(width, 32), 64); in get_framesize_raw_p010_ubwc()
1018 y_meta_scanlines = ALIGN(DIV_ROUND_UP(height, 4), 16); in get_framesize_raw_p010_ubwc()
1019 y_meta_plane = ALIGN(y_meta_stride * y_meta_scanlines, SZ_4K); in get_framesize_raw_p010_ubwc()
1020 uv_meta_stride = ALIGN(DIV_ROUND_UP((width + 1) >> 1, 16), 64); in get_framesize_raw_p010_ubwc()
1021 uv_meta_scanlines = ALIGN(DIV_ROUND_UP((height + 1) >> 1, 4), 16); in get_framesize_raw_p010_ubwc()
1022 uv_meta_plane = ALIGN(uv_meta_stride * uv_meta_scanlines, SZ_4K); in get_framesize_raw_p010_ubwc()
1026 return ALIGN(size, SZ_4K); in get_framesize_raw_p010_ubwc()
1039 y_stride = ALIGN(ALIGN(width, 192) * 4 / 3, 256); in get_framesize_raw_yuv420_tp10_ubwc()
1040 uv_stride = ALIGN(ALIGN(width, 192) * 4 / 3, 256); in get_framesize_raw_yuv420_tp10_ubwc()
1041 y_sclines = ALIGN(height, 16); in get_framesize_raw_yuv420_tp10_ubwc()
1042 uv_sclines = ALIGN((height + 1) >> 1, 16); in get_framesize_raw_yuv420_tp10_ubwc()
1044 y_ubwc_plane = ALIGN(y_stride * y_sclines, SZ_4K); in get_framesize_raw_yuv420_tp10_ubwc()
1045 uv_ubwc_plane = ALIGN(uv_stride * uv_sclines, SZ_4K); in get_framesize_raw_yuv420_tp10_ubwc()
1046 y_meta_stride = ALIGN(DIV_ROUND_UP(width, 48), 64); in get_framesize_raw_yuv420_tp10_ubwc()
1047 y_meta_scanlines = ALIGN(DIV_ROUND_UP(height, 4), 16); in get_framesize_raw_yuv420_tp10_ubwc()
1048 y_meta_plane = ALIGN(y_meta_stride * y_meta_scanlines, SZ_4K); in get_framesize_raw_yuv420_tp10_ubwc()
1049 uv_meta_stride = ALIGN(DIV_ROUND_UP((width + 1) >> 1, 24), 64); in get_framesize_raw_yuv420_tp10_ubwc()
1050 uv_meta_scanlines = ALIGN(DIV_ROUND_UP((height + 1) >> 1, 4), 16); in get_framesize_raw_yuv420_tp10_ubwc()
1051 uv_meta_plane = ALIGN(uv_meta_stride * uv_meta_scanlines, SZ_4K); in get_framesize_raw_yuv420_tp10_ubwc()
1056 return ALIGN(size, SZ_4K); in get_framesize_raw_yuv420_tp10_ubwc()
1107 sz = ALIGN(height, 32) * ALIGN(width, 32) * 3 / 2 / 2; in venus_helper_get_framesz()
1110 return ALIGN(sz, SZ_4K); in venus_helper_get_framesz()
1157 num_mbs = (ALIGN(inst->height, 16) * ALIGN(inst->width, 16)) / 256; in venus_helper_get_work_mode()
1163 num_mbs = (ALIGN(inst->out_height, 16) * ALIGN(inst->out_width, 16)) / 256; in venus_helper_get_work_mode()