﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1094	Incorrect decode at bitdepth 14	peterderivaz		"Does the HM software support bitdepths above 10?

Main and Main10 profile only use bitdepths 8,9, or 10 so perhaps high bitdepths are not supported?
However, the HEVC text allows bitdepths 8,9,10,11,12,13, or 14.

The HM software appears to decode incorrectly at high bitdepths.
For example, in the function TComTrQuant::xITransformSkip there is the line:

    pResidual[j * uiStride + k] =  plCoef[j*width+k] << transformSkipShift;

Suppose transformSkipShift = 1.    
pResidual is a 16bit number, so shifting plCoef can result in integer overflow.  (Also this scaling will mean that the residual is always an even number.)

"	defect	closed	minor	HM-10.1	HM	HM-10.0	invalid		fbossen ksuehring davidf jct-vc@…
