tvpfiltlist.h

来自「ti的数字电视芯片 tvp9000的源码」· C头文件 代码 · 共 55 行

H
55
字号
/***************************************************************************** 
*    Property of Texas Instruments Incorporated, Copyright 2004
*    All rights reserved
******************************************************************************/
/*********************************************************************
*
* Description:
*  TVPFILTLIST.H contains private declarations related to the section linked
*             list management
*  
*  Contents:
*      Control structures
*      Constants
*   
**********************************************************************/
/*********************************************************************
*
* $Revision: $
*
* $History: TvpFilterList.h $
* 
*********************************************************************/

#ifndef TVP_FILT_LIST_DOT_H_IS_DEFINED
#define TVP_FILT_LIST_DOT_H_IS_DEFINED

#define TVP_LINK_LIST_SIZE       192   /* size of a linked list element          */
#define TVP_FILT_MIN_LLBUFF      2     /* minimum number of linked list elements */


/*****************************************************************************/
/* Linked list element                                                       */
typedef struct {
	unsigned char data[TVP_LINK_LIST_SIZE]; /* next section Pointer + 188bytes data */
}TvpLLNorm;

/*****************************************************************************/
/* Linked list definition                                                    */
typedef union {
   struct
   {
      TvpLLNorm *link_pointer;           /* Link Pointer to next payload */
      unsigned char data[TVP_LINK_LIST_SIZE-sizeof(TvpLLNorm *)];  /*188,TS packet*/
   }linear;
   /*cache is not applicable currently*/
   struct
   {													
      TvpLLNorm *link_pointer;           /* Link Pointer to next payload */
      TvpLLNorm *nextSection;
      unsigned char data[TVP_LINK_LIST_SIZE-8];
   }cache;                            /* Cache */
 }TvpLLBuff;

#endif

⌨️ 快捷键说明

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