vdec: avoid decoder run and work executing at the same time [1/1]
authorapollo.ling <apollo.ling@amlogic.com>
Fri, 22 May 2020 07:18:29 +0000 (15:18 +0800)
committerApollo Ling <apollo.ling@amlogic.com>
Fri, 4 Sep 2020 11:51:37 +0000 (04:51 -0700)
commit51b7cb07fe751d91e9982191e081c07ff4686e2a
treecd7ede03614ce17343fac6f93d3387d3e2e7d960
parentcc8d35d861239764bafe0685d7e88310d3582574
vdec: avoid decoder run and work executing at the same time [1/1]

PD#SWPL-26671

Problem:
decoder run and work executing at same time will causes race conditions

Solution:
avoid decoder run and work executing at the same time

Verify:
u212

Change-Id: I9e16c7cebc6fb7d0bc36f749d7bc430c515e6c6a
Signed-off-by: apollo.ling <apollo.ling@amlogic.com>
drivers/frame_provider/decoder/avs2/vavs2.c
drivers/frame_provider/decoder/avs_multi/avs_multi.c
drivers/frame_provider/decoder/h264_multi/vmh264.c
drivers/frame_provider/decoder/h265/vh265.c
drivers/frame_provider/decoder/mjpeg/vmjpeg_multi.c
drivers/frame_provider/decoder/mpeg12/vmpeg12_multi.c
drivers/frame_provider/decoder/mpeg4/vmpeg4_multi.c
drivers/frame_provider/decoder/utils/vdec.c
drivers/frame_provider/decoder/utils/vdec.h
drivers/frame_provider/decoder/vav1/vav1.c
drivers/frame_provider/decoder/vp9/vvp9.c