summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorJavier Martin <javier.martin@vista-silicon.com>2012-02-07 07:14:42 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-03-08 09:41:56 -0300
commitcdc9d6f191d81aa1b1b34db9d3a33f779f5c5ec7 (patch)
tree3223a3fa758c180fdd17e88b48c6c59506410d51 /virt
parentfb51cbdd3ec868b903bd706aa7db065c8c36bcd4 (diff)
[media] media i.MX27 camera: improve discard buffer handling
The way discard buffer was previously handled lead to possible races that made a buffer that was not yet ready to be overwritten by new video data. This is easily detected at 25fps just adding "#define DEBUG" to enable the "memset" check and seeing how the image is corrupted. A new "discard" queue and two discard buffers have been added to make them flow trough the pipeline of queues and thus provide suitable event ordering. Signed-off-by: Javier Martin <javier.martin@vista-silicon.com> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions