12 #define _V2U_UTIL_H_ 1 26 # define MIN(x,y) (((x)<(y))?(x):(y)) 30 # define MAX(x,y) (((x)>(y))?(x):(y)) 33 #define V2U_EDID_SIZE 128 46 # define V2U_LINE_SIZE_BPP(w,bpp) ((((w)+31)&(-32))*(bpp)/8) 48 # define V2U_LINE_SIZE_BPP(w,bpp) ((w)*(bpp)/8) 50 #define V2U_LINE_SIZE(w,fmt) V2U_LINE_SIZE_BPP(w,V2UPALETTE_2_BPP(fmt)) 114 int row,
int w,
int h);
void v2u_convert_nv12_to_bgr24(void *dst, const void *src, int row, int w, int h)
void v2u_convert_nv12_to_rgb24(void *dst, const void *src, int row, int w, int h)
V2U_BOOL v2u_edid_read(FILE *in, V2U_UINT8 edid[V2U_EDID_SIZE])
const char int const char const char * src
V2U_BOOL v2u_convert_to_rgb24(void *dst, const void *scr, int fmt, int row, int w, int h)
void v2u_convert_i420_to_rgb24(void *dst, const void *src, int row, int w, int h)
void v2u_convert_yv12_to_rgb24(void *dst, const void *src, int row, int w, int h)
void v2u_convert_yv12_to_bgr24(void *dst, const void *src, int row, int w, int h)
void v2u_convert_i420_to_bgr24(void *dst, const void *src, int row, int w, int h)
V2U_BOOL v2u_edid_write(FILE *out, const V2U_UINT8 edid[V2U_EDID_SIZE])
void v2u_convert_yuy2_to_bgr24(void *dst, const void *src, int row, int w, int h)
void v2u_convert_2vuy_to_rgb24(void *dst, const void *src, int row, int w, int h)
enum v2u_product_type V2UProductType
void v2u_convert_2vuy_to_bgr24(void *dst, const void *src, int row, int w, int h)
const char * v2u_product_name(V2UProductType type)
void v2u_convert_yuy2_to_rgb24(void *dst, const void *src, int row, int w, int h)
V2U_BOOL v2u_copy_line(void *dst24, const void *bmp, int fmt, int w)