Lines Matching refs:width
140 static inline unsigned int VENUS_EXTRADATA_SIZE(int width, int height) in VENUS_EXTRADATA_SIZE() argument
143 (void)width; in VENUS_EXTRADATA_SIZE()
152 static inline unsigned int VENUS_Y_STRIDE(int color_fmt, int width) in VENUS_Y_STRIDE() argument
155 if (!width) in VENUS_Y_STRIDE()
163 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
172 static inline unsigned int VENUS_UV_STRIDE(int color_fmt, int width) in VENUS_UV_STRIDE() argument
175 if (!width) in VENUS_UV_STRIDE()
183 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
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()
242 y_stride = VENUS_Y_STRIDE(color_fmt, width); in VENUS_BUFFER_SIZE()
243 uv_stride = VENUS_UV_STRIDE(color_fmt, width); 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()
279 y_stride = VENUS_Y_STRIDE(color_fmt, width); in VENUS_VIEW2_OFFSET()
280 uv_stride = VENUS_UV_STRIDE(color_fmt, width); in VENUS_VIEW2_OFFSET()