W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2009

[whatwg] <video> and acceleration

From: Robert O'Callahan <robert@ocallahan.org>
Date: Sat, 28 Mar 2009 21:25:51 +1300
Message-ID: <11e306600903280125t6e045985y3c440028d300993f@mail.gmail.com>
On Sat, Mar 28, 2009 at 5:57 PM, Benjamin M. Schwartz <
bmschwar at fas.harvard.edu> wrote:

> What is the recommended way to handle the <video> tag on such hardware?
>
> There are two obvious solutions:
> 0. Implement the spec, and just let it be really slow.
> 1. Attempt to approximate the correct behavior, given the limitations of
> the hardware.  Make the video appear where it's supposed to appear, and
> use the 1-bit alpha (dithered?) to blend static items over it.  Ignore
> transparency of the video.  Ignore rotations, etc.
> 2. Ignore the HTML context.  Show the video "in manners more suitable to
> the user (e.g. full-screen or in an independent resizable window)".


3. Add an optimized path to detect when the YUV overlay can be used to give
the correct rendering, and use it in that case.

This is not a spec issue, it's entirely an implementation issue. You're
welcome to file a bug on that at http://bugzilla.mozilla.org; I can explain
there more details about how it could be done, but it's unlikely to happen
anytime soon unless a volunteer contributes the code.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090328/ed527d6c/attachment-0001.htm>
Received on Saturday, 28 March 2009 01:25:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:47:49 GMT