]> git.baikalelectronics.ru Git - kernel.git/commit
[media] s5p-mfc: Add support for EOS command and EOS event in video decoder
authorKamil Debski <k.debski@samsung.com>
Fri, 11 Jan 2013 15:29:33 +0000 (12:29 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 12 Apr 2013 15:38:56 +0000 (12:38 -0300)
commit63d1a301119a2f93b185db317951733347621f1b
treef41f223c059238337befc5145456a7310d3f623d
parent57c77d90c2e0008762a9e524bdee5061a7ea6a81
[media] s5p-mfc: Add support for EOS command and EOS event in video decoder

Add support for V4L2_DEC_CMD_STOP command which will instruct MFC device
to finish decoding and release all remaining frames kept for reference to
the user. After dequeueing last decoded frame the driver will generate an
V4L2_EVENT_EOS event.

Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Kyngmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/s5p-mfc/s5p_mfc.c
drivers/media/platform/s5p-mfc/s5p_mfc_dec.c
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c