]> git.karo-electronics.de Git - linux-beck.git/commit
[media] s5p-mfc: Skip incomplete frame
authorDonghwa Lee <dh09.lee@samsung.com>
Thu, 10 Nov 2016 10:31:22 +0000 (08:31 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 16 Nov 2016 18:39:35 +0000 (16:39 -0200)
commit5d1ec73184e657fb2b429f8742cd7cb42336bc45
treec43c77772ea441fb1f8680527967f59eb7bf70c4
parentdd62b8f1a39334c6efbcf06c071def9760700d96
[media] s5p-mfc: Skip incomplete frame

Currently, when incomplete frame is received in the middle of
decoding, driver treats it as an error, so src/dst queue and
clock are cleaned. Although it is obviously error case, it is
needed to maintain video decoding in case of necessity. This
patch supports skip incomplete frame to next.

Signed-off-by: Donghwa Lee <dh09.lee@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/s5p-mfc/regs-mfc.h
drivers/media/platform/s5p-mfc/s5p_mfc.c