<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - VDPAU: Maybe support H264_CONSTRAINED_BASELINE"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92729">92729</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>VDPAU: Maybe support H264_CONSTRAINED_BASELINE
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>11.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Gallium/r600
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>andreaskem@web.de
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hi,

I am not sure if this is the proper place to report this, so feel free to send
me somewhere else and I apologize in advance.

I am on the Mesa 11.0.4 r600 driver with the following device:
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Wrestler [Radeon HD 7340]
and Xorg 1.17.3. (Arch Linux with testing repository enabled, everything
up-to-date).

vdpauinfo reports (see attachment) that the H.264 profiles H264_BASELINE,
H264_MAIN, and H264_HIGH are supported for VDPAU hardware acceleration.
However, H264_CONSTRAINED_BASELINE is marked "not supported". Now, if the
Wikipedia article about H.264 profiles is to be believed [1], the constrained
profile only needs a "subset of features that are in common between the
Baseline, Main, and High Profiles." Consequently, I would expect
H264_CONSTRAINED_BASELINE to be supported, as well.

See also the bug report I filed for mpv a few weeks ago [2].

Moreover, H264_PROGRESSIVE_HIGH and H264_CONSTRAINED_HIGH seem to be "Similar
to the High profile, but without support of field coding features." and
"Similar to the Progressive High profile, but without support of B
(bi-predictive) slices." respectively. However, vdpauinfo reports "not
supported" for both.

As I am writing this, I also notice that VC1_ADVANCED is supported, but
VC1_MAIN and VC1_SIMPLE are not. Reading [3], I would expect the same reasoning
to apply.

Is there something I am missing?

[1] <a href="https://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Profiles">https://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Profiles</a>
[2] <a href="https://github.com/mpv-player/mpv/issues/2347">https://github.com/mpv-player/mpv/issues/2347</a>
[3] <a href="https://en.wikipedia.org/wiki/VC-1#Profiles">https://en.wikipedia.org/wiki/VC-1#Profiles</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>