View Issue Details

IDProjectCategoryView StatusLast Update
0000108JVT JM H.264/AVC reference softwaredecoderpublic2008-05-06 17:34
ReporterDzung Hoang Assigned ToKarsten Suehring  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionJM 13.2 
Summary0000108: incorrect bit count in trace file for CAVLC skipped top MB
DescriptionThe bit count displayed in the trace file becomes incorrect when there is a skipped top MB followed by a coded bottom MB in CAVLC.
Additional InformationSuggested fix to macroblock.c surrounded by #if TRACE

        if(img->cod_counter == 0 && ((mb_nr&0x01) == 0))
        {
          TRACE_STRING("mb_field_decoding_flag (of coded bottom mb)");
          currSE.len = (int64) 1;
          readSyntaxElement_FLC(&currSE, dP->bitstream);
#if TRACE
          traceback(1); // decrement trace bitcounter
#endif
          dP->bitstream->frame_bitoffset--;
          currMB->mb_field = currSE.value1;
        }

Suggested addition to filehandle.c.

// decrement trace bitcounter
void traceback(int count)
{
    bitcounter -= count;
}
TagsNo tags attached.

Activities

Karsten Suehring

2008-05-06 17:34

administrator   ~0000181

fixed following this suggestion

Issue History

Date Modified Username Field Change
2008-04-15 17:26 Dzung Hoang New Issue
2008-05-06 17:34 Karsten Suehring Status new => resolved
2008-05-06 17:34 Karsten Suehring Resolution open => fixed
2008-05-06 17:34 Karsten Suehring Assigned To => Karsten Suehring
2008-05-06 17:34 Karsten Suehring Note Added: 0000181