I had some time to kill on the plane and train from VDD back home and
decided to spend it on refactoring dcadec.c so we don't get yet another
monolithic monster when we eventually merge the DCA XLL extension
decoder.
The anonymously typedeffed struct stuff had been on my todo list forever,
I already addressed all instances in header files before. Here I had to
move another instance to a header file, so I decided to whip up a few
emacs macros and kill all remaining instances for good, instead of just
updating one before, during, or after the move.
The size and compilation time of dcadec.c is decreased by roughly one third.
The typedef patches can (and probably should) be squashed together when
pushing, I split them as they are a pain to review otherwise.
Diego Biurrun (8):
caf: Give context structure a consistent name
avformat: Don't anonymously typedef structs
avcodec: Don't anonymously typedef structs
Don't anonymously typedef structs
dca: Split code for handling the EXSS extension off into a separate
file
dca: Return more informative error codes
dca: Remove trace debugging code
dca: Move all tables into dcadata.h
avprobe.c | 4 +-
libavcodec/Makefile | 2 +-
libavcodec/aacpsy.c | 2 +-
libavcodec/ac3dec.c | 2 +-
libavcodec/alac.c | 2 +-
libavcodec/alsdec.c | 8 +-
libavcodec/amrwbdec.c | 2 +-
libavcodec/ansi.c | 2 +-
libavcodec/atrac1.c | 4 +-
libavcodec/avs.c | 3 +-
libavcodec/binkaudio.c | 2 +-
libavcodec/bitstream.c | 2 +-
libavcodec/c93.c | 2 +-
libavcodec/cdxl.c | 2 +-
libavcodec/cinepak.c | 4 +-
libavcodec/cook.c | 4 +-
libavcodec/cscd.c | 2 +-
libavcodec/dca.h | 149 +++++++++
libavcodec/dca_exss.c | 322 +++++++++++++++++++
libavcodec/dca_exss.h | 28 ++
libavcodec/dcadata.h | 89 +++++
libavcodec/dcadec.c | 679 +--------------------------------------
libavcodec/elbg.c | 2 +-
libavcodec/g723_1.c | 4 +-
libavcodec/gif.c | 2 +-
libavcodec/huffman.c | 2 +-
libavcodec/idcinvideo.c | 3 +-
libavcodec/iff.c | 2 +-
libavcodec/imc.c | 2 +-
libavcodec/kgv1dec.c | 2 +-
libavcodec/libopenjpegdec.c | 2 +-
libavcodec/libopenjpegenc.c | 2 +-
libavcodec/libspeexdec.c | 2 +-
libavcodec/libspeexenc.c | 2 +-
libavcodec/mimic.c | 2 +-
libavcodec/nuv.c | 2 +-
libavcodec/proresdec.c | 4 +-
libavcodec/qcelpdec.c | 2 +-
libavcodec/qdm2.c | 12 +-
libavcodec/ra288.c | 2 +-
libavcodec/roqaudioenc.c | 3 +-
libavcodec/roqvideoenc.c | 12 +-
libavcodec/rv34_parser.c | 2 +-
libavcodec/sipr.c | 2 +-
libavcodec/srtdec.c | 2 +-
libavcodec/svq3.c | 2 +-
libavcodec/truespeech.c | 2 +-
libavcodec/vble.c | 2 +-
libavcodec/vc1_parser.c | 2 +-
libavcodec/vc1dec.c | 2 +-
libavcodec/vorbisdec.c | 10 +-
libavcodec/vorbisenc.c | 14 +-
libavcodec/wmalosslessdec.c | 2 +-
libavcodec/wmaprodec.c | 4 +-
libavcodec/wmavoice.c | 2 +-
libavcodec/zerocodec.c | 2 +-
libavformat/adtsenc.c | 2 +-
libavformat/aiffdec.c | 2 +-
libavformat/aiffenc.c | 2 +-
libavformat/anm.c | 4 +-
libavformat/ape.c | 4 +-
libavformat/asfdec.c | 2 +-
libavformat/asfenc.c | 2 +-
libavformat/avidec.c | 2 +-
libavformat/avienc.c | 4 +-
libavformat/bink.c | 2 +-
libavformat/c93.c | 4 +-
libavformat/cafdec.c | 16 +-
libavformat/crypto.c | 2 +-
libavformat/dxa.c | 2 +-
libavformat/eacdata.c | 2 +-
libavformat/filmstripdec.c | 2 +-
libavformat/filmstripenc.c | 2 +-
libavformat/flvdec.c | 2 +-
libavformat/gif.c | 4 +-
libavformat/gopher.c | 2 +-
libavformat/gsmdec.c | 2 +-
libavformat/http.c | 2 +-
libavformat/iff.c | 2 +-
libavformat/img2.c | 2 +-
libavformat/img2dec.c | 2 +-
libavformat/img2enc.c | 2 +-
libavformat/iss.c | 2 +-
libavformat/jvdec.c | 4 +-
libavformat/latmenc.c | 2 +-
libavformat/lxfdec.c | 2 +-
libavformat/matroskadec.c | 40 +--
libavformat/matroskaenc.c | 6 +-
libavformat/mm.c | 2 +-
libavformat/mmf.c | 2 +-
libavformat/mmsh.c | 2 +-
libavformat/mmst.c | 2 +-
libavformat/mpc.c | 4 +-
libavformat/mpc8.c | 2 +-
libavformat/mpegenc.c | 4 +-
libavformat/mpegts.c | 4 +-
libavformat/mxfdec.c | 24 +-
libavformat/mxfenc.c | 8 +-
libavformat/nsvdec.c | 4 +-
libavformat/nuv.c | 2 +-
libavformat/oggenc.c | 6 +-
libavformat/paf.c | 2 +-
libavformat/pva.c | 2 +-
libavformat/qcp.c | 2 +-
libavformat/r3d.c | 4 +-
libavformat/rmdec.c | 2 +-
libavformat/rmenc.c | 4 +-
libavformat/rtpdec_mpeg4.c | 2 +-
libavformat/rtpdec_qcelp.c | 2 +-
libavformat/seek.c | 2 +-
libavformat/segafilm.c | 2 +-
libavformat/segment.c | 2 +-
libavformat/sierravmd.c | 2 +-
libavformat/smoothstreamingenc.c | 6 +-
libavformat/soxenc.c | 2 +-
libavformat/tls.c | 2 +-
libavformat/tta.c | 2 +-
libavformat/tty.c | 2 +-
libavformat/udp.c | 2 +-
libavformat/wtv.c | 6 +-
libavformat/wvdec.c | 2 +-
libavformat/xwma.c | 2 +-
libavutil/file.c | 2 +-
libavutil/parseutils.c | 6 +-
124 files changed, 801 insertions(+), 891 deletions(-)
create mode 100644 libavcodec/dca_exss.c
create mode 100644 libavcodec/dca_exss.h
--
1.9.1
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel