﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
142	Mismatch between specification and software in the order of derivation process for subblock-based temporal merging base motion data	msspark		"In section of 8.3.4.4 Derivation process for subblock-based temporal merging base motion data, the order of checking neighbors is as follows.

...
The variable availableFlagN is set equal to FALSE, and the following applies:
– When '''availableFlagA0''' is equal to 1, the following applies:
  – availableFlagN is set equal to TRUE,
  – refIdxLXN is set equal to refIdxLXA0 and mvLXN is set equal to mvLXA0, for X being replaced by 0 and 1.
– When availableFlagN is equal to FALSE and '''availableFlagLB0''' is equal to 1, the following applies:
  – availableFlagN is set equal to TRUE,
  – refIdxLXN is set equal to refIdxLXB0 and mvLXN is set equal to mvLXB0, for X being replaced by 0 and 1.
– When availableFlagN is equal to FALSE and '''availableFlagB1''' is equal to 1, the following applies:
  – availableFlagN is set equal to TRUE.]
  – refIdxLXN is set equal to refIdxLXB1 and mvLXN is set equal to mvLXB1, for X being replaced by 0 and 1.
– When availableFlagN is equal to FALSE and '''availableFlagA1''' is equal to 1, the following applies:
  – availableFlagN is set equal to TRUE.
  – refIdxLXN is set equal to refIdxLXA1 and mvLXN is set equal to mvLXA1, for X being replaced by 0 and 1.
...

But in SW, the order is '''A1 -> B1 -> B0 -> A0'''. Therefore, the order needs to be change to same as SW.

...
The variable availableFlagN is set equal to FALSE, and the following applies:
– When '''availableFlagA1''' is equal to 1, the following applies:
  – availableFlagN is set equal to TRUE,
  – refIdxLXN is set equal to refIdxLXA0 and mvLXN is set equal to mvLXA0, for X being replaced by 0 and 1.
– When availableFlagN is equal to FALSE and '''availableFlagLB1''' is equal to 1, the following applies:
  – availableFlagN is set equal to TRUE,
  – refIdxLXN is set equal to refIdxLXB0 and mvLXN is set equal to mvLXB0, for X being replaced by 0 and 1.
– When availableFlagN is equal to FALSE and '''availableFlagB0''' is equal to 1, the following applies:
  – availableFlagN is set equal to TRUE.]
  – refIdxLXN is set equal to refIdxLXB1 and mvLXN is set equal to mvLXB1, for X being replaced by 0 and 1.
– When availableFlagN is equal to FALSE and '''availableFlagA0''' is equal to 1, the following applies:
  – availableFlagN is set equal to TRUE.
  – refIdxLXN is set equal to refIdxLXA1 and mvLXN is set equal to mvLXA1, for X being replaced by 0 and 1.
..."	defect	closed	minor		spec	VVC D3 v7	fixed		ksuehring bbross XiangLi fbossen jvet@… jvet@…
