fixpsn.h

来自「Zoran V966 DVD 解码 Soc芯片的源程序」· C头文件 代码 · 共 60 行

H
60
字号
/**********************************************************************************
 *  Copyright (c) 2002 ZORAN Corporation, All Rights Reserved
 *  THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF ZORAN CORPORATION
 *
 *  File: $Workfile: fixpsn.h $             
 *
 * Description:
 * ============
 * This module implements an efficient finite state machine for correcting noisy PSN values.
 * PSN values are sequential numbers 100,101,102,103 etc with "noise".
 * 
 * Log:
 * ====
 * $Revision: $
 * Last Modified by $Author: $ at $Modtime: $ 
 **********************************************************************************
 * Updates:
 **********************************************************************************
 * $Log: $
 * 
 * 
 *********************************************************************************/
#include "Config.h"		/* Global Configuration - do not remove! */


#ifndef FIXPSN_H
#define FIXPSN_H


/*** Include Files ***************************************************************/
#include "Include\sysdefs.h"
#include "Drive\Zfe\zfe.h"
#include "Drive\Zfe\Disc\Reader\rd_defs.h"


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


/*** Typedefs ********************************************************************/
typedef enum 
{									  	  // psn ok ?  fwd fix ? 
    FIXPSN_UNKNOWN_FLAG			= 0x01,   //  no        no    
    FIXPSN_NO_SYNC_FLAG			= 0x02,   //  yes       no    
    FIXPSN_IN_SYNC_FLAG			= 0x04,   //  yes       no    
    FIXPSN_FWD_FIX_FLAG			= 0x08,   //  no        yes   
    FIXPSN_LOSE_SYNC_FLAG		= 0x10,   //  yes       no    
    FIXPSN_LOSE_N_FWD_FIX_FLAG  = 0x18,   //  yes       no    
    FIXPSN_RESYNC_FLAG			= 0x20    //  yes       no    
} FIXPSN_FIX_FLAGS_ET;


/*** Externs *********************************************************************/


/*** Public Funcions *************************************************************/
void				FIXPSN_ResetState(void);
FIXPSN_FIX_FLAGS_ET FIXPSN_UpdateState(RD_DEFS_STD_BLK_ST * blk_p);


#endif

⌨️ 快捷键说明

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