📄 slicedccbuffer.h
字号:
/*+++ *******************************************************************\
*
* Copyright and Disclaimer:
*
* ---------------------------------------------------------------
* This software is provided "AS IS" without warranty of any kind,
* either expressed or implied, including but not limited to the
* implied warranties of noninfringement, merchantability and/or
* fitness for a particular purpose.
* ---------------------------------------------------------------
*
* Copyright (c) 2008 Conexant Systems, Inc.
* All rights reserved.
*
\******************************************************************* ---*/
#ifndef _SLICED_CC_BUFFER_H_
#define _SLICED_CC_BUFFER_H_
extern "C"
{
#include <wdm.h>
}
#include <windef.h>
#include <ks.h>
#include <ksmedia.h>
class BasePin;
class AncillaryPacket;
class SlicedCCBuffer
{
typedef struct _SLICED_CC_PACKET
{
BYTE header00;
BYTE headerFF_1;
BYTE headerFF_2;
BYTE data_id; //did
BYTE data_id2; //sdid
BYTE data_count;
BYTE idid0;
BYTE idid1;
BYTE sliced_cc0;
BYTE sliced_cc1;
}SLICED_CC_PACKET, *PSLICED_CC_PACKET;
public:
SlicedCCBuffer();
VOID parseBuffer(AncillaryPacket* p_packet);
VOID setPin(BasePin* p_pin);
VOID releasePin();
protected:
private:
BasePin* _p_pin;
KMUTEX _mutex;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -