#ifndef __MEDIA_INFO_H__
#define __MEDIA_INFO_H__
#ifndef MSM_MEDIA_ALIGN
#define MSM_MEDIA_ALIGN(__sz, __align) …
#endif
#ifndef MSM_MEDIA_ROUNDUP
#define MSM_MEDIA_ROUNDUP(__sz, __r) …
#endif
#ifndef MSM_MEDIA_MAX
#define MSM_MEDIA_MAX(__a, __b) …
#endif
enum color_fmts { … };
#define COLOR_FMT_RGBA1010102_UBWC …
#define COLOR_FMT_RGB565_UBWC …
#define COLOR_FMT_P010_UBWC …
#define COLOR_FMT_P010 …
static unsigned int VENUS_Y_STRIDE(int color_fmt, int width)
{ … }
static unsigned int VENUS_UV_STRIDE(int color_fmt, int width)
{ … }
static unsigned int VENUS_Y_SCANLINES(int color_fmt, int height)
{ … }
static unsigned int VENUS_UV_SCANLINES(int color_fmt, int height)
{ … }
static unsigned int VENUS_Y_META_STRIDE(int color_fmt, int width)
{ … }
static unsigned int VENUS_Y_META_SCANLINES(int color_fmt, int height)
{ … }
static unsigned int VENUS_UV_META_STRIDE(int color_fmt, int width)
{ … }
static unsigned int VENUS_UV_META_SCANLINES(int color_fmt, int height)
{ … }
static unsigned int VENUS_RGB_STRIDE(int color_fmt, int width)
{ … }
static unsigned int VENUS_RGB_SCANLINES(int color_fmt, int height)
{ … }
static unsigned int VENUS_RGB_META_STRIDE(int color_fmt, int width)
{ … }
static unsigned int VENUS_RGB_META_SCANLINES(int color_fmt, int height)
{ … }
#endif