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))
931 y_stride = ALIGN(width, 128); in get_framesize_raw_nv12()
932 uv_stride = ALIGN(width, 128); in get_framesize_raw_nv12()
933 y_sclines = ALIGN(height, 32); in get_framesize_raw_nv12()
934 uv_sclines = ALIGN(((height + 1) >> 1), 16); in get_framesize_raw_nv12()
940 return ALIGN(size, SZ_4K); in get_framesize_raw_nv12()
951 y_meta_stride = ALIGN(DIV_ROUND_UP(width, 32), 64); in get_framesize_raw_nv12_ubwc()
952 y_meta_plane = y_meta_stride * ALIGN(DIV_ROUND_UP(height, 8), 16); in get_framesize_raw_nv12_ubwc()
953 y_meta_plane = ALIGN(y_meta_plane, SZ_4K); in get_framesize_raw_nv12_ubwc()
955 y_stride = ALIGN(width, 128); in get_framesize_raw_nv12_ubwc()
956 y_plane = ALIGN(y_stride * ALIGN(height, 32), SZ_4K); in get_framesize_raw_nv12_ubwc()
958 uv_meta_stride = ALIGN(DIV_ROUND_UP(width / 2, 16), 64); in get_framesize_raw_nv12_ubwc()
959 uv_meta_plane = uv_meta_stride * ALIGN(DIV_ROUND_UP(height / 2, 8), 16); in get_framesize_raw_nv12_ubwc()
960 uv_meta_plane = ALIGN(uv_meta_plane, SZ_4K); in get_framesize_raw_nv12_ubwc()
962 uv_stride = ALIGN(width, 128); in get_framesize_raw_nv12_ubwc()
963 uv_plane = ALIGN(uv_stride * ALIGN(height / 2, 32), SZ_4K); in get_framesize_raw_nv12_ubwc()
965 return ALIGN(y_meta_plane + y_plane + uv_meta_plane + uv_plane + in get_framesize_raw_nv12_ubwc()
973 y_stride = ALIGN(width * 2, 256); in get_framesize_raw_p010()
974 uv_stride = ALIGN(width * 2, 256); in get_framesize_raw_p010()
975 y_sclines = ALIGN(height, 32); in get_framesize_raw_p010()
976 uv_sclines = ALIGN((height + 1) >> 1, 16); in get_framesize_raw_p010()
980 return ALIGN((y_plane + uv_plane), SZ_4K); in get_framesize_raw_p010()
992 y_stride = ALIGN(width * 2, 256); in get_framesize_raw_p010_ubwc()
993 uv_stride = ALIGN(width * 2, 256); in get_framesize_raw_p010_ubwc()
994 y_sclines = ALIGN(height, 16); in get_framesize_raw_p010_ubwc()
995 uv_sclines = ALIGN((height + 1) >> 1, 16); in get_framesize_raw_p010_ubwc()
997 y_ubwc_plane = ALIGN(y_stride * y_sclines, SZ_4K); in get_framesize_raw_p010_ubwc()
998 uv_ubwc_plane = ALIGN(uv_stride * uv_sclines, SZ_4K); in get_framesize_raw_p010_ubwc()
999 y_meta_stride = ALIGN(DIV_ROUND_UP(width, 32), 64); in get_framesize_raw_p010_ubwc()
1000 y_meta_scanlines = ALIGN(DIV_ROUND_UP(height, 4), 16); in get_framesize_raw_p010_ubwc()
1001 y_meta_plane = ALIGN(y_meta_stride * y_meta_scanlines, SZ_4K); in get_framesize_raw_p010_ubwc()
1002 uv_meta_stride = ALIGN(DIV_ROUND_UP((width + 1) >> 1, 16), 64); in get_framesize_raw_p010_ubwc()
1003 uv_meta_scanlines = ALIGN(DIV_ROUND_UP((height + 1) >> 1, 4), 16); in get_framesize_raw_p010_ubwc()
1004 uv_meta_plane = ALIGN(uv_meta_stride * uv_meta_scanlines, SZ_4K); in get_framesize_raw_p010_ubwc()
1008 return ALIGN(size, SZ_4K); in get_framesize_raw_p010_ubwc()
1021 y_stride = ALIGN(ALIGN(width, 192) * 4 / 3, 256); in get_framesize_raw_yuv420_tp10_ubwc()
1022 uv_stride = ALIGN(ALIGN(width, 192) * 4 / 3, 256); in get_framesize_raw_yuv420_tp10_ubwc()
1023 y_sclines = ALIGN(height, 16); in get_framesize_raw_yuv420_tp10_ubwc()
1024 uv_sclines = ALIGN((height + 1) >> 1, 16); in get_framesize_raw_yuv420_tp10_ubwc()
1026 y_ubwc_plane = ALIGN(y_stride * y_sclines, SZ_4K); in get_framesize_raw_yuv420_tp10_ubwc()
1027 uv_ubwc_plane = ALIGN(uv_stride * uv_sclines, SZ_4K); in get_framesize_raw_yuv420_tp10_ubwc()
1028 y_meta_stride = ALIGN(DIV_ROUND_UP(width, 48), 64); in get_framesize_raw_yuv420_tp10_ubwc()
1029 y_meta_scanlines = ALIGN(DIV_ROUND_UP(height, 4), 16); in get_framesize_raw_yuv420_tp10_ubwc()
1030 y_meta_plane = ALIGN(y_meta_stride * y_meta_scanlines, SZ_4K); in get_framesize_raw_yuv420_tp10_ubwc()
1031 uv_meta_stride = ALIGN(DIV_ROUND_UP((width + 1) >> 1, 24), 64); in get_framesize_raw_yuv420_tp10_ubwc()
1032 uv_meta_scanlines = ALIGN(DIV_ROUND_UP((height + 1) >> 1, 4), 16); in get_framesize_raw_yuv420_tp10_ubwc()
1033 uv_meta_plane = ALIGN(uv_meta_stride * uv_meta_scanlines, SZ_4K); in get_framesize_raw_yuv420_tp10_ubwc()
1038 return ALIGN(size, SZ_4K); in get_framesize_raw_yuv420_tp10_ubwc()
1089 sz = ALIGN(height, 32) * ALIGN(width, 32) * 3 / 2 / 2; in venus_helper_get_framesz()
1092 return ALIGN(sz, SZ_4K); in venus_helper_get_framesz()
1139 num_mbs = (ALIGN(inst->height, 16) * ALIGN(inst->width, 16)) / 256; in venus_helper_get_work_mode()
1145 num_mbs = (ALIGN(inst->out_height, 16) * ALIGN(inst->out_width, 16)) / 256; in venus_helper_get_work_mode()