Lines Matching refs:height
404 static inline unsigned int VENUS_EXTRADATA_SIZE(int width, int height) in VENUS_EXTRADATA_SIZE() argument
406 (void)height; in VENUS_EXTRADATA_SIZE()
468 static inline unsigned int VENUS_Y_SCANLINES(int color_fmt, int height) in VENUS_Y_SCANLINES() argument
471 if (!height) in VENUS_Y_SCANLINES()
487 sclines = MSM_MEDIA_ALIGN(height, alignment); in VENUS_Y_SCANLINES()
492 static inline unsigned int VENUS_UV_SCANLINES(int color_fmt, int height) in VENUS_UV_SCANLINES() argument
495 if (!height) in VENUS_UV_SCANLINES()
512 sclines = MSM_MEDIA_ALIGN(height / 2, alignment); in VENUS_UV_SCANLINES()
543 static inline unsigned int VENUS_Y_META_SCANLINES(int color_fmt, int height) in VENUS_Y_META_SCANLINES() argument
547 if (!height) in VENUS_Y_META_SCANLINES()
561 y_meta_scanlines = MSM_MEDIA_ROUNDUP(height, y_tile_height); in VENUS_Y_META_SCANLINES()
593 static inline unsigned int VENUS_UV_META_SCANLINES(int color_fmt, int height) in VENUS_UV_META_SCANLINES() argument
597 if (!height) in VENUS_UV_META_SCANLINES()
611 uv_meta_scanlines = MSM_MEDIA_ROUNDUP(height / 2, uv_tile_height); in VENUS_UV_META_SCANLINES()
641 static inline unsigned int VENUS_RGB_SCANLINES(int color_fmt, int height) in VENUS_RGB_SCANLINES() argument
645 if (!height) in VENUS_RGB_SCANLINES()
659 scanlines = MSM_MEDIA_ALIGN(height, alignment); in VENUS_RGB_SCANLINES()
687 static inline unsigned int VENUS_RGB_META_SCANLINES(int color_fmt, int height) in VENUS_RGB_META_SCANLINES() argument
691 if (!height) in VENUS_RGB_META_SCANLINES()
702 rgb_meta_scanlines = MSM_MEDIA_ROUNDUP(height, rgb_tile_height); in VENUS_RGB_META_SCANLINES()
710 int color_fmt, int width, int height) in VENUS_BUFFER_SIZE() argument
712 const unsigned int extra_size = VENUS_EXTRADATA_SIZE(width, height); in VENUS_BUFFER_SIZE()
724 if (!width || !height) in VENUS_BUFFER_SIZE()
729 y_sclines = VENUS_Y_SCANLINES(color_fmt, height); in VENUS_BUFFER_SIZE()
730 uv_sclines = VENUS_UV_SCANLINES(color_fmt, height); in VENUS_BUFFER_SIZE()
732 rgb_scanlines = VENUS_RGB_SCANLINES(color_fmt, height); in VENUS_BUFFER_SIZE()
757 y_meta_scanlines = VENUS_Y_META_SCANLINES(color_fmt, height); in VENUS_BUFFER_SIZE()
761 uv_meta_scanlines = VENUS_UV_META_SCANLINES(color_fmt, height); in VENUS_BUFFER_SIZE()
780 height); in VENUS_BUFFER_SIZE()
794 int color_fmt, int width, int height) in VENUS_VIEW2_OFFSET() argument
799 if (!width || !height) in VENUS_VIEW2_OFFSET()
804 y_sclines = VENUS_Y_SCANLINES(color_fmt, height); in VENUS_VIEW2_OFFSET()
805 uv_sclines = VENUS_UV_SCANLINES(color_fmt, height); in VENUS_VIEW2_OFFSET()