/*********************************************************************************
*                                                                               *
* Copyright (c) 2008 Samsung System LSI											*
* All rights reserved.                                                          *
*                                                                               *
* This software is test sample code for Hybrid Divx Decoder						*
*																				*
* Author : Jiyoung Shin 								    						
* Last Changed : 2008.08.05 													
*********************************************************************************/

#ifndef __SAMSUNG_SYSLSI_APDEV_SAMPLE_IMG_RENDER_H__
#define __SAMSUNG_SYSLSI_APDEV_SAMPLE_IMG_RENDER_H__

#include <windows.h>

#define LCD_X	800
#define LCD_Y	480
#define DISPLAY_X	800
#define DISPLAY_Y	480


typedef enum {
	MAIN_MODE = 1,
	SINGLE_DECODE,
	SINGLE_ENCODE,
	DEC_DEC,
	DEC_DEC_DISPLAY_1,
	DEC_DEC_DISPLAY_2,
	DEC_ENC,
	ENC_ENC,
	DEC_UNIT,
	ENC_UNIT
} MFCExeMode;

typedef enum {
	WIN0 = 0,
	WIN1,
	WIN2
}WINNumber;



#ifdef __cplusplus
extern "C" {    
#endif	/* __cplusplus */

// Codec Mem Test
int SsbSipDisplayInit(MFCExeMode exeMode);
void SsbSipDisplayDeInit(MFCExeMode exeMode);
int SsbSipDisplayStart(MFCExeMode exeMode, int DisplayYAddr, int DisplayCAddr, int DisplayWidth, int DisplayHeight);
void SsbSipDisplayEventSet();
void SsbSipDisplayEventCreate();
int SsbSipDisplayThreadCreate();
void SsbSipDisplayThreadClose();

#ifdef __cplusplus
}        
#endif	/* __cplusplus */

#endif /* __SAMSUNG_SYSLSI_APDEV_SAMPLE_IMG_RENDER_H__ */
