#ifndef __X4D_MERGE_LINES__
#define __X4D_MERGE_LINES__

#include	"x4d_filter.h"

//----------------------------------------------------------------------------------------
// Merging several lines
//----------------------------------------------------------------------------------------
extern ULONG	*merge_lines_px1_8( LONG line_cnt, LONG dst_cnt, 
																	LONG src_bits, LONG src_bit_offset, LONG src_line_offset, LONG dst_length,
																	ULONG *src, ULONG *dst );

extern ULONG	*merge_lines_G8_G8( LONG line_cnt, LONG dst_cnt, 
																	LONG src_bits, LONG src_bit_offset, LONG src_line_offset, LONG dst_length,
																	UCHAR *src, UCHAR *dst );

extern ULONG	*merge_lines_xRGB15_xRGB15( LONG line_cnt, LONG dst_cnt, 
																					LONG src_bits, LONG src_bit_offset, LONG src_line_offset, LONG dst_length,
																					UWORD *src, UWORD *dst );

extern ULONG	*merge_lines_AB16_AB16( LONG line_cnt, LONG dst_cnt, 
																			LONG src_bits, LONG src_bit_offset, LONG src_line_offset, LONG dst_length,
																			UWORD *src, UWORD *dst );

extern ULONG	*merge_lines_AG16_AG16( LONG line_cnt, LONG dst_cnt, 
																			LONG src_bits, LONG src_bit_offset, LONG src_line_offset, LONG dst_length,
																			UWORD *src, UWORD *dst );

extern ULONG	*merge_lines_RGB24_RGB24( LONG line_cnt, LONG dst_cnt, 
																				LONG src_bits, LONG src_bit_offset, LONG src_line_offset, LONG dst_length,
																				UCHAR *src, UCHAR *dst );

extern ULONG	*merge_lines_xRGB24_xRGB24( LONG line_cnt, LONG dst_cnt, 
																					LONG src_bits, LONG src_bit_offset, LONG src_line_offset, LONG dst_length,
																					ULONG *src, ULONG *dst );

extern ULONG	*merge_lines_CMYK32_CMYK32( LONG line_cnt, LONG dst_cnt, 
																					LONG src_bits, LONG src_bit_offset, LONG src_line_offset, LONG dst_length,
																					ULONG *src, ULONG *dst );

extern ULONG	*merge_lines_ARGB32_ARGB32( LONG line_cnt, LONG dst_cnt, 
																					LONG src_bits, LONG src_bit_offset, LONG src_line_offset, LONG dst_length,
																					ULONG *src, ULONG *dst );

#endif