gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-commit] gnash ChangeLog backend/sound_handler.cpp backe...


From: strk
Subject: Re: [Gnash-commit] gnash ChangeLog backend/sound_handler.cpp backe...
Date: Thu, 7 Jun 2007 14:19:29 +0200

On Thu, Jun 07, 2007 at 12:10:21PM +0000, Tomas Groth wrote:

>       std::auto_ptr<image::image_base> ret_image;
>  
>       if (outputFormat == YUV) {
>               ret_image.reset(new image::yuv(width, height));
>       } else if (outputFormat == RGB) {
>               ret_image.reset(new image::rgb(width, height));
> +     } else {
> +             ret_image.reset(NULL);

        log_error("Unknown outputFormat %d during decoding ..."); ? 

> +             return ret_image;
> +     }


Question: why do we opt between RGB and YUV ? Do we do this also for other
          kind of bitmaps (glyphs, whatever...) ? is any renderer using YUV ?
          Could we have the renderer provide an "hint" but then accept any
          of the two formats ?

--strk;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]