⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 decode.h

📁 pci 底层驱动
💻 H
字号:
#ifndef _DECODE_H_
#define _DECODE_H_

#include "ircommand.h"

#define DECODE_REPEAT_COMMAND   0x00010000

class IR_Decode
{
public:
    virtual IR_Command* getIrCommand()=0;
    virtual ULONG submitSample(DWORD sample)=0;    

protected:
    BYTE getBit(DWORD sample, BYTE index);
};

inline BYTE IR_Decode::getBit(DWORD sample, BYTE index)
{
    return (BYTE) ((sample >> index) & 1);
}

#endif

⌨️ 快捷键说明

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