List Info

Thread: compress/libdirac_encoder seq_compress.cpp, 1.40, 1.41




compress/libdirac_encoder seq_compress.cpp, 1.40, 1.41
user name
2007-08-21 07:46:38
Update of /cvsroot/dirac/compress/libdirac_encoder
In directory
sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv7589/libdirac_enco
der

Modified Files:
	seq_compress.cpp 
Log Message:
Fix errors reported by valgrind where unitialiased data was
being read from
upconverted arrays. The upconverter uses the actual frame
dimensions and not the
padded dimensions whereas the ME engine uses the padded
dimensions which is
resulting in unitialised data reads. The motion estimation
frame buffer now 
holds the actual frames rather than the padded frames to
overcome this problem.


Index: seq_compress.cpp
============================================================
=======
RCS file:
/cvsroot/dirac/compress/libdirac_encoder/seq_compress.cpp,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -d -r1.40 -r1.41
*** seq_compress.cpp	13 Aug 2007 10:41:20 -0000	1.40
--- seq_compress.cpp	21 Aug 2007 12:46:36 -0000	1.41
***************
*** 162,170 ****
                                  
sparams.GetVideoDepth());
  
      m_origbuffer = new FrameBuffer( sparams.CFormat() ,
                                      m_encparams.NumL1() ,
m_encparams.L1Sep() , 
                                      m_encparams.OrigXl(),
m_encparams.OrigYl(),
!                                     xpad_len, ypad_len, 
!                                     xpad_chroma_len,
ypad_chroma_len,
                                     
sparams.GetVideoDepth());
              
--- 162,172 ----
                                  
sparams.GetVideoDepth());
  
+     // Retain the original frame dimensions for the Motion
estimation
+     // buffer
      m_origbuffer = new FrameBuffer( sparams.CFormat() ,
                                      m_encparams.NumL1() ,
m_encparams.L1Sep() , 
                                      m_encparams.OrigXl(),
m_encparams.OrigYl(),
!                                     m_encparams.OrigXl(),
m_encparams.OrigYl(),
!                                     xl_chroma, yl_chroma,
                                     
sparams.GetVideoDepth());
              


------------------------------------------------------------
-------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and
a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Dirac-commits mailing list
Dirac-commitslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dirac-com
mits

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )