picdec: skip putting vframe if current buffer is being in used [1/1]
authorCao Jian <jian.cao@amlogic.com>
Wed, 16 Jun 2021 05:51:44 +0000 (13:51 +0800)
committerChristian Hoffmann <chrmhoffmann@gmail.com>
Sun, 12 Feb 2023 08:13:11 +0000 (09:13 +0100)
commit1e8e4174361ed553171538e05bd9fe9f114852e6
treeb3f77de32dfcc757016010b8abb7094322cd3423
parentcd43f959b0667f79adc41088170304efdd658e68
picdec: skip putting vframe if current buffer is being in used [1/1]

PD#SWPL-52807

Problem:
GIF pictures flicker after quickly switching pictures

Solution:
skip putting vframe if current buffer is being in used

Verify:
on t5

Change-Id: Id1366ead409967a6055d5de5413f16774407c778
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
drivers/amlogic/media/video_processor/pic_dev/picdec.c