mfc_decode.h

来自「SAMSUNG S3C6410 CPU BSP for winmobile6」· C头文件 代码 · 共 30 行

H
30
字号
#ifndef __SAMSUNG_SYSLSI_APDEV_SAMPLE_MFC_DECODE_H__
#define __SAMSUNG_SYSLSI_APDEV_SAMPLE_MFC_DECODE_H__


// Display config
#define DECODED_OUT_NOTHING		(0)
#define DECODED_OUT_FILE		(1)
#define DECODED_OUT_DISP		(2)
#define DECODED_OUTPUT	(DECODED_OUT_DISP)

#if (DECODED_OUTPUT == DECODED_OUT_FILE)
#define OUT_FILE_NAME	"\\Temp\\output.yuv"
#endif


typedef enum {
	CODEC_MPEG4,
	CODEC_H263,
	CODEC_H264,
	CODEC_VC1
} CODEC_MODE;


#include <windows.h>	// Because of HWND

int mfcdec_demo(HWND hWnd, LPCTSTR pszFileName[], CODEC_MODE codec_mode[], int num_pips, int *force_exit);


#endif /* __SAMSUNG_SYSLSI_APDEV_SAMPLE_MFC_DECODE_H__ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?