mbox series

[0/2] vicodec: a couple fixes towards spec compliancy

Message ID 20181018160841.17674-1-ezequiel@collabora.com (mailing list archive)
Headers show
Series vicodec: a couple fixes towards spec compliancy | expand

Message

Ezequiel Garcia Oct. 18, 2018, 4:08 p.m. UTC
Given the stateful codec specification is still a moving target,
it doesn't make any sense to try to comply fully with it.

On the other side, we can still comply with some basic userspace
expectations, with just a couple small changes.

This series implements proper resolution changes propagation,
and fixes the CMD_STOP so it actually works.

The intention of this series is to be able to test this driver
using already existing userspace, gstreamer in particular.
With this changes, it's possible to construct variations of
this pipeline:

  gst-launch-1.0 videotestsrc ! v4l2fwhtenc ! v4l2fwhtdec ! fakevideosink

Ezequiel Garcia (2):
  vicodec: Have decoder propagate changes to the CAPTURE queue
  vicodec: Implement spec-compliant stop command

 drivers/media/platform/vicodec/vicodec-core.c | 95 ++++++++++++-------
 1 file changed, 59 insertions(+), 36 deletions(-)