Opened 7 days ago

Last modified 6 days ago

#743 new defect

Line 1539 code of DepQuant.cpp in VTM master source seem to be error

Reported by: annci Owned by:
Priority: minor Milestone:
Component: VTM Version:
Keywords: Cc: ksuehring, XiangLi, fbossen, jvet@…

Description

Line 1539 code of DepQuant.cpp in VTM master source seem to be error.
The code of Line 1539:
int64_t minPathCost = 0;

Change history (1)

comment:1 Changed 6 days ago by schwarz

Why do you think it is wrong?

It looks correct to me. Cost equal to 0 refers to the case that all transform coefficient levels are equal to 0. The costs calculated in the encoding process are cost differences relative to this default case. Hence, if all costs of the trellis paths are greater than 0, the default (all levels equal to 0) is chosen, in which case nothing needs to be modified.

Note: See TracTickets for help on using tickets.