dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 67530] VDPAU state tracker reports wrong codec level
Date: Wed, 07 Aug 2013 10:49:04 +0000	[thread overview]
Message-ID: <bug-67530-502-WRyrz3t3H5@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-67530-502@http.bugs.freedesktop.org/>


[-- Attachment #1.1: Type: text/plain, Size: 1056 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=67530

--- Comment #5 from Christian König <deathsimple@vodafone.de> ---
(In reply to comment #4)
> Created attachment 83741 [details] [review]
> use more common defaults for the level
> 
> This patch adds more common defaults as level. Imho they are likely not
> correct for all the hardware.

Not bad for a first try, but I have some minor comments:

>                return true;
>        case PIPE_VIDEO_CAP_SUPPORTS_PROGRESSIVE:
>                return true;
>+    case PIPE_VIDEO_CAP_MAX_LEVEL:
>+        switch (profile) {
>+        case PIPE_VIDEO_PROFILE_MPEG1: 

The new code has a different indention, the radeon code uses tabs instead of
spaces, please fix.

Additional to that you need to fix all drivers to handle the new CAP, just
"grep -R PIPE_VIDEO_CAP_SUPPORTED src/gallium/drivers" to find all those
places.

With that fixed please send the patch to the mesa maillinglist for review.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2299 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2013-08-07 10:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-30 10:37 [Bug 67530] New: Wrong UVD capabilities reported by VDPAU on Brazos bugzilla-daemon
2013-07-30 11:35 ` [Bug 67530] VDPAU state tracker reports wrong codec level bugzilla-daemon
2013-07-30 11:57 ` bugzilla-daemon
2013-07-30 12:29 ` bugzilla-daemon
2013-08-06 21:19 ` bugzilla-daemon
2013-08-07 10:49 ` bugzilla-daemon [this message]
2013-08-13 16:21 ` bugzilla-daemon
2013-08-13 16:31 ` bugzilla-daemon
2013-08-14 11:36 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-67530-502-WRyrz3t3H5@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).