“The Linux kernel's stateless video decoder interface is used for video decoding where no state needs to be kept between processed video frames and allows for independently decoding each video frame.”
That's confusing and if I understand correctly misleading. Here's an alternate summary that I think is more meaningful. tl;dr the state is in the userspace client, and passed to every operation:
> A stateless decoder is a decoder that works without retaining any kind of state between processed frames. This means that each frame is decoded independently of any previous and future frames, and that the client is responsible for maintaining the decoding state and providing it to the decoder with each decoding request.
> A stateless decoder is a decoder that works without retaining any kind of state between processed frames. This means that each frame is decoded independently of any previous and future frames, and that the client is responsible for maintaining the decoding state and providing it to the decoder with each decoding request.
https://www.kernel.org/doc/html/latest/userspace-api/media/v...