aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2020-06-13 14:34:41 +0200
committerKostya Shishkov <kostya.shishkov@gmail.com>2020-06-13 14:34:41 +0200
commit3d5fb08f404cd219161c2133e24022d53acdec61 (patch)
treed43920bb8a7e58cbcbdfacc28852a7162f01c632
parent2736c15a4e47e346a6a05e12c988b230ec80d2d1 (diff)
downloadnihav-3d5fb08f404cd219161c2133e24022d53acdec61.tar.gz
registry: add common QuickTime codecs
-rw-r--r--nihav-registry/src/register.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/nihav-registry/src/register.rs b/nihav-registry/src/register.rs
index b9f8d81..b92746c 100644
--- a/nihav-registry/src/register.rs
+++ b/nihav-registry/src/register.rs
@@ -146,6 +146,8 @@ pub fn get_codec_description(name: &str) -> Option<&'static CodecDescription> {
static CODEC_REGISTER: &'static [CodecDescription] = &[
desc!(audio-ll; "pcm", "PCM"),
+ desc!(audio; "alaw", "A-law PCM"),
+ desc!(audio; "ulaw", "mu-law PCM"),
desc!(video-im; "indeo1", "Intel Raw IF09"),
desc!(video-im; "indeo2", "Intel Indeo 2"),
@@ -179,6 +181,18 @@ static CODEC_REGISTER: &'static [CodecDescription] = &[
desc!(audio; "ms-adpcm", "MS ADPCM"),
desc!(audio; "ima-adpcm-ms", "IMA ADPCM (MS variant)"),
+ desc!(video; "qt-smc", "Apple Graphics"),
+ desc!(video; "qt-rle", "Apple Animation"),
+ desc!(video; "apple-video", "Apple video"),
+ desc!(video; "sorenson-video", "Sorenson Video"),
+ desc!(video; "sorenson-video3", "Sorenson Video 3"),
+ desc!(audio; "mace-3", "MACE 3:1"),
+ desc!(audio; "mace-6", "MACE 6:1"),
+ desc!(audio; "ima-adpcm-qt", "IMA ADPCM (Apple variant)"),
+ desc!(audio; "qdesign-music", "QDesign Music"),
+ desc!(audio; "qdesign-music2", "QDesign Music v2"),
+ desc!(audio; "qualcomm-purevoice", "Qualcomm PureVoice"),
+
desc!(video; "truemotion1", "TrueMotion 1"),
desc!(video-im; "truemotionrt", "TrueMotion RT"),
desc!(video; "truemotion2", "TrueMotion 2"),
@@ -292,6 +306,7 @@ static MOV_VIDEO_CODEC_REGISTER: &'static [(&[u8;4], &str)] = &[
(b"mjpa", "mjpeg-a"),
(b"mjpb", "mjpeg-b"),
(b"svqi", "sorenson-video"),
+ (b"svq3", "sorenson-video3"),
(b"IV31", "indeo3"),
(b"IV32", "indeo3"),