GNOME Bugzilla – Bug 771686
v4l2videodec: Add HEVC decoder support
Last modified: 2018-09-14 00:52:22 UTC
Add HEVC support. But videodev2.h hasn't define HEVC.
Created attachment 335902 [details] [review] Add HEVC support.
Review of attachment 335902 [details] [review]: ::: sys/v4l2/ext/videodev2.h @@ +569,3 @@ #define V4L2_PIX_FMT_H264_NO_SC v4l2_fourcc('A', 'V', 'C', '1') /* H264 without start codes */ #define V4L2_PIX_FMT_H264_MVC v4l2_fourcc('M', '2', '6', '4') /* H264 MVC */ +#define V4L2_PIX_FMT_HEVC v4l2_fourcc('H', 'E', 'V', 'C') /* H.265 HEVC video */ Upstream first ! I don't see any submission over linux-media mailing list. I don't mind adding it, but with the assurance that it's going upstream. Looks good otherwise.
And now it's time to rebase: https://www.mail-archive.com/linux-media@vger.kernel.org/msg127618.html Make sure that you submit the V4L2 update in a seperate patch, and that it's being taken from upstream.
Should be in 4.19: https://www.mail-archive.com/linux-media@vger.kernel.org/msg133354.html
Thanks, decoder support is now included. I have tested using staging drivers for Amlogic S905x, but should work with any implementation.
For encoder support, I have files this one: https://bugzilla.gnome.org/show_bug.cgi?id=797141