View Issue Details

IDProjectCategoryView StatusLast Update
0000173JVT JM H.264/AVC reference softwareencoder and decoderpublic2009-04-25 18:19
ReporterLitBird Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Product VersionJM 15.1 
Summary0000173: CABAC error at en/de luma run
DescriptionI actived the TRACE function to record some encode/decode information.

I found some mismatch at luma run data.

For example, when akiyo_qcif.yuv is tested, the lumn data of MB 1 of frame 0 are:

@372 Luma8x8 sng( 0) level = -1 run = 2 ( -1)
@372 Luma8x8 sng( 1) level = 1 run = 1 ( 1)
@372 Luma8x8 sng( 2) level = 1 run = 3 ( 1)
@372 Luma8x8 sng( 3) level = -1 run = 0 ( -1)
@372 Luma8x8 sng( 4) level = 1 run = 0 ( 1)
@372 Luma8x8 sng( 5) level = 1 run = 9 ( 1)
@372 Luma8x8 sng( 6) level = 0 run = 0 ( 0)
@405 Luma8x8 sng( 0) level = -1 run = 0 ( -1)
@405 Luma8x8 sng( 1) level = -1 run = 1 ( -1)
@405 Luma8x8 sng( 2) level = -1 run = 6 ( -1)
@405 Luma8x8 sng( 3) level = 0 run = 0 ( 0)
@420 Luma8x8 sng( 0) level = 4 run = 0 ( 4)
@420 Luma8x8 sng( 1) level = -3 run = 0 ( -3)
@420 Luma8x8 sng( 2) level = -2 run = 0 ( -2)
@420 Luma8x8 sng( 3) level = 1 run = 0 ( 1)
@420 Luma8x8 sng( 4) level = 2 run = 0 ( 2)
@420 Luma8x8 sng( 5) level = 1 run = 0 ( 1)
@420 Luma8x8 sng( 6) level = -1 run = 1 ( -1)
@420 Luma8x8 sng( 7) level = -1 run = 0 ( -1)
@420 Luma8x8 sng( 8) level = 0 run = 0 ( 0)
@454 Luma8x8 sng( 0) level = -1 run = 2 ( -1)
@454 Luma8x8 sng( 1) level = 1 run = 0 ( 1)
@454 Luma8x8 sng( 2) level = 1 run = 5 ( 1)
@454 Luma8x8 sng( 3) level = 0 run = 6 ( 0)

However, these information at decoder are:

@71 Luma8x8 DC sng -1 2
@72 Luma8x8 sng 1 1
@73 Luma8x8 sng 1 3
@74 Luma8x8 sng -1 0
@75 Luma8x8 sng 1 0
@76 Luma8x8 sng 1 9
@77 Luma8x8 sng 0 0
@78 Luma8x8 DC sng -1 0
@79 Luma8x8 sng -1 1
@80 Luma8x8 sng -1 6
@81 Luma8x8 sng 0 0
@82 Luma8x8 DC sng 4 0
@83 Luma8x8 sng -3 0
@84 Luma8x8 sng -2 0
@85 Luma8x8 sng 1 0
@86 Luma8x8 sng 2 0
@87 Luma8x8 sng 1 0
@88 Luma8x8 sng -1 1
@89 Luma8x8 sng -1 0
@90 Luma8x8 sng 0 0
@91 Luma8x8 DC sng -1 2
@92 Luma8x8 sng 1 0
@93 Luma8x8 sng 1 5
@94 Luma8x8 sng 0 0


As listed above, the final luma run at encoder is 6, but it is 0 at decoder.

Do I use the program wrong??

Thank you

TagsNo tags attached.

Activities

2009-04-14 17:58

 

up.cfg (8,081 bytes)   

LitBird

2009-04-25 18:19

reporter   ~0000307

This bug happens at the EOBs. At the decoder, JM uses (level,run)=(0,0) to indicate a EOB. At the encoding side, however, only the code "ACLevel[scan_pos] = 0;" is used to mark a EOB. A code, like "ACRun[scan_pos]=0;" can be added.

Issue History

Date Modified Username Field Change
2009-04-14 17:58 LitBird New Issue
2009-04-14 17:58 LitBird File Added: up.cfg
2009-04-25 18:19 LitBird Note Added: 0000307