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

`StatelessVideoDecoder` implementations for `StatelessDecoder` can be factorized?

Open Gnurou opened this issue 1 year ago • 0 comments

We have one implementation per codec, with many methods that are strictly identical. We should be able to factorize this by implementing the methods that differ as regular methods of StatelessDecoder, and having a single StatelessVideoDecoder impl block that calls these.

next_event would probably require another trait method on the decoder device.

Gnurou avatar Jun 13 '24 14:06 Gnurou