Originally posted by mihau
View Post
Not sure about vid enc/dec status, but it should be closely related to other devices that are supported by upstream v4l2 based decoder. I think on the vid enc/dec side, the limiting factor is that video is decoupled from the GPU (although supporting the same UBWC/bandwidth-compressed formats as GPU and display), so the API isn't vaapi/vdpau/vk/etc. AFAIU there is some ffmpeg/gst support for v4l2 stateful decoders, whether or not it is enabled in your favorite $distro, idk. CrOS skips all those with a video stack that goes directly to v4l2 kernel drivers, although it wouldn't surprise me if there is some #ifdef CROMEOS type stuff standing in the way of just switching it on in linux chrome(ium) builds. I guess there isn't too much work on the driver side, but a lot more work on distro/app side to support a setup where video enc/dec is not part of the GPU. (It is a situation common AFAICT to all non-x86 SoCs.. the "video is part of the GPU" is very much an x86ism)
Leave a comment: