msf_psn.h

来自「ZORAN 962/966 SOURCE CODE,DVD chip」· C头文件 代码 · 共 51 行

H
51
字号
/**********************************************************************************
 *  Copyright (c) 2001 ZORAN Corporation, All Rights Reserved
 *  THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF ZORAN CORPORATION
 *
 *  File: "msf_psn.h"
 *
 * Description:
 * ============
 * Definitions for MSF<->PSN<->BCD operations
 * 
 * Log:
 * ====
 * $Revision: $
 * Last Modified by $Author: $ at $Modtime: $ 
 **********************************************************************************
 * Updates:
 **********************************************************************************
 * $Log: $
 * 
 * 
 *********************************************************************************/
#include "Config.h"		/* Global Configuration - do not remove! */


#ifndef MSF_PSN_H
#define MSF_PSN_H


/*** Include Files ***************************************************************/
#include "Include\SysDefs.h"
#include "Drive\Zfe\zfe.h"


/*** Defines *********************************************************************/


/*** Typedefs ********************************************************************/


/*** Public Functions ************************************************************/
UINT32		 MSFPSN_Msf2Psn(UINT8 msf_min, UINT8 msf_sec, UINT8 msf_frm);
void		 MSFPSN_Psn2Msf(UINT32 psn, UINT8 * msf_min, UINT8 * msf_sec, UINT8 * msf_frm);
ZFE_ERR_CODE MSFPSN_ConvBcd2PsnWithChecking(UINT8 bcd_min, UINT8 bcd_sec, UINT8 bcd_frm, UINT32 * psn_p);
ZFE_ERR_CODE MSFPSN_ConvPsn2BcdWithChecking(UINT32 psn, UINT8 * bcd_min, UINT8 * bcd_sec, UINT8 * bcd_frm);
UINT8		 MSFPSN_ConvBcd2Hex(UINT8 bcd);
UINT8		 MSFPSN_ConvHex2Bcd(UINT8 hex);


#endif

⌨️ 快捷键说明

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