?? huffman.h
字號:
/***************************************************************** * tmn (TMN encoder) * Copyright (C) 1995 Telenor R&D * Karl Olav Lillevold <kol@nta.no> * * This is written by Andy C. Hung * *****************************************************************//*************************************************************Copyright (C) 1990, 1991, 1993 Andy C. Hung, all rights reserved.PUBLIC DOMAIN LICENSE: Stanford University Portable Video ResearchGroup. If you use this software, you agree to the following: Thisprogram package is purely experimental, and is licensed "as is".Permission is granted to use, modify, and distribute this programwithout charge for any purpose, provided this license/ disclaimernotice appears in the copies. No warranty or maintenance is given,either expressed or implied. In no event shall the author(s) beliable to you or a third party for any special, incidental,consequential, or other damages, arising out of the use or inabilityto use the program for any purpose (or the loss of data), even if wehave been advised of such possibilities. Any public reference oradvertisement of this source code should refer to it as the PortableVideo Research Group (PVRG) code, and not by any author(s) (orStanford University) name.*************************************************************//*************************************************************huffman.hHuffman stuff...*************************************************************/#define EHUFF struct Modified_Encoder_HuffmanEHUFF{ int n; int *Hlen; int *Hcode;};/* From huffman.c */void InitHuff();void FreeHuff();void PrintEhuff();EHUFF *MakeEhuff();void FreeEhuff(EHUFF *eh);void LoadETable();int Encode(int val,EHUFF *huff);void mputv(int n,int b);/* From stream.c */void mwopen();void mwclose();int zeroflush();void mputv();long mwtell();void mwseek();
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -