aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mov_chan.h
Commit message (Collapse)AuthorAgeFilesLines
* avformat/mov_chan: add support for omitted_channel bitmask in chnl atomMarton Balint2024-04-091-1/+1
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/mov_chan: respect channel order when parsing and creating chnl atomMarton Balint2024-04-091-2/+3
| | | | | | | | Previously we always assumed that the channels are in native order, even if they were not. The new channel layout API allows us to signal the proper channel order, so let's do so. Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/mov_chan: rework ff_mov_read_chnlMarton Balint2024-02-181-6/+0
| | | | | | | | | | | A lot of changes and fixes to channel layout parsing, notably - get rid of dynamic allocation of channel positions - signal unimplemented speaker positions as unknown instead of failure, but warn the user about it - native order, and that a single channel only appears once was always assumed for less than 64 channels, obviously this was incorrect Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/mov: factorize reading the main part of the chnl atom to mov_chanMarton Balint2024-02-181-0/+10
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/mov: parse ISO-14496-12 ChannelLayoutZhao Zhili2023-03-151-0/+26
| | | | | | Only support chnl version 0 now. Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
* avformat/mov_chan: move the definition of MovChannelLayoutTag to the headerJames Almer2022-04-051-0/+104
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/movenc: write channel descriptions when a known layout or a bitmap ↵James Almer2022-04-051-3/+5
| | | | | | | | can't be used Fixes part of ticket #2865 Signed-off-by: James Almer <jamrial@gmail.com>
* mov: convert to new channel layout APIVittorio Giovara2022-03-151-1/+2
| | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/mov_chan: Make ff_mov_get_channel_layout() staticAndreas Rheinhardt2021-09-081-9/+0
| | | | | | Possible since 3bab7cd12802dc5abf2c5cc6dec49e9e249ce204. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* lavf/mov_chan: avoid avcodec.h dependencyAnton Khirnov2021-06-101-1/+1
|
* Reinstate proper FFmpeg license for all files.Thilo Borgmann2013-08-301-4/+4
|
* mov_chan: Pass a separate AVIOContext for readingSamuel Pitoiset2012-09-071-1/+3
| | | | | | | This fixes crashes when called from rtpdec_qt, where AVFormatContext->pb is null, a crash present since 3bab7cd128. Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-1/+1
|
* avformat: move 'chan' tag parsing to mov_chan.c to share with the CAF demuxerJustin Ruggles2012-07-191-8/+11
|
* doxygen: Remove documentation for non-existing parameters; misc small fixes.Diego Biurrun2012-02-281-2/+2
|
* mov: Support MOV_CH_LAYOUT_USE_DESCRIPTIONS for labeled descriptions.Alex Converse2012-01-051-0/+8
|
* mov: add support for reading and writing the 'chan' tagJustin Ruggles2011-12-091-0/+55
This implements reading the tag in the demuxer and adds support for writing it in the muxer. Some example channel layout tables for muxing are included for ac3, aac, and alac, but they are not utilized yet.