[Mesa-dev] 10bit HEVC decoding for RadeonSI v2
Mark Thompson
sw at jkqxz.net
Wed Mar 8 21:31:27 UTC 2017
On 08/03/17 12:29, Christian König wrote:
> Hi guys,
>
> I finally found time testing this and hammering out (hopefully) all the
> remaining bugs. Playing a 10bit HEVC file through VAAPI with mpv/ffmpeg git
> master from about two days ago now works flawlessly and has only about 15% CPU
> load on one core on a Kaveri system.
Um, libav* is querying the capabilities and finding that only 8-bit output is supported for Main10:
{
"profile": 18,
"name": "HEVCMain10",
"description": "H.265 / MPEG-H part 2 (HEVC) Main 10 Profile",
"entrypoints": [
{
"entrypoint": 1,
"name": "VLD",
"description": "Decode Slice",
"attributes": [
{
"rt_formats": [
"YUV420",
"YUV420_10BPP",
],
},
],
"surface_formats": [
{
"rt_format": 1,
"memory_types": [
"VA",
"DRM_PRIME",
],
"max_width": 16384,
"max_height": 16384,
"pixel_formats": [
"NV12",
],
},
Unable to create config to test surface attributes: 14 (the requested RT Format is not supported)
],
},
],
},
So, it works because it decodes to 8-bit surfaces and then everything is the same as 8-bit video after that.
(Continued in reply to 11/11.)
More information about the mesa-dev
mailing list