summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12data.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/mpeg12data.h')
-rw-r--r--libavcodec/mpeg12data.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/libavcodec/mpeg12data.h b/libavcodec/mpeg12data.h
index a1a7166beb..8bf063ec1b 100644
--- a/libavcodec/mpeg12data.h
+++ b/libavcodec/mpeg12data.h
@@ -411,4 +411,32 @@ UINT8 ff_mpeg1_dc_scale_table[128]={ // MN: mpeg2 really can have such large qsc
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,
+};