Lines Matching refs:height
593 static __inline__ unsigned int VENUS_EXTRADATA_SIZE(int width, int height) in VENUS_EXTRADATA_SIZE() argument
595 (void)height; in VENUS_EXTRADATA_SIZE()
667 static __inline__ unsigned int VENUS_Y_SCANLINES(int color_fmt, int height) in VENUS_Y_SCANLINES() argument
671 if (!height) in VENUS_Y_SCANLINES()
688 sclines = MSM_MEDIA_ALIGN(height, alignment); in VENUS_Y_SCANLINES()
693 static __inline__ unsigned int VENUS_UV_SCANLINES(int color_fmt, int height) in VENUS_UV_SCANLINES() argument
697 if (!height) in VENUS_UV_SCANLINES()
715 sclines = MSM_MEDIA_ALIGN(height / 2, alignment); in VENUS_UV_SCANLINES()
747 static __inline__ unsigned int VENUS_Y_META_SCANLINES(int color_fmt, int height) in VENUS_Y_META_SCANLINES() argument
751 if (!height) in VENUS_Y_META_SCANLINES()
766 y_meta_scanlines = MSM_MEDIA_ROUNDUP(height, y_tile_height); in VENUS_Y_META_SCANLINES()
799 static __inline__ unsigned int VENUS_UV_META_SCANLINES(int color_fmt, int height) in VENUS_UV_META_SCANLINES() argument
803 if (!height) in VENUS_UV_META_SCANLINES()
818 uv_meta_scanlines = MSM_MEDIA_ROUNDUP(height / 2, uv_tile_height); in VENUS_UV_META_SCANLINES()
854 static __inline__ unsigned int VENUS_RGB_SCANLINES(int color_fmt, int height) in VENUS_RGB_SCANLINES() argument
858 if (!height) in VENUS_RGB_SCANLINES()
874 scanlines = MSM_MEDIA_ALIGN(height, alignment); in VENUS_RGB_SCANLINES()
904 static __inline__ unsigned int VENUS_RGB_META_SCANLINES(int color_fmt, int height) in VENUS_RGB_META_SCANLINES() argument
908 if (!height) in VENUS_RGB_META_SCANLINES()
921 rgb_meta_scanlines = MSM_MEDIA_ROUNDUP(height, rgb_tile_height); in VENUS_RGB_META_SCANLINES()
929 int color_fmt, int width, int height) in VENUS_BUFFER_SIZE() argument
931 const unsigned int extra_size = VENUS_EXTRADATA_SIZE(width, height); in VENUS_BUFFER_SIZE()
943 if (!width || !height) in VENUS_BUFFER_SIZE()
948 y_sclines = VENUS_Y_SCANLINES(color_fmt, height); in VENUS_BUFFER_SIZE()
949 uv_sclines = VENUS_UV_SCANLINES(color_fmt, height); in VENUS_BUFFER_SIZE()
951 rgb_scanlines = VENUS_RGB_SCANLINES(color_fmt, height); in VENUS_BUFFER_SIZE()
976 y_meta_scanlines = VENUS_Y_META_SCANLINES(color_fmt, height); in VENUS_BUFFER_SIZE()
980 uv_meta_scanlines = VENUS_UV_META_SCANLINES(color_fmt, height); in VENUS_BUFFER_SIZE()
993 y_meta_scanlines = VENUS_Y_META_SCANLINES(color_fmt, height); in VENUS_BUFFER_SIZE()
997 uv_meta_scanlines = VENUS_UV_META_SCANLINES(color_fmt, height); in VENUS_BUFFER_SIZE()
1015 height); in VENUS_BUFFER_SIZE()
1029 int color_fmt, int width, int height) in VENUS_VIEW2_OFFSET() argument
1034 if (!width || !height) in VENUS_VIEW2_OFFSET()
1039 y_sclines = VENUS_Y_SCANLINES(color_fmt, height); in VENUS_VIEW2_OFFSET()
1040 uv_sclines = VENUS_UV_SCANLINES(color_fmt, height); in VENUS_VIEW2_OFFSET()