Closed GoogleCodeExporter closed 8 years ago
More details are given as follows:
A quantized coefficient val in bitstream is 0x000004dc ( 1244 ), after
quantized (dqv=48 and dq_shift=0), v will be 0x0000e940 ( 59712 ). But dqcoeff
is 16 bits and it should be clipped to [-32768, 32767], so the dqcoeff should
be 32767 (0x7FFF).
But VP9 reference software forget to clip it, it just use: dqcoeff[scan[c]] =
vp9_read_bit(r) ? -v : v; , where v is 32 bit (0x0000e940) and dqcoeff is
16bit. So, dqcoeff became -5824 (0xe940).
Original comment by y...@avsx.org
on 27 May 2014 at 12:36
The dequantized coefficients here are expected to be always within the range
[-32768, 32767], therefore no clamping is necessary.
Can you provide details on how this coefficient was produced? i.e.
configure/build/encoding parameters and input video clips. So we can
investigate further.
Original comment by ya...@google.com
on 30 May 2014 at 2:14
Please check the decoding for the attached bitstream.
We can see the below assertion failure.
INT16_MIN<= rv && rv <= INT16_MAX
Original comment by holy...@gmail.com
on 30 May 2014 at 5:58
Attachments:
In q64_dqc_issued.webm, Frame 2 (0,1,2...), SB position (320, 64) and the
second 16x16 Transfrom block has the above mentioned issue.
Original comment by y...@avsx.org
on 30 May 2014 at 10:13
For bit depth at 8, the input video pixel values range from 0 to 255, it is not
possible for 16x16 transform to produce a coefficient at 59712. Most likely,
the stream is an ill-formed stream.
For better detection, we propose the following CL:
https://gerrit.chromium.org/gerrit/#/c/71753/
Original comment by ya...@google.com
on 7 Oct 2014 at 6:27
Original comment by ya...@google.com
on 7 Oct 2014 at 6:58
https://gerrit.chromium.org/gerrit/#/c/71753/ is now merged.
Original comment by ya...@google.com
on 7 Oct 2014 at 7:37
https://gerrit.chromium.org/gerrit/#/c/71753/ is now merged.
Original comment by ya...@google.com
on 7 Oct 2014 at 7:37
Original issue reported on code.google.com by
y...@avsx.org
on 26 May 2014 at 6:28