On Sun, Mar 30, 2008 at 06:49:46PM +0530, Sisir Koppaka wrote:
> 3 : fill chain
>       if length is zero, read two more bytes of the length
>       color = next two bytes of the input
>       fill (length) words of the output with (color)
> 
> What does color mean here? We already have  a palette and all....and why is
> color two bytes long?

It's just a convenient variable name for a pair of pixels.
writing
  a = get_byte();
  b = get_byte();
  for(i = 0; i < length; i++){
    output_pixel(a);
    output_pixel(b);
  }

may be clearer for coder but not for the documentation.
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to