summaryrefslogtreecommitdiffstats
path: root/libavcodec/dvdata.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-04-04 17:32:55 +0200
committerDiego Biurrun <diego@biurrun.de>2012-04-16 10:04:57 +0200
commita3dbd459ffe1eef2705090d33e3bdaac539bb62f (patch)
treef077786f4cf4f2b0c988a8f569156fa65312dcf1 /libavcodec/dvdata.h
parent05afc5f57d19ab403f4c798b5a479ae016a2307c (diff)
downloadffmpeg-streaming-a3dbd459ffe1eef2705090d33e3bdaac539bb62f.zip
ffmpeg-streaming-a3dbd459ffe1eef2705090d33e3bdaac539bb62f.tar.gz
dv: Merge dvquant.h into dvdata.c where all other DV tables reside.
Diffstat (limited to 'libavcodec/dvdata.h')
-rw-r--r--libavcodec/dvdata.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libavcodec/dvdata.h b/libavcodec/dvdata.h
index 8b4811a..54a4bf1 100644
--- a/libavcodec/dvdata.h
+++ b/libavcodec/dvdata.h
@@ -104,6 +104,16 @@ enum dv_pack_type {
dv_unknown_pack = 0xff,
};
+extern const uint8_t ff_dv_quant_shifts[22][4];
+extern const uint8_t ff_dv_quant_offset[4];
+
+extern const int ff_dv_iweight_88[64];
+extern const int ff_dv_iweight_248[64];
+extern const int ff_dv_iweight_1080_y[64];
+extern const int ff_dv_iweight_1080_c[64];
+extern const int ff_dv_iweight_720_y[64];
+extern const int ff_dv_iweight_720_c[64];
+
#define DV_PROFILE_IS_HD(p) ((p)->video_stype & 0x10)
#define DV_PROFILE_IS_1080i50(p) (((p)->video_stype == 0x14) && ((p)->dsf == 1))
#define DV_PROFILE_IS_720p50(p) (((p)->video_stype == 0x18) && ((p)->dsf == 1))
OpenPOWER on IntegriCloud