[whatwg] <video> and acceleration

Robert O'Callahan robert at ocallahan.org
Sat Mar 28 01:25:51 PDT 2009


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-0002.htm>


More information about the whatwg mailing list