• Home
  • Raw
  • Download

Lines Matching refs:height

319 static inline unsigned int VENUS_EXTRADATA_SIZE(int width, int height)  in VENUS_EXTRADATA_SIZE()  argument
321 (void)height; in VENUS_EXTRADATA_SIZE()
381 static inline unsigned int VENUS_Y_SCANLINES(int color_fmt, int height) in VENUS_Y_SCANLINES() argument
384 if (!height) in VENUS_Y_SCANLINES()
394 sclines = MSM_MEDIA_ALIGN(height, alignment); in VENUS_Y_SCANLINES()
403 static inline unsigned int VENUS_UV_SCANLINES(int color_fmt, int height) in VENUS_UV_SCANLINES() argument
406 if (!height) in VENUS_UV_SCANLINES()
416 sclines = MSM_MEDIA_ALIGN(((height + 1) >> 1), alignment); in VENUS_UV_SCANLINES()
450 static inline unsigned int VENUS_Y_META_SCANLINES(int color_fmt, int height) in VENUS_Y_META_SCANLINES() argument
454 if (!height) in VENUS_Y_META_SCANLINES()
468 y_meta_scanlines = MSM_MEDIA_ROUNDUP(height, y_tile_height); in VENUS_Y_META_SCANLINES()
500 static inline unsigned int VENUS_UV_META_SCANLINES(int color_fmt, int height) in VENUS_UV_META_SCANLINES() argument
504 if (!height) in VENUS_UV_META_SCANLINES()
518 uv_meta_scanlines = MSM_MEDIA_ROUNDUP(height, uv_tile_height); in VENUS_UV_META_SCANLINES()
526 int color_fmt, int width, int height) in VENUS_BUFFER_SIZE() argument
528 const unsigned int extra_size = VENUS_EXTRADATA_SIZE(width, height); in VENUS_BUFFER_SIZE()
537 if (!width || !height) in VENUS_BUFFER_SIZE()
542 y_sclines = VENUS_Y_SCANLINES(color_fmt, height); in VENUS_BUFFER_SIZE()
543 uv_sclines = VENUS_UV_SCANLINES(color_fmt, height); in VENUS_BUFFER_SIZE()
566 y_meta_scanlines = VENUS_Y_META_SCANLINES(color_fmt, height); in VENUS_BUFFER_SIZE()
570 uv_meta_scanlines = VENUS_UV_META_SCANLINES(color_fmt, height); in VENUS_BUFFER_SIZE()
586 int color_fmt, int width, int height) in VENUS_VIEW2_OFFSET() argument
591 if (!width || !height) in VENUS_VIEW2_OFFSET()
596 y_sclines = VENUS_Y_SCANLINES(color_fmt, height); in VENUS_VIEW2_OFFSET()
597 uv_sclines = VENUS_UV_SCANLINES(color_fmt, height); in VENUS_VIEW2_OFFSET()