Home | History | Annotate | only in /external/fec
Up to higher level directory
NameDateSize
Android.bp05-Oct-2017607
ccsds.h05-Oct-2017105
char.h05-Oct-2017538
CleanSpec.mk05-Oct-20172.4K
config.guess05-Oct-201743.5K
config.h.in05-Oct-2017522
config.sub05-Oct-201726.9K
configure05-Oct-2017126.6K
configure.in05-Oct-20171.9K
cpu_features.s05-Oct-2017184
cpu_mode_ppc.c05-Oct-2017955
cpu_mode_x86.c05-Oct-2017853
decode_rs.c05-Oct-20176.7K
decode_rs.h05-Oct-20178.2K
decode_rs_8.c05-Oct-2017442
decode_rs_ccsds.c05-Oct-2017691
decode_rs_char.c05-Oct-2017453
decode_rs_int.c05-Oct-2017425
dotprod.c05-Oct-20171.8K
dotprod.h05-Oct-2017448
dotprod_av.c05-Oct-20172.5K
dotprod_mmx.c05-Oct-20172.3K
dotprod_mmx_assist.s05-Oct-20171.7K
dotprod_port.c05-Oct-20171.2K
dotprod_sse2.c05-Oct-20171.9K
dotprod_sse2_assist.s05-Oct-20171.6K
dsp.305-Oct-20172.3K
dtest.c05-Oct-20172K
encode_rs.c05-Oct-20171.2K
encode_rs.h05-Oct-20172.3K
encode_rs_8.c05-Oct-20173K
encode_rs_av.c05-Oct-20172K
encode_rs_ccsds.c05-Oct-2017676
encode_rs_char.c05-Oct-2017325
encode_rs_int.c05-Oct-2017323
exercise.c05-Oct-20172.9K
fec.c05-Oct-20171.3K
fec.h05-Oct-201712.9K
fixed.h05-Oct-2017785
gen_ccsds.c05-Oct-2017869
gen_ccsds_tal.c05-Oct-20171.5K
init_rs.c05-Oct-2017896
init_rs.h05-Oct-20172.6K
init_rs_char.c05-Oct-2017848
init_rs_int.c05-Oct-2017845
INSTALL05-Oct-2017950
install-sh05-Oct-20175.5K
int.h05-Oct-2017534
lesser.txt05-Oct-201725.8K
makefile.in05-Oct-20175.3K
mmxbfly27.s05-Oct-20173.4K
mmxbfly29.s05-Oct-20173.7K
MODULE_LICENSE_LGPL05-Oct-20170
NOTICE05-Oct-201725.8K
peak_mmx_assist.s05-Oct-20171.2K
peak_sse2_assist.s05-Oct-2017995
peak_sse_assist.s05-Oct-2017925
peaktest.c05-Oct-2017797
peakval.c05-Oct-2017750
peakval_av.c05-Oct-20171.7K
peakval_mmx.c05-Oct-2017533
peakval_mmx_assist.s05-Oct-20171.3K
peakval_port.c05-Oct-2017274
peakval_sse.c05-Oct-2017540
peakval_sse2.c05-Oct-2017544
peakval_sse2_assist.s05-Oct-20171K
peakval_sse_assist.s05-Oct-2017953
README05-Oct-20174.6K
rs-common.h05-Oct-2017935
rs.305-Oct-20177.6K
rs_speedtest.c05-Oct-20171.5K
rstest.c05-Oct-20177.3K
sim.c05-Oct-20171,016
simd-viterbi.305-Oct-201710.3K
sqtest.c05-Oct-2017883
sse2bfly27.s05-Oct-20175.5K
sse2bfly29.s05-Oct-20175.8K
ssebfly27.s05-Oct-20174.7K
ssebfly29.s05-Oct-20176.5K
sumsq.c05-Oct-2017841
sumsq_av.c05-Oct-20172.4K
sumsq_mmx.c05-Oct-2017849
sumsq_mmx_assist.s05-Oct-20171.7K
sumsq_port.c05-Oct-2017371
sumsq_sse2.c05-Oct-2017810
sumsq_sse2_assist.s05-Oct-20171.2K
sumsq_test.c05-Oct-20172K
viterbi27.c05-Oct-20173.4K
viterbi27_av.c05-Oct-20176.7K
viterbi27_mmx.c05-Oct-20172.9K
viterbi27_port.c05-Oct-20174.6K
viterbi27_sse.c05-Oct-20172.9K
viterbi27_sse2.c05-Oct-20175.4K
viterbi29.c05-Oct-20173.3K
viterbi29_av.c05-Oct-20175.7K
viterbi29_mmx.c05-Oct-20172.9K
viterbi29_port.c05-Oct-20174.1K
viterbi29_sse.c05-Oct-20173K
viterbi29_sse2.c05-Oct-20173.1K
viterbi39.c05-Oct-20173.3K
viterbi39_av.c05-Oct-20178.7K
viterbi39_mmx.c05-Oct-20175.5K
viterbi39_port.c05-Oct-20174.3K
viterbi39_sse.c05-Oct-20176K
viterbi39_sse2.c05-Oct-20176.3K
viterbi615.c05-Oct-20173.4K
viterbi615_av.c05-Oct-20178.9K
viterbi615_mmx.c05-Oct-20175.5K
viterbi615_port.c05-Oct-20174.3K
viterbi615_sse.c05-Oct-20176.2K
viterbi615_sse2.c05-Oct-20176.6K
vtest27.c05-Oct-20174.7K
vtest29.c05-Oct-20174.7K
vtest39.c05-Oct-20174.8K
vtest615.c05-Oct-20175K

README

      1 COPYRIGHT
      2 
      3 This package is copyright 2006 by Phil Karn, KA9Q. It may be used
      4 under the terms of the GNU Lesser General Public License (LGPL). See
      5 the file "lesser.txt" in this package for license details.
      6 
      7 INTRODUCTION
      8 
      9 This package provides a set of functions that implement several
     10 popular forward error correction (FEC) algorithms and several low-level routines
     11 useful in modems implemented with digital signal processing (DSP).
     12 
     13 The following routines are provided:
     14 
     15 1. Viterbi decoders for the following convolutional codes:
     16 
     17 r=1/2 k=7 ("Voyager" code, now a widely used industry standard)
     18 r=1/2 k=9 (Used on the IS-95 CDMA forward link)
     19 r=1/6 k=15 ("Cassini" code, used by several NASA/JPL deep space missions)
     20 
     21 2. Reed-Solomon encoders and decoders for any user-specified code.
     22 
     23 3. Optimized encoder and decoder for the CCSDS-standard (255,223)
     24 Reed-Solomon code, with and without the CCSDS-standard "dual basis"
     25 symbol representation.
     26 
     27 4. Compute dot product between a 16-bit buffer and a set of 16-bit
     28 coefficients. This is the basic DSP primitive for digital filtering
     29 and correlation.
     30 
     31 4. Compute sum of squares of a buffer of 16-bit signed integers. This is
     32 useful in DSP for finding the total energy in a signal.
     33 
     34 5. Find peak value in a buffer of 16-bit signed integers, useful for
     35 scaling a signal to prevent overflow.
     36 
     37 SIMD SUPPORT
     38 
     39 This package automatically makes use of various SIMD (Single
     40 Instruction stream, Multiple Data stream) instruction sets, when
     41 available: MMX, SSE and SSE2 on the IA-32 (Intel) architecture, and
     42 Altivec on the PowerPC G4 and G5 used by Power Macintoshes.
     43 
     44 "Altivec" is a Motorola trademark; Apple calls it "Velocity Engine",
     45 and IBM calls it "VMX". Altivec is roughly comparable to SSE2 on the
     46 IA-32.
     47 
     48 Many of the SIMD versions run more than an order of
     49 magnitude faster than their portable C versions. The available SIMD
     50 instruction sets, if any, are determined at run time and the proper
     51 version of each routine is automatically selected. If no SIMD
     52 instructions are available, the portable C version is invoked by
     53 default. On targets other than IA-32 and PPC, only the portable C
     54 version is built.
     55 
     56 The SIMD-assisted versions generally produce the same results as the C
     57 versions, with a few minor exceptions. The Viterbi decoders in C have
     58 a very slightly greater Eb/No performance due to their use of 32-bit
     59 path metrics. On the other hand, the SIMD versions use the
     60 "saturating" arithmetic available in these instructions to avoid the
     61 integer wraparounds that can occur in C when argument ranges are not
     62 properly constrained. This applies primarily to the "dotprod" (dot
     63 product) function.
     64 
     65 The MMX (MultiMedia eXtensions) instruction set was introduced on
     66 later Pentium CPUs; it is also implemented on the Pentium II and most
     67 AMD CPUs starting with the K6. SSE (SIMD Streaming Extensions) was
     68 introduced in the Pentium III; AMD calls it "3D Now! Professional".
     69 Intel introduced SSE2 on the Pentium 4, and it has been picked up by
     70 later AMD CPUs. SSE support implies MMX support, while SSE2 support
     71 implies both SSE and MMX support.
     72 
     73 The latest IA-32 SIMD instruction set, SSE3 (also known as "Prescott
     74 New Instructions") was introduced in early 2004 with the latest
     75 ("Prescott") revision of the Pentium 4. Relatively little was
     76 introduced with SSE3, and this library currently makes no use of it.
     77 
     78 See the various manual pages for details on how to use the library
     79 routines.
     80 
     81 Copyright 2006, Phil Karn, KA9Q
     82 karn (a] ka9q.net
     83 http://www.ka9q.net/
     84 
     85 This software may be used under the terms of the GNU Lesser General
     86 Public License (LGPL); see the file lesser.txt for details.
     87 
     88 Revision history:
     89 Version 1.0 released 29 May 2001
     90 
     91 Version 2.0 released 3 Dec 2001:
     92 Restructured to add support for shared libraries.
     93 
     94 Version 2.0.1 released 8 Dec 2001:
     95 Includes autoconf/configure script
     96 
     97 Version 2.0.2 released 4 Feb 2002:
     98 Add SIMD version override options
     99 Test for lack of SSE2 mnemonic support in 'as'
    100 Build only selected version
    101 
    102 Version 2.0.3 released 6 Feb 2002:
    103 Fix to parityb function in parity.h
    104 
    105 feclib version 1.0 released November 2003
    106 Merged SIMD-Viterbi, RS and DSP libraries
    107 Changed SIMD Viterbi decoder to detect SSE2/SSE/MMX at runtime rather than build time
    108 
    109 feclib version 2.0 (unreleased) Mar 2004
    110 General speedups and cleanups
    111 Switch from 4 to 8-bit input symbols on all Viterbi decoders
    112 Support for Altivec on PowerPC
    113 Support for k=15 r=1/6 Cassini/Mars Pathfinder/Mars Exploration Rover/STEREO code
    114 Changed license to GNU Lesser General Public License (LGPL)
    115 
    116 feclib version 2.1 June 5 2006
    117 Added error checking, fixed alignment bug in SSE2 versions of Viterbi decoders causing segfaults
    118 
    119 feclib version 2.1.1 June 6 2006
    120 Fix test/benchmark time measurement on Linux
    121