[svn] / branches / dev-api-4 / xvidcore / src / decoder.c Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/src/decoder.c

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

revision 1336, Mon Jan 26 14:32:25 2004 UTC revision 1337, Tue Jan 27 09:24:49 2004 UTC
# Line 20  Line 20 
20   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
21   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
22   *   *
23   * $Id: decoder.c,v 1.49.2.29 2004-01-24 14:14:15 syskin Exp $   * $Id: decoder.c,v 1.49.2.30 2004-01-27 09:24:49 syskin Exp $
24   *   *
25   ****************************************************************************/   ****************************************************************************/
26    
# Line 1510  Line 1510 
1510                          /* attemping to decode a bvop without atleast 2 reference frames */                          /* attemping to decode a bvop without atleast 2 reference frames */
1511                          image_printf(&dec->cur, dec->edged_width, dec->height, 16, 16,                          image_printf(&dec->cur, dec->edged_width, dec->height, 16, 16,
1512                                                  "broken b-frame, mising ref frames");                                                  "broken b-frame, mising ref frames");
1513                          stats->type = XVID_TYPE_NOTHING;                          if (stats) stats->type = XVID_TYPE_NOTHING;
1514                  } else if (dec->time_pp <= dec->time_bp) {                  } else if (dec->time_pp <= dec->time_bp) {
1515                          /* this occurs when dx50_bvop_compatibility==0 sequences are                          /* this occurs when dx50_bvop_compatibility==0 sequences are
1516                          decoded in vfw. */                          decoded in vfw. */
1517                          image_printf(&dec->cur, dec->edged_width, dec->height, 16, 16,                          image_printf(&dec->cur, dec->edged_width, dec->height, 16, 16,
1518                                                  "broken b-frame, tpp=%i tbp=%i", dec->time_pp, dec->time_bp);                                                  "broken b-frame, tpp=%i tbp=%i", dec->time_pp, dec->time_bp);
1519                          stats->type = XVID_TYPE_NOTHING;                          if (stats) stats->type = XVID_TYPE_NOTHING;
1520                  } else {                  } else {
1521                          decoder_bframe(dec, &bs, quant, fcode_forward, fcode_backward);                          decoder_bframe(dec, &bs, quant, fcode_forward, fcode_backward);
1522                          decoder_output(dec, &dec->cur, dec->mbs, frame, stats, coding_type, quant);                          decoder_output(dec, &dec->cur, dec->mbs, frame, stats, coding_type, quant);

Legend:
Removed from v.1336  
changed lines
  Added in v.1337

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