/////
///   MPEG4Frames.h
///
///   Written by Simon Chun (simon.chun@samsung.com)
///   2007/03/23
///

#ifndef __SAMSUNG_SYSLSI_AP_MPEG4_FRAMES_H__
#define __SAMSUNG_SYSLSI_AP_MPEG4_FRAMES_H__

typedef struct
{
	int  width, height;

} CONFIG_DATA;


#define MPEG4_CODING_TYPE_I		0	// I-frame
#define MPEG4_CODING_TYPE_P		1	// P-frame


#ifdef __cplusplus
extern "C" {
#endif

int ExtractConfigStreamMpeg4(FRAMEX_CTX  *pFrameExCtx, void *fp, unsigned char buf[], int buf_size, CONFIG_DATA *conf_data);
int NextFrameMpeg4(FRAMEX_CTX  *pFrameExCtx, void *fp, unsigned char buf[], int buf_size, unsigned int *coding_type);

#ifdef __cplusplus
}
#endif


#endif /* __SAMSUNG_SYSLSI_AP_MPEG4_FRAMES_H__ */
