Skip to content
Commit 533ab7bc authored by Ezequiel Garcia's avatar Ezequiel Garcia Committed by Dom Cobley
Browse files

RFC: media: Add media_request_{pin,unpin} API



This is probably not the API we will want to add, but it
should show what semantics are needed by drivers.

The goal is to allow the OUTPUT (aka source) buffer and the
controls associated to a request to be released from the request,
and in particular return the OUTPUT buffer back to userspace,
without signalling the media request fd.

This is useful for devices that are able to pre-process
the OUTPUT buffer, therefore able to release it before
the decoding is finished. These drivers should signal
the media request fd only after the CAPTURE buffer is done.

Tested-by: default avatarJohn Cox <jc@kynesim.co.uk>
Signed-off-by: default avatarEzequiel Garcia <ezequiel@collabora.com>
parent eaebca2d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment