MLK-25464 [8QM_MEK/8QXP_MEK] mxc: vpu_windsor: append end_of_seq instead of end_of_st...
authorShijie Qin <shijie.qin@nxp.com>
Mon, 26 Apr 2021 10:27:21 +0000 (18:27 +0800)
committerShijie Qin <shijie.qin@nxp.com>
Tue, 27 Apr 2021 06:01:44 +0000 (14:01 +0800)
commit314d10a4461c456cf05fb72182c468368ea0896a
treec835d7e2897fb544d90c84f14dac03df43280fd4
parentdcce8fdda0dfabdde89fd2a804c3e062b2dc4262
MLK-25464 [8QM_MEK/8QXP_MEK] mxc: vpu_windsor: append end_of_seq instead of end_of_stream at end

Append end of sequence data instead of end of stream data at the end.
This is more appropriate since drvice doesn't know is current user
case is reset or actual end encode.
Besides, Amphion decoder will quit early during decoding if parse
end of stream data.

Signed-off-by: Shijie Qin <shijie.qin@nxp.com>
Reviewed-by: ming_qian <ming.qian@nxp.com>
(cherry picked from commit 9c9b3e52885e90d2ed2ceb925fe67e1c67161d31)
drivers/mxc/vpu_windsor/vpu_encoder_b0.c
drivers/mxc/vpu_windsor/vpu_encoder_config.h