View Issue Details

IDProjectCategoryView StatusLast Update
0000027JVT JM H.264/AVC reference softwareencoderpublic2006-12-20 14:35
ReporterEnrico Masala Assigned ToKarsten Suehring  
PrioritynormalSeveritytrivialReproducibilityalways
Status resolvedResolutionfixed 
Product VersionJM 11.0 
Fixed in VersionJM 12.0 
Summary0000027: Incorrect update of stats->bit_slice when re-coding macroblocks (no impact on compressed bitstream)
DescriptionIncorrect update of stats->bit_slice when re-coding macroblocks
Using SliceArgument=2, in case a macroblock needs to be recoded, the previous state of variable: stats->bit_slice is not saved, hence it cannot be restored.
Additional InformationBug correction (line number w.r.t.JM11):
----------------------------------------
in lencod/src/macroblock.c, line 280, add:
        stats->stored_bit_slice = stats->bit_slice;
in lencod/src/macroblock.c, line 760, add:
        stats->bit_slice = stats->stored_bit_slice;
in lencod/inc/global.h, line 1098, add:
        int stored_bit_slice; //!< keep number of bits in current slice (to restore status in case of MB re-encoding)
TagsNo tags attached.

Activities

Karsten Suehring

2006-12-20 14:35

administrator   ~0000036

I'm merging the suggested solution. Anyway the statistics module needs more work.

see Bug ID 0000001
https://ipbt.hhi.de/mantis/view.php?id=1

Issue History

Date Modified Username Field Change
2006-12-13 13:58 Enrico Masala New Issue
2006-12-20 12:17 Karsten Suehring Status new => assigned
2006-12-20 12:17 Karsten Suehring Assigned To => Karsten Suehring
2006-12-20 14:35 Karsten Suehring Status assigned => resolved
2006-12-20 14:35 Karsten Suehring Fixed in Version => JM 11.0-devel
2006-12-20 14:35 Karsten Suehring Resolution open => fixed
2006-12-20 14:35 Karsten Suehring Note Added: 0000036