]> 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)
commit81aaf2e086dfe36e24fe9c22defde89cac14d158
treef41f223c059238337befc5145456a7310d3f623d
parentc962bf56d8e7ef23f9c13666a1a19f4bc4e40a76
[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