 prediction (informative) 8.4.1.3.1 Derivation process for median luma motion vector prediction Inputs to this process are: the neighbouring partitions mbAddrN\mbPartIdxN\subMbPartIdxN (with N being replaced by A,B, or C), the motion vectors mvLXN (with N being replaced by A, B, or C) of the neighbouring partitions, the reference indices refIdxLXN (with N being replaced by A, B, or C) of the neighbouring partitions, the reference index refIdxLX of the current partition. Output of this process is the motion vector prediction mvpLX. The variable mvpLX is derived as specified by the following ordered steps: 1. When both partitions mbAddrB\mbPartIdxB\subMbPartIdxE and mbAddrC\mbPartIdxC\subMbPartIdxC are not available and mbAddrA\mbPartIdxA\subMbPartIdxA is available, mvLXB = mvLXA (8-207) mvLXC = mvLXA (8-208) refIdxLXB = refIdxLXA (8-209) refIdxLXC = refIdxLXA (8-210) 2. Depending on reference indices refIdxLXA, refIdxLXB, or refIdxLXC, the following applies: If one and only one of the reference indices refIdxLXA, refIdxLXB, or refIdxLXC is equal to the reference index refIdxLX of the current partition, the following applies. Let refIdxLXN be the reference index that is equal to refIdxLX, the motion vector mvLXN is assigned to the motion vector prediction mvpLX: mvpLX=mvLXN (8-211) Otherwise, each component of the motion vector prediction mvpLX is given by the median of the corresponding vector components of the motion vector mvLXA, mvLXB, and mvLXC: mvpLX[0 = Median( mvLXA[ mvLXB[0],mvLXC[ 0]) (8-212) mvpLX[1 = Median(mvLXA[1],mvLXB[1],mvLXC[1]) (8-213) 8.4.1.3.2 Derivation process for motion data of neighbouring partitions Inputs to this process are: the macroblock partition index mbPartIdx, the sub-macroblock partition index subMbPartIdx, the current sub-macroblock type currSubMbType, the list suffix flag listSuffixFlag. Outputs of this process are (with N being replaced by A, B, or C) mbAddrN\mbPartIdxN\subMbPartIdxN specifying neighbouring partitions, Rec. ITU-T H.264 (01/2012) the motion vectors mvLXN of the 