OSDN Git Service

ENC/jpeg: fix regression with Small optimization
authorXiang, Haihao <haihao.xiang@intel.com>
Thu, 11 Jan 2018 05:13:36 +0000 (13:13 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Fri, 12 Jan 2018 00:17:16 +0000 (08:17 +0800)
commitd6e67fc4e17cd75fcc064c9a4d0bef6851e68157
treece669bf28adba258ea3dcedd3033666bd2d085ab
parent2d316ed2d221fbd9322253abd8ac4d81923b0142
ENC/jpeg: fix regression with Small optimization

This fixes 6c1b9b345982babde748518de1834e2af8bcf321:
Small optimization while removing warning

The higher 16 bit of dword_qm[j] (j = 0, 1, ..., 31) is
65535 / (raster_qm[i + 1]) (i = 0, 2, 4, ..., 62)

This fixes https://github.com/01org/intel-vaapi-driver/issues/319

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
src/gen8_mfc.c