From: Philipp Zabel
Date: Mon, 4 May 2015 10:51:04 +0000 (-0300)
Subject: [media] DocBook media: document codec draining flow
X-Git-Tag: omap-for-v4.3/legacy-v2-signed~140^2~390
X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cee396bfa77ce3a2e5fe48f597206c1cd547f9c;p=pandora-kernel.git
[media] DocBook media: document codec draining flow
Document the interaction between VIDIOC_DECODER_CMD V4L2_DEC_CMD_STOP and
VIDIOC_ENCODER_CMD V4L2_ENC_CMD_STOP to start the draining, the V4L2_EVENT_EOS
event signalling all capture buffers are finished and ready to be dequeud,
the new V4L2_BUF_FLAG_LAST buffer flag indicating the last buffer being dequeued
from the capture queue, and the poll and VIDIOC_DQBUF ioctl return values once
the queue is drained.
Signed-off-by: Philipp Zabel
Acked-by: Hans Verkuil
Signed-off-by: Kamil Debski
Signed-off-by: Mauro Carvalho Chehab
---
Reading git-diff-tree failed