Lines Matching refs:height
140 static inline unsigned int VENUS_EXTRADATA_SIZE(int width, int height) in VENUS_EXTRADATA_SIZE() argument
142 (void)height; in VENUS_EXTRADATA_SIZE()
192 static inline unsigned int VENUS_Y_SCANLINES(int color_fmt, int height) in VENUS_Y_SCANLINES() argument
195 if (!height) in VENUS_Y_SCANLINES()
203 sclines = MSM_MEDIA_ALIGN(height, alignment); in VENUS_Y_SCANLINES()
212 static inline unsigned int VENUS_UV_SCANLINES(int color_fmt, int height) in VENUS_UV_SCANLINES() argument
215 if (!height) in VENUS_UV_SCANLINES()
223 sclines = MSM_MEDIA_ALIGN(((height + 1) >> 1), alignment); in VENUS_UV_SCANLINES()
233 int color_fmt, int width, int height) in VENUS_BUFFER_SIZE() argument
235 const unsigned int extra_size = VENUS_EXTRADATA_SIZE(width, height); in VENUS_BUFFER_SIZE()
239 if (!width || !height) in VENUS_BUFFER_SIZE()
244 y_sclines = VENUS_Y_SCANLINES(color_fmt, height); in VENUS_BUFFER_SIZE()
245 uv_sclines = VENUS_UV_SCANLINES(color_fmt, height); in VENUS_BUFFER_SIZE()
271 int color_fmt, int width, int height) in VENUS_VIEW2_OFFSET() argument
276 if (!width || !height) in VENUS_VIEW2_OFFSET()
281 y_sclines = VENUS_Y_SCANLINES(color_fmt, height); in VENUS_VIEW2_OFFSET()
282 uv_sclines = VENUS_UV_SCANLINES(color_fmt, height); in VENUS_VIEW2_OFFSET()