[svn] / trunk / xvidcore / src / decoder.c Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/decoder.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 876, Wed Feb 19 21:59:30 2003 UTC revision 1055, Mon Jun 9 17:08:36 2003 UTC
# Line 19  Line 19 
19   *  along with this program; if not, write to the Free Software   *  along with this program; if not, write to the Free Software
20   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21   *   *
22   * $Id: decoder.c,v 1.49 2003-02-19 21:59:30 edgomez Exp $   * $Id: decoder.c,v 1.50 2003-06-09 17:02:38 Isibaar Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# Line 1752  Line 1752 
1752          int success = 0;          int success = 0;
1753          int output = 0;          int output = 0;
1754          int seen_something = 0;          int seen_something = 0;
1755            idctFuncPtr idct_save = idct;
1756    
1757          start_global_timer();          start_global_timer();
1758    
# Line 1839  Line 1840 
1840    
1841          dec->p_bmv.x = dec->p_bmv.y = dec->p_fmv.y = dec->p_fmv.y = 0;  /* init pred vector to 0 */          dec->p_bmv.x = dec->p_bmv.y = dec->p_fmv.y = dec->p_fmv.y = 0;  /* init pred vector to 0 */
1842    
1843            if((idct == simple_idct_mmx) && (dec->bs_version < 10)) /* rather ugly but should work */
1844                    idct = idct_mmx;
1845    
1846          /* packed_mode: special-N_VOP treament */          /* packed_mode: special-N_VOP treament */
1847          if (dec->packed_mode && vop_type == N_VOP)          if (dec->packed_mode && vop_type == N_VOP)
# Line 1961  Line 1964 
1964                  }                  }
1965          }          }
1966    
1967            idct = idct_save;
1968    
1969          frame->length = BitstreamPos(&bs) / 8;          frame->length = BitstreamPos(&bs) / 8;
1970    
1971          if (stats)          if (stats)

Legend:
Removed from v.876  
changed lines
  Added in v.1055

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4