Menu

#1 computation of fixed_vop_time_increment

open
None
5
2007-09-09
2007-09-09
No

Hello,

shouldn't fixed_vop_time_increment be based on the number of bits required to represent vop_time_increment_resolution - 1
rather than just vop_time_increment_resolution?

the interval we are looking at is
[0, vop_time_increment_resolution)
which in an integer space is
[0, vop_time_increment_resolution - 1]

so for example when vop_time_increment_resolution = 8 we should just need only 3 bits rather than 4 as currently
vop_time_increment_resolution.getNumberOfBits()
will return.

best regards,
andrea

Discussion

  • Omar BELKHODJA

    Omar BELKHODJA - 2007-09-21

    Logged In: YES
    user_id=1777670
    Originator: NO

    Hi Andrea,

    You are probably right. I haven't seen that there was a ")" and not "]" at the end of the interval. There are some other few cases like this in the source code. I managed to fix them. It will be available in the next release.

    Regards,
    Omar

     
  • Andrea Barbieri

    Andrea Barbieri - 2007-09-21

    Logged In: YES
    user_id=65472
    Originator: YES

    Thanks Omar,

    looking forward to the next release and thanks for looking into this problem.

    Regards,
    andrea

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.