summaryrefslogtreecommitdiff
path: root/libavformat/spdifenc.c
Commit message (Collapse)AuthorAge
...
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-17
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: ffmpeg: fix some indentation ffmpeg: fix operation with --disable-avfilter simple_idct: remove disabled code motion_est: remove disabled code vc1: remove disabled code fate: separate lavf-mxf_d10 test from lavf-mxf cabac: Move code only used in the cabac test program to cabac.c. ffplay: warn that -pix_fmt is no longer working, suggest alternative ffplay: warn that -s is no longer working, suggest alternative lavf: rename enc variable in utils.c:has_codec_parameters() lavf: use designated initialisers for all (de)muxers. wav: remove a use of deprecated AV_METADATA_ macro rmdec: remove useless ap parameter from rm_read_header_old() dct-test: remove write-only variable des: fix #if conditional around P_shuffle Use LOCAL_ALIGNED in ff_check_alignment() Conflicts: ffmpeg.c libavformat/avidec.c libavformat/matroskaenc.c libavformat/mp3enc.c libavformat/oggenc.c libavformat/utils.c tests/ref/lavf/mxf Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: use designated initialisers for all (de)muxers.Anton Khirnov2011-07-17
| | | | | | | | It's more readable and less prone to breakage.
| * lavf: use designated initializers for AVClasses.Anton Khirnov2011-05-17
| |
| * AVOptions: make default_val a union, as proposed in AVOption2.Anton Khirnov2011-05-10
| | | | | | | | This breaks API and ABI.
* | Merge commit '85770f2a2651497861ed938efcd0df3696ff5e45'Michael Niedermayer2011-05-01
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '85770f2a2651497861ed938efcd0df3696ff5e45': AVOptions: make default_val a union, as proposed in AVOption2. Move ff_dynarray_add to lavu and make it public. lavf: remove duplicate assignment in avformat_alloc_context. lavf: use designated initializers for AVClasses. options: simplify av_find_opt by using av_next_option. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | AVOptions: make default_val a union, as proposed in AVOption2.Anton Khirnov2011-04-30
| | | | | | | | | | | | This breaks API and ABI.
| * | lavf: use designated initializers for AVClasses.Anton Khirnov2011-04-29
| |/
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
|/ | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avio: rename put_flush_packet -> avio_flushAnton Khirnov2011-03-16
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* spdifenc.c: fix compile because of missing include avio_internal.h.Ronald S. Bultje2011-02-21
|
* avio: make put_nbyte internal.Anton Khirnov2011-02-21
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio: avio_ prefixes for put_* functionsAnton Khirnov2011-02-21
| | | | | | | | | | | | In the name of consistency: put_byte -> avio_w8 put_<type> -> avio_w<type> put_buffer -> avio_write put_nbyte will be made private put_tag will be merged with avio_put_str Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: rename ByteIOContext to AVIOContext.Anton Khirnov2011-02-20
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* spdifenc: set flag AVFMT_NOTIMESTAMPSAnssi Hannula2011-02-16
| | | | | | There are no timestamps in IEC 61937. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* spdifenc: update 482d98f69b2eb7a7b0b5054101a43db384e9432b to the latest patchJanne Grunau2011-02-16
| | | | "spdifenc: IEC 61937 encapsulation of DTS-HD for HDMI"
* spdifenc: fix byte order on big-endian systemsAnssi Hannula2011-02-13
| | | | | | | | | | | | | | | | | | | There is a check for HAVE_BIGENDIAN when outputting the IEC 61937 stream. On big-endian systems the payload data is not byteswapped, causing in effect the outputted payload data to be in a different byte order on big-endian than on little-endian systems. However, the IEC 61937 preamble (and the final odd byte if present) is always outputted in the same byte order. This means that on big-endian systems the headers have a different byte order than the payload, preventing useful use of the output. Fix that by outputting the data in a format suitable for sending to an audio device in S16LE format by default. Output as big-endian (S16BE) is added as an AVOption. This makes the muxer output the same on all archs by default. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* spdifenc: IEC 61937 encapsulation of DTS-HD for HDMIAnssi Hannula2011-02-13
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-26
| | | | | This also lists the objects from those two libraries as internal (by adding the ff_ prefix) so that they can then be hidden via linker scripts.
* Use new function put_nbyte() to speed up padding.Anssi Hannula2011-01-02
| | | | | | Patch by Anssi Hannula, anssi d hannula a iki d fi Originally committed as revision 26194 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: Re-indent after last commit.Carl Eugen Hoyos2010-12-29
| | | | Originally committed as revision 26161 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not add the preamble if the DTS stream is already padded, like DTS inAnssi Hannula2010-12-29
| | | | | | | | | wav. In that case, DTS can be transmitted through S/PDIF without the IEC 61937 headers. Patch by Anssi Hannula, anssi d hannula a iki d fi Originally committed as revision 26160 to svn://svn.ffmpeg.org/ffmpeg/trunk
* s/IEC958/IEC 61937 - IEC958 is a lower level format.Anssi Hannula2010-12-29
| | | | | | Patch by Anssi Hannula, anssi d hannula a iki d fi Originally committed as revision 26141 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix wrong bitstream mode for AC-3.Anssi Hannula2010-12-29
| | | | | | | | Noticed by CrystalP from XBMC. Patch by Anssi Hannula, anssi d hannula a iki d fi Originally committed as revision 26130 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Improve error return values.Anssi Hannula2010-12-29
| | | | | | Patch by Anssi Hannula, anssi d hannula a iki d fi Originally committed as revision 26129 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Always encapsulate DTS in big-endian format, at least some receiversAnssi Hannula2010-12-29
| | | | | | | | require that. Patch by Anssi Hannula, anssi d hannula a iki d fi Originally committed as revision 26128 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add Anssi and myself to the authors in doxygen.Anssi Hannula2010-12-29
| | | | | | Patch by Anssi Hannula, anssi d hannula a iki d fi Originally committed as revision 26127 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add copyright notices for the E-AC3 and TrueHD parts of the muxer.Carl Eugen Hoyos2010-11-27
| | | | Originally committed as revision 25835 to svn://svn.ffmpeg.org/ffmpeg/trunk
* IEC 61937 encapsulation of TrueHD for HDMI passthrough.Anssi Hannula2010-11-27
| | | | | | | | This works at least for some people testing it. Patch by Anssi Hannula, anssi d hannula a iki fi Originally committed as revision 25834 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l: Fix crash in SPDIF muxer.Carl Eugen Hoyos2010-11-17
| | | | Originally committed as revision 25762 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for IEC 61937 ("SPDIF") encapsulation for E-AC-3.Carl Eugen Hoyos2010-11-17
| | | | | | | | | Only works via HDMI. Patch by Anssi Hannula (anssi d hannula a iki d fi), based on some work by myself. Originally committed as revision 25760 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move code to be used by the IEC 61937 demuxer from spifenc.c into commonAnssi Hannula2010-11-10
| | | | | | | | files spdif.h and spdif.c. Patch by Anssi Hannula, anssi d hannula a iki d fi Originally committed as revision 25715 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename spdif.c as spdifenc,c to prepare for future spdif demuxer.Anssi Hannula2010-11-09
Patch by Anssi Hannula, anssi d hannula a iki d fi Originally committed as revision 25713 to svn://svn.ffmpeg.org/ffmpeg/trunk