<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 - 10 bit h264 OMX UVD decode outputs NV12"
href="https://bugs.freedesktop.org/show_bug.cgi?id=92570">92570</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>10 bit h264 OMX UVD decode outputs NV12
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</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>Other
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>adf.lists@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>No idea if this a Mesa OMX issue or UVD or gstreamer -
GPU is R9 285 Tonga.
In theory this should be able to h/w decode 10 bit h264 - and the h/w does seem
to process it.
The problem is that something is assuming/expecting/indicating that the output
is NV12, so the output is corrupted.
Here's a snip of a debug output from doing -
GST_DEBUG=*:4 gst-launch-1.0 -f filesrc location=A-10bit-h264.mkv !
matroskademux ! h264parse ! omxh264dec ! filesink location=out.yuv
0:00:00.364695565 660 0x22310f0 INFO GST_EVENT
gstevent.c:679:gst_event_new_caps: creating caps event video/x-h264,
level=(string)4.1, profile=(string)high-10, stream-format=(string)byte-stream,
alignment=(string)au, width=(int)1920, height=(int)1080,
framerate=(fraction)30000/1001, parsed=(boolean)true
<snip>
gstpad.c:5881:gst_pad_start_task:<omxh264dec-omxh264dec0:src> created task
0x22f85f0
0:00:00.366822661 660 0x2231590 INFO GST_EVENT
gstevent.c:679:gst_event_new_caps: creating caps event video/x-raw,
format=(string)NV12, width=(int)1920, height=(int)1080,
interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1,
chroma-site=(string)mpeg2, colorimetry=(string)bt709,
framerate=(fraction)30000/1001</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>