[media] s5p-mfc: support MIN_BUFFERS query for encoder
authorKiran AVND <avnd.kiran@samsung.com>
Tue, 21 Oct 2014 11:06:55 +0000 (08:06 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 28 Oct 2014 17:41:47 +0000 (15:41 -0200)
commitc4b1ce051e1f5c1e82cf25f35e24460a9ece993c
treed887b68304b1f6ae23de10772fcc366fc0968ce9
parentedc16cb1159c03864c74fd0411ec5d0bcce845be
[media] s5p-mfc: support MIN_BUFFERS query for encoder

Add V4L2_CID_MIN_BUFFERS_FOR_OUTPUT query for encoder.
Once mfc encoder state is HEAD_PARSED, which is sequence
header produced, dpb_count is avaialable. Let user space
query this value.

Signed-off-by: Kiran AVND <avnd.kiran@samsung.com>
Signed-off-by: Arun Kumar K <arun.kk@samsung.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/s5p-mfc/s5p_mfc_enc.c