Mercurial > libavcodec.hg
diff mpeg12data.h @ 917:d3aa313dc373 libavcodec
mpeg1&2 aspect decoding
author | michaelni |
---|---|
date | Fri, 06 Dec 2002 16:04:30 +0000 |
parents | e65798d228ea |
children | b32afefe7d33 |
line wrap: on
line diff
--- a/mpeg12data.h Fri Dec 06 15:01:48 2002 +0000 +++ b/mpeg12data.h Fri Dec 06 16:04:30 2002 +0000 @@ -411,4 +411,32 @@ 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, }; +static const float mpeg1_aspect[16]={ + 0.0000, + 1.0000, + 0.6735, + 0.7031, + + 0.7615, + 0.8055, + 0.8437, + 0.8935, + 0.9157, + 0.9815, + 1.0255, + 1.0695, + + 1.0950, + 1.1575, + 1.2015, +}; + +static const float mpeg2_aspect[16]={ + 0, + 1.0, + -3.0/4.0, + -9.0/16.0, + -1.0/2.21, +}; +