Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Alexander E. Patrakov" <patrakov@gmail.com>
To: intel-gfx@lists.freedesktop.org
Subject: XV image size limits on 965G
Date: Sun, 11 Jul 2010 11:31:24 +0600	[thread overview]
Message-ID: <4C39572C.4050302@gmail.com> (raw)

  Hello.

As you probably know, YouTube started supporting 4K videos (i.e., those 
with resolution of 4096x2304). The downloaded copies of these videos 
play fine with mplayer -vo gl (provided that the CPU is powerful enough 
- but even an old Core 2 Duo E6420 @ 2.13 GHz is enough), but not with 
-vo xv. This happens because both XV adaptors on 965G (overlay and 
textured) have an image size limit of 2048x2048, and that is not enough.

(the fact that there is a version of the same movie more suitable for my 
monitor is ignored for the purposes of this mail)

Do I understand correctly that in the end, both gl and xv textured 
adaptor use the same hardware for scaling and colorspace conversion? If 
so, why do they have different limitations?

P.S. I tried to change IMAGE_MAX_{WIDTH,HEIGHT} in src/i830_video.c to 
4096. Result: textured video fails with BadAlloc (obviously, I have to 
change something else), overlay video mostly works (sometimes stutters - 
i.e., displays frames n, n+1, n+2, n+3, n+2, n+3, n+2, n+3, n+4, ...).

-- 
Alexander E. Patrakov

                 reply	other threads:[~2010-07-11  5:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4C39572C.4050302@gmail.com \
    --to=patrakov@gmail.com \
    --cc=intel-gfx@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