aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mpeg4ip/files/patch-gcc34
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mpeg4ip/files/patch-gcc34')
-rw-r--r--multimedia/mpeg4ip/files/patch-gcc3454
1 files changed, 44 insertions, 10 deletions
diff --git a/multimedia/mpeg4ip/files/patch-gcc34 b/multimedia/mpeg4ip/files/patch-gcc34
index 364db01d9d52..8c485c15e72c 100644
--- a/multimedia/mpeg4ip/files/patch-gcc34
+++ b/multimedia/mpeg4ip/files/patch-gcc34
@@ -1,11 +1,45 @@
---- common/video/mpeg4-2000/idct/idct.hpp.orig Fri Jul 23 01:57:47 2004
-+++ common/video/mpeg4-2000/idct/idct.hpp Fri Jul 23 02:02:41 2004
-@@ -22,7 +22,7 @@
- #ifndef _INT_IDCT_
- #define _INT_IDCT_ 1
+--- common/video/mpeg4-2000/tools/entropy/huffman.cpp.orig Tue Sep 28 22:51:26 2004
++++ common/video/mpeg4-2000/tools/entropy/huffman.cpp Tue Sep 28 22:51:47 2004
+@@ -243,9 +243,6 @@
+ Void CHuffmanTree::printStatistics (Double dEntropy, Double dNOfBits, ostream &stream)
+ {
+ stream<<endl<<endl;
+- stream<<"//Entropy Per Symbol : "<<dEntropy<<endl;
+- stream<<"//Bits Per Symbol : "<<dNOfBits<<endl;
+- stream<<"//Table Efficiency : "<<dEntropy/dNOfBits<<endl;
+ }
--
-+#define BLOCK_SIZE 5
- #define IDCT_BLOCK_SIZE 8
- class idct{
- public:
+ Int CHuffmanCoDec::makeIndexFromSymbolInTable(istream &huffmanTable)
+--- common/video/mpeg4-2000/tools/entropy/bitstrm.cpp.orig Tue Sep 28 22:56:07 2004
++++ common/video/mpeg4-2000/tools/entropy/bitstrm.cpp Tue Sep 28 22:56:25 2004
+@@ -323,7 +323,6 @@
+ if (m_pstrmTrace != NULL) {
+ m_pstrmTrace->width (20);
+ (*m_pstrmTrace) << rgchSymbolName << "= ";
+- (*m_pstrmTrace) << fltValue << "\n";
+ m_pstrmTrace->flush ();
+ }
+ }
+@@ -356,8 +355,6 @@
+ if (m_pstrmTrace != NULL) {
+ m_pstrmTrace->width (20);
+ (*m_pstrmTrace) << rgchSymbolName << "= ";
+- (*m_pstrmTrace) << vctValue.x << ", ";
+- (*m_pstrmTrace) << vctValue.y << "\n ";
+ m_pstrmTrace->flush ();
+ }
+ }
+--- common/video/mpeg4-2000/sys/mode.cpp.orig Tue Sep 28 23:05:10 2004
++++ common/video/mpeg4-2000/sys/mode.cpp Tue Sep 28 23:05:59 2004
+@@ -409,12 +409,6 @@
+ // if (bVOPPrint)
+ cout << "\t" << "Shape:" << "\t\t\t" << nBitsShape << "\n";
+ cout << "\t" << "Total:" << "\t\t\t" << nBitsTotal << "\n";
+- cout << "\t" << "SNR Y:" << "\t\t\t" << dSNRY / nVOPs << " dB\n";
+- cout << "\t" << "SNR U:" << "\t\t\t" << dSNRU / nVOPs << " dB\n";
+- cout << "\t" << "SNR V:" << "\t\t\t" << dSNRV / nVOPs << " dB\n";
+- for(Int iAuxComp=0;iAuxComp<m_iAuxCompCount;iAuxComp++) // MAC (SB) 26-Nov-99
+- cout << "\t" << "SNR A[" << iAuxComp << "]:" << "\t\t" << dSNRA[iAuxComp] / nVOPs << " dB\n";
+- cout << "\n\t" << "average Qp:" << "\t\t" << (Double)nQp / nQMB << "\n\n";
+ cout.flush ();
+ }