Statistics
| Branch: | Revision:

ffmpeg / libavformat / spdifenc.c @ 51e7c932

History | View | Annotate | Download (19.4 KB)

# Date Author Comment
51e7c932 02/22/2011 01:44 AM Ronald S. Bultje

spdifenc.c: fix compile because of missing include avio_internal.h.
(cherry picked from commit 0f86fcabdf74f658323140111dfd4de83f7f2eee)

2df9d000 02/22/2011 01:44 AM Anton Khirnov

avio: make put_nbyte internal.

Signed-off-by: Ronald S. Bultje <>
(cherry picked from commit 0ac8e2bf2bf3d636241bf2811018d9974687a63c)

e9eb8d0b 02/22/2011 01:44 AM Anton Khirnov

avio: avio: avio_ prefixes for put_* functions

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 <>...

471fe57e 02/20/2011 06:05 PM Anton Khirnov

avio: rename ByteIOContext to AVIOContext.

Signed-off-by: Ronald S. Bultje <>
(cherry picked from commit ae628ec1fd7f54c102bf9e667a3edd404b9b9128)

2613c811 02/18/2011 06:52 PM Anssi Hannula

spdifenc: set flag AVFMT_NOTIMESTAMPS

There are no timestamps in IEC 61937.

Signed-off-by: Janne Grunau <>
(cherry picked from commit 6c60fcf89afc84c9dc863669d78e611d7c72fe41)

fabb93e3 02/16/2011 10:00 PM Janne Grunau

spdifenc: update 482d98f69b2eb7a7b0b5054101a43db384e9432b to the latest patch

"spdifenc: IEC 61937 encapsulation of DTS-HD for HDMI"
(cherry picked from commit ec25f83bd98e10c023e6c7b07da1dcfc4d80cefc)

af1e8ffd 02/14/2011 10:58 PM Anssi Hannula

spdifenc: fix byte order on big-endian systems

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....

ec0a6889 02/14/2011 10:58 PM Anssi Hannula

spdifenc: IEC 61937 encapsulation of DTS-HD for HDMI

Signed-off-by: Janne Grunau <>
(cherry picked from commit 482d98f69b2eb7a7b0b5054101a43db384e9432b)

66355be3 01/28/2011 02:15 AM Diego Elio Pettenò

Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.

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.
(cherry picked from commit c6610a216ed2948885772154a2eed696e0cb4aca)

febd72be 01/02/2011 10:46 AM Anssi Hannula

Use new function put_nbyte() to speed up padding.

Patch by Anssi Hannula, anssi d hannula a iki d fi

Originally committed as revision 26194 to svn://svn.ffmpeg.org/ffmpeg/trunk

548b97a6 12/29/2010 11:43 PM Carl Eugen Hoyos

Cosmetics: Re-indent after last commit.

Originally committed as revision 26161 to svn://svn.ffmpeg.org/ffmpeg/trunk

cc6c0c7b 12/29/2010 11:42 PM Anssi Hannula

Do not add the preamble if the DTS stream is already padded, like DTS in
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

d8e481bb 12/29/2010 06:48 PM Anssi Hannula

s/IEC958/IEC 61937 - IEC958 is a lower level format.

Patch by Anssi Hannula, anssi d hannula a iki d fi

Originally committed as revision 26141 to svn://svn.ffmpeg.org/ffmpeg/trunk

836132ec 12/29/2010 04:48 PM Anssi Hannula

Fix wrong bitstream mode for AC-3.
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

a4c8e0a8 12/29/2010 04:42 PM Anssi Hannula

Improve error return values.

Patch by Anssi Hannula, anssi d hannula a iki d fi

Originally committed as revision 26129 to svn://svn.ffmpeg.org/ffmpeg/trunk

97790352 12/29/2010 04:34 PM Anssi Hannula

Always encapsulate DTS in big-endian format, at least some receivers
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

e5e932e8 12/29/2010 04:30 PM Anssi Hannula

Add Anssi and myself to the authors in doxygen.

Patch by Anssi Hannula, anssi d hannula a iki d fi

Originally committed as revision 26127 to svn://svn.ffmpeg.org/ffmpeg/trunk

25a08596 11/27/2010 06:10 PM Carl Eugen Hoyos

Add copyright notices for the E-AC3 and TrueHD parts of the muxer.

Originally committed as revision 25835 to svn://svn.ffmpeg.org/ffmpeg/trunk

323e3f8b 11/27/2010 06:08 PM Anssi Hannula

IEC 61937 encapsulation of TrueHD for HDMI passthrough.
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

4b6bfbe2 11/17/2010 11:23 PM Carl Eugen Hoyos

100l: Fix crash in SPDIF muxer.

Originally committed as revision 25762 to svn://svn.ffmpeg.org/ffmpeg/trunk

909865fd 11/17/2010 12:22 PM Carl Eugen Hoyos

Add support for IEC 61937 ("SPDIF") encapsulation for E-AC-3.
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

8079d2ec 11/10/2010 12:04 AM Anssi Hannula

Move code to be used by the IEC 61937 demuxer from spifenc.c into common
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

8cceef16 11/09/2010 11:57 PM Anssi Hannula

Rename spdif.c as spdifenc,c to prepare for future spdif demuxer.

Patch by Anssi Hannula, anssi d hannula a iki d fi

Originally committed as revision 25713 to svn://svn.ffmpeg.org/ffmpeg/trunk