From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 67530] VDPAU state tracker reports wrong codec level Date: Wed, 07 Aug 2013 10:49:04 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1921524923==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 135E9E6137 for ; Wed, 7 Aug 2013 03:49:05 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1921524923== Content-Type: multipart/alternative; boundary="1375872544.1FbE787b0.17035"; charset="us-ascii" --1375872544.1FbE787b0.17035 Date: Wed, 7 Aug 2013 10:49:04 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D67530 --- Comment #5 from Christian K=C3=B6nig --- (In reply to comment #4) > Created attachment 83741 [details] [review] > use more common defaults for the level >=20 > 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:=20 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. --=20 You are receiving this mail because: You are the assignee for the bug. --1375872544.1FbE787b0.17035 Date: Wed, 7 Aug 2013 10:49:04 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 5 on bug 67530<= /a> from Christian K=C3=B6nig
(In reply to comment #4=
)
> Created attachment 83741 [details]=
 [review] [review]
> use more common defaults for the level
>=20
> 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 al=
l those
places.

With that fixed please send the patch to the mesa maillinglist for review.<=
/pre>
        


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1375872544.1FbE787b0.17035-- --===============1921524923== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1921524923==--