[cvs] / xvidcore / src / encoder.c Repository:
ViewVC logotype

Diff of /xvidcore/src/encoder.c

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

revision 1.57, Fri Jul 19 14:56:00 2002 UTC revision 1.58, Fri Jul 19 15:02:38 2002 UTC
# Line 1725  Line 1725 
1725          *pBits = BitstreamPos(bs) - *pBits;          *pBits = BitstreamPos(bs) - *pBits;
1726    
1727          pEnc->time_pp = ((int32_t)pEnc->mbParam.fbase - (int32_t)pEnc->last_pframe + (int32_t)pEnc->mbParam.m_ticks) % (int32_t)pEnc->mbParam.fbase;          pEnc->time_pp = ((int32_t)pEnc->mbParam.fbase - (int32_t)pEnc->last_pframe + (int32_t)pEnc->mbParam.m_ticks) % (int32_t)pEnc->mbParam.fbase;
         fprintf(stderr,"fbase=%d last_p=%d ticks=%d time_pp = %d\n",pEnc->mbParam.fbase,pEnc->last_pframe,pEnc->mbParam.m_ticks,pEnc->time_pp);  
1728    
1729          pEnc->last_pframe = pEnc->mbParam.m_ticks;          pEnc->last_pframe = pEnc->mbParam.m_ticks;
1730          return 0;                                       // inter          return 0;                                       // inter
# Line 1783  Line 1782 
1782          stop_inter_timer();          stop_inter_timer();
1783    
1784          start_timer();          start_timer();
         fprintf(stderr,"m_ticks =%d\n",(int32_t)pEnc->mbParam.m_ticks+1);  
1785          MotionEstimationBVOP(&pEnc->mbParam, frame,          MotionEstimationBVOP(&pEnc->mbParam, frame,
1786            ((int32_t)pEnc->mbParam.fbase + (int32_t)pEnc->mbParam.m_ticks + 1 - (int32_t)pEnc->last_pframe) % pEnc->mbParam.fbase,            ((int32_t)pEnc->mbParam.fbase + (int32_t)pEnc->mbParam.m_ticks + 1 - (int32_t)pEnc->last_pframe) % pEnc->mbParam.fbase,
1787                                                  pEnc->time_pp,                                                  pEnc->time_pp,

Legend:
Removed from v.1.57  
changed lines
  Added in v.1.58

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