[VDPAU] [RFC] [PATCH 0/3] Missing H.264 profiles

Aaron Plattner aplattner at nvidia.com
Tue Nov 4 15:22:30 PST 2014


On 10/28/2014 08:27 AM, Rémi Denis-Courmont wrote:
>      Hello,
>
> The current VDPAU headers only define three profiles for H.264:
> Baseline, Main and High. It is ambiguous which profile an application
> should request for decoding Constrained Baseline content. Constrained
> Baseline is a subset of Baseline and a subset of Main, but neither
> Baseline nor Main are a subset of the other.
>
> This has led to this bug when combining VLC and libav(codec):
> https://bugzilla.libav.org/show_bug.cgi?id=757
>
> So here I am proposing to define some more profiles (patch 2). Only
> profiles for 8-bits per component, 4:2:0 chroma subsampling,
> "monoscopic" and single-layered content are included. Other profiles
> would need further separate extensions to surface chroma types or such.

Thanks, Rémi. I pushed these first two.

> The third patch provides backward compatibility with existing/old VDPAU
> back-end drivers by transparently remapping the codec profile to any
> strict superset profile. For instance, if Constrained Baseline is
> unsupported/unknown, this will automatically try to use Baseline or Main.
>
> Feedback welcome.

I'm inclined to say that we should just add these new profiles to the 
driver and call it a day.  Adding the libvdpau wrapper to deal with the 
situation between now and when those get released doesn't seem worth it 
to me.

-- 
Aaron


More information about the VDPAU mailing list