cros-codecs icon indicating copy to clipboard operation
cros-codecs copied to clipboard

Feature: stateful decoder interface

Open Gnurou opened this issue 1 year ago • 0 comments

The only decoder interface that we support at the moment is the stateless one. For ease of use, clients should rather use a stateful API, close to the one proposed by Webcodecs.

This means:

  • Defining a StatefulDecoder trait,
  • Having an implementation of this trait that can wrap a stateless decoder and expose the stateful interface on top of it,
  • When we have basic V4L2 support, writing another implementation of this trait to support stateful V4L2 devices.

Gnurou avatar Mar 08 '24 07:03 Gnurou