mjpeg: CB2 fix decoder timeout for special stream. [1/1]
PD#SWPL-194081
Problem:
1.Because the ucode checks the soi data when decoding dqt, it causes an
early jump when the internal quantization is less than 32, causing the
subsequent decoding to get stuck abnormally.
2.Timeout due to insufficient input buffer.
Solution:
1.Remove the logic of checking soi data when decoding dqt data in ucode.
2.Add an empty interrupt, check the input buffer level. If the input
buffer level is insufficient, report the MJPEG_DATA_EMPTY interrupt.
Verify:
S905X5M
SourceCode:
ucode:
0.4.173-g9c3b9fc
Iad78b
I5058b
Id17d0
I310a2
I8bfa9
Change-Id: I2f6f9aebbc4565f908780a96f9a7e9f62435bdb2
Signed-off-by: gan.zhang <gan.zhang@amlogic.com>
45 files changed