[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)
commita34026e75bd1e6fdfbe8b59c320bb7d31c84b3da
treef41f223c059238337befc5145456a7310d3f623d
parent81e096c8ac6a064854c2157e0bf802dc4906678c
[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