View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000077 | JVT JM H.264/AVC reference software | encoder | public | 2007-09-06 14:36 | 2007-10-18 20:12 |
Reporter | Michael Evertz | Assigned To | Karsten Suehring | ||
Priority | normal | Severity | trivial | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | JM 12.4 | ||||
Fixed in Version | JM 13.0 | ||||
Summary | 0000077: Incorrect Stats: Stuffing Bits (no impact on compressed bitstream) | ||||
Description | The encoder reports wrong amount Stuffing Bits in stats.dat when using CABAC. stats->bit_use_stuffingBits accumulates Stuffing Bits from RD optimization | ||||
Additional Information | The following patch should fix the problem: Index: lencod/inc/global.h =================================================================== 155a156 > BITS_STUFFING, Index: lencod/src/macroblock.c =================================================================== 223a224 > stats->bit_use_stuffingBits[img->type] += bitCount[BITS_STUFFING]; Index: lencod/src/biariencode.c =================================================================== 194a195 > int* bitCount = img->mb_data[img->current_mb_nr].bitcounter; 200c201 < stats->bit_use_stuffingBits[img->type]+=(5-remaining_bits); --- > bitCount[BITS_STUFFING]+=(5-remaining_bits); 210c211 < stats->bit_use_stuffingBits[img->type]+=(13-remaining_bits); --- > bitCount[BITS_STUFFING]+=(13-remaining_bits); 230c231 < stats->bit_use_stuffingBits[img->type]+=(21-remaining_bits); --- > bitCount[BITS_STUFFING]+=(21-remaining_bits); | ||||
Tags | No tags attached. | ||||
|
Forgot some lines which also need to be added. Index: lencod/src/macroblock.c =================================================================== 657a659 > currMB->bitcounter[BITS_STUFFING ] = 0; Index: lencod/src/slice.c =================================================================== 155a156 > int tmp_stuffingbits=img->mb_data[img->current_mb_nr].bitcounter[BITS_STUFFING];; 201a203,204 > stats->bit_use_stuffingBits[img->type] += img->mb_data[img->current_mb_nr].bitcounter[BITS_STUFFING] - tmp_stuffingbits; > |
|
I have merged the fix into my development tree. |
Date Modified | Username | Field | Change |
---|---|---|---|
2007-09-06 14:36 | Michael Evertz | New Issue | |
2007-09-10 13:26 | Michael Evertz | Note Added: 0000111 | |
2007-10-18 20:12 | Karsten Suehring | Status | new => resolved |
2007-10-18 20:12 | Karsten Suehring | Fixed in Version | => JM 12.4-devel |
2007-10-18 20:12 | Karsten Suehring | Resolution | open => fixed |
2007-10-18 20:12 | Karsten Suehring | Assigned To | => Karsten Suehring |
2007-10-18 20:12 | Karsten Suehring | Note Added: 0000124 |