############################################################################################################
# This file is a combination of these dictionaries:                                                        #
# https://github.com/google/fuzzing/blob/0c48531c4d317cea9479b3ec1b0ddb9edc438c3a/dictionaries/mp4.dict    #
# https://github.com/google/fuzzing/blob/0c48531c4d317cea9479b3ec1b0ddb9edc438c3a/dictionaries/webm.dict   #
# https://github.com/google/fuzzing/blob/0c48531c4d317cea9479b3ec1b0ddb9edc438c3a/dictionaries/ogg.dict    #
# MPEG4, OGG, and WEBM are all formats used by MediaWriter.                                                #
############################################################################################################
# mp4.dict
# Taken from https://chromium.googlesource.com/chromium/src/+/master/media/test/mp4.dict
FOURCC_NULL="\x00\x00\x00\x00"
FOURCC_AC3 ="\x61\x63\x2d\x33"
FOURCC_EAC3="\x65\x63\x2d\x33"
FOURCC_AVC1="\x61\x76\x63\x31"
FOURCC_AVC3="\x61\x76\x63\x33"
FOURCC_AVCC="\x61\x76\x63\x43"
FOURCC_BLOC="\x62\x6C\x6F\x63"
FOURCC_CENC="\x63\x65\x6e\x63"
FOURCC_CO64="\x63\x6f\x36\x34"
FOURCC_CTTS="\x63\x74\x74\x73"
FOURCC_DINF="\x64\x69\x6e\x66"
FOURCC_EDTS="\x65\x64\x74\x73"
FOURCC_EMSG="\x65\x6d\x73\x67"
FOURCC_ELST="\x65\x6c\x73\x74"
FOURCC_ENCA="\x65\x6e\x63\x61"
FOURCC_ENCV="\x65\x6e\x63\x76"
FOURCC_ESDS="\x65\x73\x64\x73"
FOURCC_FREE="\x66\x72\x65\x65"
FOURCC_FRMA="\x66\x72\x6d\x61"
FOURCC_FTYP="\x66\x74\x79\x70"
FOURCC_HDLR="\x68\x64\x6c\x72"
FOURCC_HINT="\x68\x69\x6e\x74"
FOURCC_HVC1="\x68\x76\x63\x31"
FOURCC_HVCC="\x68\x76\x63\x43"
FOURCC_IODS="\x69\x6f\x64\x73"
FOURCC_MDAT="\x6d\x64\x61\x74"
FOURCC_MDHD="\x6d\x64\x68\x64"
FOURCC_MDIA="\x6d\x64\x69\x61"
FOURCC_MECO="\x6d\x65\x63\x6f"
FOURCC_MEHD="\x6d\x65\x68\x64"
FOURCC_META="\x6d\x65\x74\x61"
FOURCC_MFHD="\x6d\x66\x68\x64"
FOURCC_MFRA="\x6d\x66\x72\x61"
FOURCC_MINF="\x6d\x69\x6e\x66"
FOURCC_MOOF="\x6d\x6f\x6f\x66"
FOURCC_MOOV="\x6d\x6f\x6f\x76"
FOURCC_MP4A="\x6d\x70\x34\x61"
FOURCC_MP4V="\x6d\x70\x34\x76"
FOURCC_MVEX="\x6d\x76\x65\x78"
FOURCC_MVHD="\x6d\x76\x68\x64"
FOURCC_PASP="\x70\x61\x73\x70"
FOURCC_PDIN="\x70\x64\x69\x6e"
FOURCC_PRFT="\x70\x72\x66\x74"
FOURCC_PSSH="\x70\x73\x73\x68"
FOURCC_SAIO="\x73\x61\x69\x6f"
FOURCC_SAIZ="\x73\x61\x69\x7a"
FOURCC_SBGP="\x73\x62\x67\x70"
FOURCC_SCHI="\x73\x63\x68\x69"
FOURCC_SCHM="\x73\x63\x68\x6d"
FOURCC_SDTP="\x73\x64\x74\x70"
FOURCC_SEIG="\x73\x65\x69\x67"
FOURCC_SENC="\x73\x65\x6e\x63"
FOURCC_SGPD="\x73\x67\x70\x64"
FOURCC_SIDX="\x73\x69\x64\x78"
FOURCC_SINF="\x73\x69\x6e\x66"
FOURCC_SKIP="\x73\x6b\x69\x70"
FOURCC_SMHD="\x73\x6d\x68\x64"
FOURCC_SOUN="\x73\x6f\x75\x6e"
FOURCC_SSIX="\x73\x73\x69\x78"
FOURCC_STBL="\x73\x74\x62\x6c"
FOURCC_STCO="\x73\x74\x63\x6f"
FOURCC_STSC="\x73\x74\x73\x63"
FOURCC_STSD="\x73\x74\x73\x64"
FOURCC_STSS="\x73\x74\x73\x73"
FOURCC_STSZ="\x73\x74\x73\x7a"
FOURCC_STTS="\x73\x74\x74\x73"
FOURCC_STYP="\x73\x74\x79\x70"
FOURCC_TENC="\x74\x65\x6e\x63"
FOURCC_TFDT="\x74\x66\x64\x74"
FOURCC_TFHD="\x74\x66\x68\x64"
FOURCC_TKHD="\x74\x6b\x68\x64"
FOURCC_TRAF="\x74\x72\x61\x66"
FOURCC_TRAK="\x74\x72\x61\x6b"
FOURCC_TREX="\x74\x72\x65\x78"
FOURCC_TRUN="\x74\x72\x75\x6e"
FOURCC_UDTA="\x75\x64\x74\x61"
FOURCC_UUID="\x75\x75\x69\x64"
FOURCC_VIDE="\x76\x69\x64\x65"
FOURCC_VMHD="\x76\x6d\x68\x64"
FOURCC_WIDE="\x77\x69\x64\x65"

# ogg.dict
# https://xiph.org/vorbis/doc/Vorbis_I_spec.html

header="OggS"

# Codecs
"BBCD\x00"
"\x7fFLAC"
"\x80theora"
"\x01vorbis"
"CELT    "
"CMML\x00\x00\x00\x00"
"\x8bJNG\x0d\x0a\x1a\x0a"
"\x80kate\x00\x00\x00"
"OggMIDI\x00"
"\x8aMNG\x0d\x0a\x1a\x0a"
"PCM     "
"\x89PNG\x0d\x0a\x1a\x0a"
"Speex   "
"YUV4MPEG"

# Metadata
"TITLE="
"VERSION="
"ALBUM="
"TRACKNUMBER="
"ARTIST="
"PERFORMER="
"COPYRIGHT="
"LICENSE="
"ORGANIZATION="
"DESCRIPTION="
"GENRE="
"DATE="
"LOCATION="
"CONTACT="
"ISRC="

# webm.dict
# Element IDs.
IdAesSettingsCipherMode = "\x47\xE8"
IdAlphaMode = "\x53\xC0"
IdAspectRatioType = "\x54\xB3"
IdAudio = "\xE1"
IdBitDepth = "\x62\x64"
IdBitsPerChannel = "\x55\xB2"
IdBlock = "\xA1"
IdBlockAddId = "\xEE"
IdBlockAdditional = "\xA5"
IdBlockAdditions = "\x75\xA1"
IdBlockDuration = "\x9B"
IdBlockGroup = "\xA0"
IdBlockMore = "\xA6"
IdBlockVirtual = "\xA2"
IdCbSubsamplingHorz = "\x55\xB5"
IdCbSubsamplingVert = "\x55\xB6"
IdChannels = "\x9F"
IdChapCountry = "\x43\x7E"
IdChapLanguage = "\x43\x7C"
IdChapString = "\x85"
IdChapterAtom = "\xB6"
IdChapterDisplay = "\x80"
IdChapterStringUID = "\x56\x54"
IdChapterStringUid = "\x56\x54"
IdChapterTimeEnd = "\x92"
IdChapterTimeStart = "\x91"
IdChapterUID = "\x73\xC4"
IdChapterUid = "\x73\xC4"
IdChapters = "\x10\x43\xA7\x70"
IdChromaSitingHorz = "\x55\xB7"
IdChromaSitingVert = "\x55\xB8"
IdChromaSubsamplingHorz = "\x55\xB3"
IdChromaSubsamplingVert = "\x55\xB4"
IdCluster = "\x1F\x43\xB6\x75"
IdCodecDelay = "\x56\xAA"
IdCodecID = "\x86"
IdCodecName = "\x25\x86\x88"
IdCodecPrivate = "\x63\xA2"
IdColour = "\x55\xB0"
IdContentEncAESSettings = "\x47\xE7"
IdContentEncAesSettings = "\x47\xE7"
IdContentEncAlgo = "\x47\xE1"
IdContentEncKeyId = "\x47\xE2"
IdContentEncoding = "\x62\x40"
IdContentEncodingOrder = "\x50\x31"
IdContentEncodingScope = "\x50\x32"
IdContentEncodingType = "\x50\x33"
IdContentEncodings = "\x6D\x80"
IdContentEncryption = "\x50\x35"
IdCueBlockNumber = "\x53\x78"
IdCueClusterPosition = "\xF1"
IdCueDuration = "\xB2"
IdCuePoint = "\xBB"
IdCueRelativePosition = "\xF0"
IdCueTime = "\xB3"
IdCueTrack = "\xF7"
IdCueTrackPositions = "\xB7"
IdCues = "\x1C\x53\xBB\x6B"
IdDateUTC = "\x44\x61"
IdDateUtc = "\x44\x61"
IdDefaultDuration = "\x23\xE3\x83"
IdDiscardPadding = "\x75\xA2"
IdDisplayHeight = "\x54\xBA"
IdDisplayUnit = "\x54\xB2"
IdDisplayWidth = "\x54\xB0"
IdDocType = "\x42\x82"
IdDocTypeReadVersion = "\x42\x85"
IdDocTypeVersion = "\x42\x87"
IdDuration = "\x44\x89"
IdEBML = "\x1A\x45\xDF\xA3"
IdEBMLMaxIDLength = "\x42\xF2"
IdEBMLMaxSizeLength = "\x42\xF3"
IdEBMLReadVersion = "\x42\xF7"
IdEBMLVersion = "\x42\x86"
IdEbml = "\x1A\x45\xDF\xA3"
IdEbmlMaxIdLength = "\x42\xF2"
IdEbmlMaxSizeLength = "\x42\xF3"
IdEbmlReadVersion = "\x42\xF7"
IdEbmlVersion = "\x42\x86"
IdEditionEntry = "\x45\xB9"
IdFileUsedEndTime = "\x46\x62"
IdFileUsedStartTime = "\x46\x61"
IdFlagDefault = "\x88"
IdFlagEnabled = "\xB9"
IdFlagForced = "\x55\xAA"
IdFlagInterlaced = "\x9A"
IdFlagLacing = "\x9C"
IdFrameRate = "\x23\x83\xE3"
IdInfo = "\x15\x49\xA9\x66"
IdLaceNumber = "\xCC"
IdLanguage = "\x22\xB5\x9C"
IdLuminanceMax = "\x55\xD9"
IdLuminanceMin = "\x55\xDA"
IdMasteringMetadata = "\x55\xD0"
IdMatrixCoefficients = "\x55\xB1"
IdMaxCll = "\x55\xBC"
IdMaxFall = "\x55\xBD"
IdMuxingApp = "\x4D\x80"
IdName = "\x53\x6E"
IdOutputSamplingFrequency = "\x78\xB5"
IdPixelCropBottom = "\x54\xAA"
IdPixelCropLeft = "\x54\xCC"
IdPixelCropRight = "\x54\xDD"
IdPixelCropTop = "\x54\xBB"
IdPixelHeight = "\xBA"
IdPixelWidth = "\xB0"
IdPrevSize = "\xAB"
IdPrimaries = "\x55\xBB"
IdPrimaryBChromaticityX = "\x55\xD5"
IdPrimaryBChromaticityY = "\x55\xD6"
IdPrimaryGChromaticityX = "\x55\xD3"
IdPrimaryGChromaticityY = "\x55\xD4"
IdPrimaryRChromaticityX = "\x55\xD1"
IdPrimaryRChromaticityY = "\x55\xD2"
IdProjection = "\x76\x70"
IdProjectionPosePitch = "\x76\x74"
IdProjectionPoseRoll = "\x76\x75"
IdProjectionPoseYaw = "\x76\x73"
IdProjectionPrivate = "\x76\x72"
IdProjectionType = "\x76\x71"
IdRange = "\x55\xB9"
IdReferenceBlock = "\xFB"
IdSamplingFrequency = "\xB5"
IdSeek = "\x4D\xBB"
IdSeekHead = "\x11\x4D\x9B\x74"
IdSeekID = "\x53\xAB"
IdSeekPosition = "\x53\xAC"
IdSeekPreRoll = "\x56\xBB"
IdSegment = "\x18\x53\x80\x67"
IdSimpleBlock = "\xA3"
IdSimpleTag = "\x67\xC8"
IdSliceDuration = "\xCF"
IdSlices = "\x8E"
IdStereoMode = "\x53\xB8"
IdTag = "\x73\x73"
IdTagBinary = "\x44\x85"
IdTagDefault = "\x44\x84"
IdTagLanguage = "\x44\x7A"
IdTagName = "\x45\xA3"
IdTagString = "\x44\x87"
IdTagTrackUid = "\x63\xC5"
IdTags = "\x12\x54\xC3\x67"
IdTargetType = "\x63\xCA"
IdTargetTypeValue = "\x68\xCA"
IdTargets = "\x63\xC0"
IdTimeSlice = "\xE8"
IdTimecode = "\xE7"
IdTimecodeScale = "\x2A\xD7\xB1"
IdTitle = "\x7B\xA9"
IdTrackEntry = "\xAE"
IdTrackNumber = "\xD7"
IdTrackType = "\x83"
IdTrackUID = "\x73\xC5"
IdTracks = "\x16\x54\xAE\x6B"
IdTransferCharacteristics = "\x55\xBA"
IdTrickMasterTrackSegmentUID = "\xC4"
IdTrickMasterTrackUID = "\xC7"
IdTrickTrackFlag = "\xC6"
IdTrickTrackSegmentUID = "\xC1"
IdTrickTrackUID = "\xC0"
IdVideo = "\xE0"
IdVoid = "\xEC"
IdWhitePointChromaticityX = "\x55\xD7"
IdWhitePointChromaticityY = "\x55\xD8"
IdWritingApp = "\x57\x41"

# Interesting sizes.
SizeUnknown = "\xFF"

