﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
182	SSE reconstruction can overflow	bheng		"The SSE implementation of reconstruction, reco_SSE(), can overflow 16-bit values.  It is possible for prediction + residual to exceed 16-bit signed values, in which case they will wrap around and give the wrong result.  For example, this is fairly easy to do with transform/quantization bypass.

I would suggest considering the ""saturation"" versions of the corresponding add intrinsics.

_mm256_add_epi16 --> _mm256_adds_epi16
_mm_add_epi16 --> _mm_adds_epi16
"	defect	closed	minor		VTM	VTM-3.0	fixed		ksuehring XiangLi fbossen jvet@…
