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

📄 dvbcsa_bs_uint32.h

📁 libdvbcsa is a implementation of the DVB Common Scrambling Algorithm
💻 H
字号:
/*    This file is part of libdvbcsa.    libdvbcsa is free software; you can redistribute it and/or modify    it under the terms of the GNU General Public License as published    by the Free Software Foundation; either version 2 of the License,    or (at your option) any later version.    libdvbcsa is distributed in the hope that it will be useful, but    WITHOUT ANY WARRANTY; without even the implied warranty of    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU    General Public License for more details.    You should have received a copy of the GNU General Public License    along with libdvbcsa; if not, write to the Free Software    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA    02111-1307 USA    Based on FFdecsa, Copyright (C) 2003-2004  fatih89r    (c) 2006-2008 Alexandre Becoulet <alexandre.becoulet@free.fr>*/#ifndef DVBCSA_UINT32_H_#define DVBCSA_UINT32_H_typedef uint32_t dvbcsa_bs_word_t;#define BS_BATCH_SIZE 32#define BS_BATCH_BYTES 4#define BS_VAL(n)	((dvbcsa_bs_word_t)(n))#define BS_VAL32(n)	BS_VAL(0x##n)#define BS_VAL16(n)	BS_VAL32(n##n)#define BS_VAL8(n)	BS_VAL16(n##n)#define BS_AND(a, b)	((a) & (b))#define BS_OR(a, b)	((a) | (b))#define BS_XOR(a, b)	((a) ^ (b))#define BS_XOREQ(a, b)	((a) ^= (b))#define BS_NOT(a)	(~(a))#define BS_SHL(a, n)	((a) << (n))#define BS_SHR(a, n)	((a) >> (n))#define BS_SHL8(a, n)	((a) << (8 * (n)))#define BS_SHR8(a, n)	((a) >> (8 * (n)))#define BS_EXTRACT8(a, n) ((a) >> (8 * (n)))#define BS_EMPTY()#endif

⌨️ 快捷键说明

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