Opened 9 years ago

Closed 9 years ago

#52 closed defect (fixed)

wrong chroma upsampling scale factor

Reported by: johnnyVidyo Owned by: Vadim
Priority: major Milestone: SHM-8.0
Component: SHM software Version:
Keywords: Cc: Vadim, jct-vc@…

Description

In function TComUpsampleFilter::upsampleBasePic(), the vertical upsampling of chroma has an error. Variable scaleX is inocrrectly being used in place of scaleY.

Existing code looks like this:

#if R0209_GENERIC_PHASE
      refPos16 = (((y - srlTOffsetC)*scaleX - addY) >> shiftYM4) + refOffsetYC;
#else

Corrected code should look like this:

#if R0209_GENERIC_PHASE
      refPos16 = (((y - srlTOffsetC)*scaleY - addY) >> shiftYM4) + refOffsetYC;
#else

Change history (2)

comment:1 Changed 9 years ago by DefaultCC Plugin

  • Cc Vadim jct-vc@… added

comment:2 Changed 9 years ago by Vadim

  • Resolution set to fixed
  • Status changed from new to closed

fixed as suggested with rev 993

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

  • Gerhard Tech(Always)
  • jct-vc@…(Subscriber)
  • johnnyVidyo(Reporter)
  • Karsten Suehring(Always)
  • Vadim Seregin(Owner, Subscriber, Participant)