Winnow Video: Difference between revisions

From MultimediaWiki
Jump to navigation Jump to search
No edit summary
(spelling/grammar/links)
Line 1: Line 1:
Another hardware codec like [[ATI_VCR1]], [[Indeo_2]] or [[Video_XL]]. It uses YUYV format and stores deltas with static code.
Another hardware codec like [[ATI VCR1]], [[Indeo 2]] or [[Video XL]]. It uses YUYV format and stores deltas with static code.


Codes used really are simple unary code with following sign bit and 11111111 code used as escape.
Codes used really are simple unary codes with following sign bit and 11111111 code used as escape.


Each component may be decoded this way:
Each component may be decoded this way:
Line 11: Line 11:
     newval = oldval + (code << SHIFT);
     newval = oldval + (code << SHIFT);


SHIFT = 6 (may be another, but no samples with another value are known), ESCAPE = 15 (code for ESCAPE is metioned above)
SHIFT = 6 (may be another, but no samples with another value are known), ESCAPE = 15 (code for ESCAPE is mentioned above)


[[Category:Video Codecs]]
[[Category:Video Codecs]]

Revision as of 16:39, 21 January 2006

Another hardware codec like ATI VCR1, Indeo 2 or Video XL. It uses YUYV format and stores deltas with static code.

Codes used really are simple unary codes with following sign bit and 11111111 code used as escape.

Each component may be decoded this way:

 code = get_code();
 if(code == ESCAPE)
   newval = code;
 else
   newval = oldval + (code << SHIFT);

SHIFT = 6 (may be another, but no samples with another value are known), ESCAPE = 15 (code for ESCAPE is mentioned above)