Opened 14 years ago Closed 14 years ago #30 closed defect (fixed)Compilation error when HHI_TRANSFORM_CODING=0
Description
Compilation error due to the conflict between HHI_TRANSFORM_CODING macro and NEWVLC macro. It can be easily fixed (patch will be provided within today) Attachments (1)Change History (7)Changed 14 years ago by wjhancomment:1 Changed 14 years ago by wjhan
More detail: here is a part of code in TComTrQuant.cpp
#if NEWVLC
#endif
Problem is that xRateDistOptQuant_VLC function assumes that HHI_TRANSFORM_CODING=1 and has related codes. Thus to solve the compilation error, it should be:
#if NEWVLC && HHI_TRANSFORM_CODING
#endif
There are several places in TComTrQuant.cpp.
One remaining problem is that xRateDistOptQuant_VLC, which seems to be better RDOQ for VLC mode, is not called when HHI_TRANSFORM_CODING=0 case. But anyway in the current software, that case makes compilation error. So it's recommended to apply this patch to solve non-VLC mode, and the remaining problem should be addressed by xRateDistOptQuant_VLC contributor.
I attach the patch file for TComTrQuant.cpp comment:2 Changed 14 years ago by fbossen
comment:3 Changed 14 years ago by fbossen
Fixed in r130 comment:4 Changed 13 years ago by davidf
Updating component after adding WD (Text) tickets comment:5 Changed 13 years ago by davidf
comment:6 Changed 13 years ago by davidf
Note: See
TracTickets for help on using
tickets. | This list contains all users that will be notified about changes made to this ticket. These roles will be notified: Reporter, Owner, Subscriber, Participant
|
Patch file for Ticket #30, TComTrQuant.cpp