hevc: clip pixels when transquant bypass is used
authorGuillaume Martres <smarter@ubuntu.com>
Sat, 11 Jan 2014 21:46:24 +0000 (22:46 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 21 Jan 2014 10:58:37 +0000 (11:58 +0100)
commita246d06fe0dc6c2ea65e95327624b4537ff9bd0d
tree288aafee8f05b767b8b018037794ddae196c0246
parentb37e796082b2d787aff3cd5631bb89c4fd374708
hevc: clip pixels when transquant bypass is used

The reconstructed picture should always be clipped (see section 8.6.5),
previously we did not clip coding units where
cu_transquant_bypass_flag == 1.

Sample-Id: 00001325-google
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/hevcdsp_template.c