mirror of
https://github.com/opnsense/src.git
synced 2026-03-02 05:13:58 -05:00
46 lines
1.2 KiB
Text
46 lines
1.2 KiB
Text
|
|
#------------------------------------------------------------------------------
|
|
# $File: modem,v 1.6 2015/02/14 17:35:47 christos Exp $
|
|
# modem: file(1) magic for modem programs
|
|
#
|
|
# From: Florian La Roche <florian@knorke.saar.de>
|
|
1 string PC\ Research,\ Inc Digifax-G3-File
|
|
>29 byte 1 \b, fine resolution
|
|
>29 byte 0 \b, normal resolution
|
|
|
|
0 short 0x0100 raw G3 data, byte-padded
|
|
0 short 0x1400 raw G3 data
|
|
#
|
|
# Magic data for vgetty voice formats
|
|
# (Martin Seine & Marc Eberhard)
|
|
|
|
#
|
|
# raw modem data version 1
|
|
#
|
|
0 string RMD1 raw modem data
|
|
>4 string >\0 (%s /
|
|
>20 short >0 compression type 0x%04x)
|
|
|
|
#
|
|
# portable voice format 1
|
|
#
|
|
0 string PVF1\n portable voice format
|
|
>5 string >\0 (binary %s)
|
|
|
|
#
|
|
# portable voice format 2
|
|
#
|
|
0 string PVF2\n portable voice format
|
|
>5 string >\0 (ascii %s)
|
|
|
|
# From: Bernd Nuernberger <bernd.nuernberger@web.de>
|
|
# Brooktrout G3 fax data incl. 128 byte header
|
|
# Common suffixes: 3??, BRK, BRT, BTR
|
|
0 leshort 0x01bb
|
|
>2 leshort 0x0100 Brooktrout 301 fax image,
|
|
>>9 leshort x %d x
|
|
>>0x2d leshort x %d
|
|
>>6 leshort 200 \b, fine resolution
|
|
>>6 leshort 100 \b, normal resolution
|
|
>>11 byte 1 \b, G3 compression
|
|
>>11 byte 2 \b, G32D compression
|