11 #ifndef _VGA2USB_COMPRESSION_H_ 12 #define _VGA2USB_COMPRESSION_H_ 1 23 #define V2UDEC_API __declspec(dllexport) 25 #define V2UDEC_API __declspec(dllimport) 58 #define V2U_COMPRESSION_LIB_VERSION 0x00000100 95 const unsigned char * framebuf,
103 const unsigned char * framebuf,
111 const unsigned char * framebuf,
119 const unsigned char * framebuf,
126 const unsigned char * framebuf,
133 const unsigned char * framebuf,
140 const unsigned char * framebuf,
148 const unsigned char * framebuf,
158 const unsigned char * framebuf,
167 const unsigned char * framebuf,
174 const unsigned char * framebuf,
183 const unsigned char * framebuf,
185 unsigned char * bufout,
191 const unsigned char * framebuf,
193 unsigned char * bufout,
195 const unsigned char *prev_frame,
203 #endif //_VGA2USB_COMPRESSION_H_ V2UDEC_API void v2udec_deinit_context(V2U_DECOMPRESSION_LIB_CONTEXT uctx)
V2UDEC_API int v2udec_get_decompressed_framelen(V2U_DECOMPRESSION_LIB_CONTEXT uctx, const unsigned char *framebuf, int framebuflen)
V2UDEC_API V2U_UINT32 v2udec_get_palette(V2U_DECOMPRESSION_LIB_CONTEXT uctx, const unsigned char *framebuf, int framebuflen)
V2UDEC_API V2U_UINT32 v2udec_get_minheaderlen(V2U_DECOMPRESSION_LIB_CONTEXT uctx)
V2UDEC_API int v2udec_decompress_frame2(V2U_DECOMPRESSION_LIB_CONTEXT uctx, const unsigned char *framebuf, int framebuflen, unsigned char *bufout, int bufoutlen, const unsigned char *prev_frame, int prev_frame_len, int just_key_data)
V2UDEC_API V2U_TIME v2udec_get_timestamp(V2U_DECOMPRESSION_LIB_CONTEXT uctx, const unsigned char *framebuf, int framebuflen)
V2UDEC_API int v2udec_is_keyframe(V2U_DECOMPRESSION_LIB_CONTEXT uctx, const unsigned char *framebuf, int framebuflen)
struct v2udec_ctx * V2U_DECOMPRESSION_LIB_CONTEXT
V2UDEC_API V2U_BOOL v2udec_set_palette(V2U_DECOMPRESSION_LIB_CONTEXT uctx, const unsigned char *framebuf, int framebuflen, V2U_UINT32 palette)
V2UDEC_API int v2udec_is_ordered(V2U_DECOMPRESSION_LIB_CONTEXT uctx, const unsigned char *framebuf, int framebuflen)
V2UDEC_API V2U_UINT32 v2udec_get_cpalette(V2U_DECOMPRESSION_LIB_CONTEXT uctx, const unsigned char *framebuf, int framebuflen)
V2UDEC_API V2U_DECOMPRESSION_LIB_CONTEXT v2udec_init_context(void)
V2UDEC_API void v2udec_get_videomode(V2U_DECOMPRESSION_LIB_CONTEXT uctx, const unsigned char *framebuf, int framebuflen, V2U_VideoMode *vmode)
V2UDEC_API V2U_UINT32 v2udec_get_headerlen(V2U_DECOMPRESSION_LIB_CONTEXT uctx, const unsigned char *framebuf, int framebuflen)
V2UDEC_API V2U_UINT32 v2udec_get_framelen(V2U_DECOMPRESSION_LIB_CONTEXT uctx, const unsigned char *framebuf, int framebuflen)
V2UDEC_API int v2udec_decompress_frame(V2U_DECOMPRESSION_LIB_CONTEXT uctx, const unsigned char *framebuf, int framebuflen, unsigned char *bufout, int bufoutlen)
V2UDEC_API void v2udec_get_frameres(V2U_DECOMPRESSION_LIB_CONTEXT uctx, const unsigned char *framebuf, int framebuflen, V2URect *rect)