Opened 5 years ago

Closed 5 years ago

#122 closed defect (wontfix)

Mismatch in intra ref sample filtering between draft and VTM

Reported by: bbross Owned by:
Priority: major Milestone:
Component: spec Version: VVC D3 v3
Keywords: Cc: ksuehring, bbross, XiangLi, fbossen, jvet@…

Description (last modified by bbross)

Reported by Geert.
Change to align draft conditions with VTM:

8.2.4.2.4 Reference sample filtering process
Inputs to this process are:

  • a variable refIdx specifying the intra prediction reference line index,
  • a variable nTbW specifying the transform block width,
  • a variable nTbH specifying the transform block height,
  • a variable refW specifying the reference samples width,
  • a variable refH specifying the reference samples height,
  • the (unfiltered) neighbouring samples refUnfilt[ x ][ y ], with x = −1 − refIdx, y = −1 − refIdx..refH − 1 and x = −refIdx..refW − 1, y = −1 − refIdx,
  • a variable cIdx specifying the colour component of the current block.

Outputs of this process are the reference samples p[ x ][ y ], with x = −1 − refIdx, y = −1 − refIdx..refH − 1 and x = −refIdx..refW − 1, y = −1 − refIdx.
The variable nTbS is set equal to ( Log2 ( nTbW ) + Log2 ( nTbH ) ) >> 1.
The variable filterFlag is derived as follows:

  • If all of the following conditions are true, filterFlag is set equal to 1:
    • refIdx is equal to 0
    • nTbW * nTbH is greater than 32
    • cIdx is equal to 0
    • one or more of the following conditions is true:
      • predModeIntra is equal to INTRA_PLANAR and nTbW * nTbH is greater than 32
      • predModeIntra is equal to INTRA_ANGULAR34 and nTbS is greater than 2
      • predModeIntra is equal to INTRA_ANGULAR2 and nTbS is greater than 2 and nTbH is greater than or equal to nTbW
      • predModeIntra is equal to INTRA_ANGULAR66 and nTbS is greater than 2 and nTbW is greater than or equal to nTbH
  • Otherwise, filterFlag is set equal to 0.

Change history (3)

comment:1 Changed 5 years ago by bbross

  • Description modified (diff)

comment:2 Changed 5 years ago by xinzhao

Are these changes editorial only? It looks the condition "nTbW * nTbH is greater than 32" is identical to the condition "nTbS is greater than 2".

Below table lists the relation between nTbW*nTbH and nTbS:

nTbS nTbW*nTbH
1 4
1 8
2 16
2 32
3 64
3 128
4 256
4 512
5 1024

comment:3 Changed 5 years ago by bbross

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

You're right. In this case I would leave the text as it is since I do not see the advantage of the editorial change.

Thanks for checking!

Note: See TracTickets for help on using tickets.