summaryrefslogtreecommitdiff
path: root/libavcodec/codec_desc.c
Commit message (Collapse)AuthorAgeFilesLines
* lavc/codec_desc: add a property for codecs that support field codingAnton Khirnov2023-05-151-4/+12
| | | | | | | Multiple places currently use AVCodecContext.ticks_per_frame > 1 to identify such codecs, which * requires a codec context * requires it to be open
* avcodec: add PDV decoderPaul B Mahol2023-04-201-0/+7
|
* lavc/codec_desc.c: remove AV_CODEC_PROP_TEXT_SUB property from ARIB_CAPTIONTADANO Tokumei2023-03-281-1/+0
| | | | | | | | | | | | | | To support bitmap subtitle output, remove AV_CODEC_PROP_TEXT_SUB property from codec descriptor for AV_CODEC_ID_ARIB_CAPTION. This is similar to `libavcodec/libzvbi-teletextdec.c` (AV_CODEC_ID_DVB_TELETEXT). Instead, each subtitle decoder has to specify a subtitile format. `libavcodec/libaribb24.c` uses same AV_CODEC_ID_ARIB_CAPTION and expects AV_CODEC_PROP_TEXT_SUB to be set, so this adds a line to specify a format there. Signed-off-by: rcombs <rcombs@rcombs.me>
* avcodec: add SMPTE 2038 VANC data codec used in MPEG-TS streamsDevin Heitmueller2023-03-261-0/+6
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avcodec/mlpdec: add detection of Atmos spatial extension profile in TrueHDMarth642023-03-021-0/+1
| | | | Signed-off-by: Marth64 <marth64@proxyid.net>
* avcodec/eac3dec: add detection of Atmos spatial extension profileMarth642023-03-021-0/+1
| | | | Signed-off-by: Marth64 <marth64@proxyid.net>
* avcodec: add RKA decoderPaul B Mahol2023-02-111-0/+7
|
* avcodec: add WavArc decoderPaul B Mahol2023-02-041-0/+7
|
* lavc: add null codecsAnton Khirnov2023-01-311-0/+12
| | | | | They discard all input without ever returning any output. Useful for development.
* avcodec: add ADPCM XMD decoderPaul B Mahol2023-01-301-0/+7
|
* avcodec: add CBD2 DPCM decoderPaul B Mahol2023-01-271-0/+7
|
* avcodec: add WADY DPCM decoderPaul B Mahol2023-01-241-0/+7
|
* avcodec: ViewQuest VQC decoderPeter Ross2022-10-181-0/+7
| | | | | | Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Reviewed-by: Tomas Härdin <git@haerdin.se> Signed-off-by: Peter Ross <pross@xvid.org>
* avcodec: add Media 100i decoderPaul B Mahol2022-09-301-0/+7
|
* avcodec: add FTR audio decoder and parserPaul B Mahol2022-09-241-0/+7
|
* avcodec: add APAC decoderPaul B Mahol2022-09-231-0/+7
|
* avcodec: add MI-SC4 audio decoderPaul B Mahol2022-09-161-0/+7
|
* avcodec: add bonk audio decoderPaul B Mahol2022-09-121-0/+7
|
* The vuya pixel format was recently added, so this lavc workaround is no longerJames Almer2022-08-191-0/+2
| | | | | | needed. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: WBMP (Wireless Application Protocol Bitmap) image formatPeter Ross2022-08-071-0/+7
| | | | | Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: Peter Ross <pross@xvid.org>
* avcodec: add Radiance HDR image format supportPaul B Mahol2022-07-161-0/+7
|
* avcodec: add PHM decoder and encoderPaul B Mahol2022-07-031-0/+7
|
* avcodec: add QOI decoder and demuxer and parser and encoder and muxerPaul B Mahol2022-06-051-0/+7
|
* avcodec/jpegxl: add Jpeg XL image codecLeo Izen2022-04-231-0/+9
| | | | | | This commit adds support to libavcodec to read encoded Jpeg XL images. Jpeg XL is intended to be an extended-life replacement to legacy mjpeg.
* avcodec/vbndec: add VBN decoderMarton Balint2022-04-101-0/+7
| | | | | | | | Add support for decoding Vizrt Binary Image (VBN) files. LZW-compressed data is not supported yet. Signed-off-by: Marton Balint <cus@passwd.hu>
* avcodec: add DFPWM1a codecJack Bruienne2022-03-101-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From the wiki page (https://wiki.vexatos.com/dfpwm): > DFPWM (Dynamic Filter Pulse Width Modulation) is an audio codec > created by Ben “GreaseMonkey” Russell in 2012, originally to be used > as a voice codec for asiekierka's pixmess, a C remake of 64pixels. > It is a 1-bit-per-sample codec which uses a dynamic-strength one-pole > low-pass filter as a predictor. Due to the fact that a raw DPFWM decoding > creates a high-pitched whine, it is often followed by some post-processing > filters to make the stream more listenable. It has recently gained popularity through the ComputerCraft mod for Minecraft, which added support for audio through this codec, as well as the Computronics expansion which preceeded the official support. These both implement the slightly adjusted 1a version of the codec, which is the version I have chosen for this patch. This patch adds a new codec (with encoding and decoding) for DFPWM1a. The codec sources are pretty simple: they use the reference codec with a basic wrapper to connect it to the FFmpeg AVCodec system. To clarify, the codec does not have a specific sample rate - it is provided by the container (or user), which is typically 48000, but has also been known to be 32768. The codec does not specify channel info either, and it's pretty much always used with one mono channel. However, since it appears that libavcodec expects both sample rate and channel count to be handled by either the codec or container, I have made the decision to allow multiple channels interleaved, which as far as I know has never been used, but it works fine here nevertheless. The accompanying raw format has a channels option to set this. (I expect most users of this will not use multiple channels, but it remains an option just in case.) This patch will be highly useful to ComputerCraft developers who are working with audio, as it is the standard format for audio, and there are few user-friendly encoders out there, and even fewer decoders. It will streamline the process for importing and listening to audio, replacing the need to write code or use tools that require very specific input formats. You may use the CraftOS-PC program (https://www.craftos-pc.cc) to test out DFPWM playback. To use it, run the program and type this command: "attach left speaker" Then run "speaker play <file.dfpwm>" for each file. The app runs in a sandbox, so files have to be transferred in first; the easiest way to do this is to simply drag the file on the window. (Or copy files to the folder at https://www.craftos-pc.cc/docs/saves.) Sample DFPWM files can be generated with an online tool at https://music.madefor.cc. This is the current best way to encode DFPWM files. Simply drag an audio file onto the page, and it will encode it, giving a download link on the page. I've made sure to update all of the docs as per Developer§7, and I've tested it as per section 8. Test files encoded to DFPWM play correctly in ComputerCraft, and other files that work in CC are correctly decoded. I have also verified that corrupt files do not crash the decoder - this should theoretically not be an issue as the result size is constant with respect to the input size. Signed-off-by: Jack Bruienne <jackbruienne@gmail.com>
* Remove unnecessary libavutil/(avutil|common|internal).h inclusionsAndreas Rheinhardt2022-02-241-1/+2
| | | | | | | | | | Some of these were made possible by moving several common macros to libavutil/macros.h. While just at it, also improve the other headers a bit. Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec: GEM Raster image decoderPeter Ross2021-10-081-0/+7
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Peter Ross <pross@xvid.org>
* avcodec/codec_desc: Mark MLP as not being intra-onlyAndreas Rheinhardt2021-09-281-1/+1
| | | | | | It has sync frames. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/siren: MSN Siren decoderPeter Ross2021-09-071-0/+7
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Peter Ross <pross@xvid.org>
* Remove obsolete version.h inclusionsAndreas Rheinhardt2021-07-221-1/+0
| | | | | | | These have mostly been added because of FF_API_*; yet when these were removed, removing the header has been forgotten. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec: Implement Acorn Replay IMA ADPCM decoderCameron Cawley2021-05-091-0/+7
| | | | Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
* avcodec: add SGA Video decoderPaul B Mahol2021-03-011-0/+7
|
* avcodec: add SGA PCM decoderPaul B Mahol2021-03-011-0/+7
|
* avcodec: add Simbiosis IMX video decoderPaul B Mahol2021-02-201-0/+7
|
* avcodec: add vvc codec id and profilesNuo Mi2021-01-111-0/+8
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/codec_desc: describe AV_CODEC_ID_MPEG2TSAman Karmani2020-12-281-0/+7
| | | | Signed-off-by: Aman Karmani <aman@tmm1.net>
* codec_desc: add SMVJPEG flagsAnton Khirnov2020-12-101-0/+1
| | | | Same flags as MJPEG, as it's essentially the same codec.
* avcodec/msp2dec: Microsoft Paint (MSP) version 2 decoderPeter Ross2020-12-061-0/+7
| | | | Signed-off-by: Peter Ross <pross@xvid.org>
* avcodec: add Cintel RAW decoderPaul B Mahol2020-10-071-0/+7
|
* lavc: add AVS3 codec id and deschwren2020-10-051-0/+7
| | | | | Signed-off-by: hbj <hanbj@pku.edu.cn> Signed-off-by: hwren <hwrenx@126.com>
* avcodec: add Argonaut Games Video decoderPaul B Mahol2020-09-271-0/+7
|
* avcodec: add IPU Video decoder and parserPaul B Mahol2020-09-241-0/+7
|
* avcodec: add PhotoCD decoderPaul B Mahol2020-09-041-0/+7
|
* avcodec: add MobiClip video decoderPaul B Mahol2020-09-031-0/+7
|
* avcodec: add FastAudio decoderPaul B Mahol2020-09-031-0/+7
|
* avcodec: add ADPCM IMA MOFLEX decoderPaul B Mahol2020-09-031-0/+7
|
* avcodec: extend CFHD descriptionPaul B Mahol2020-08-141-1/+1
|
* codec_desc: drop the INTRA_ONLY property from TAKAnton Khirnov2020-07-071-1/+1
| | | | It has key frames and non-key frames, so it is not intra-only.
* libavcodec/pgxdec: Add PGX decoderGautam Ramakrishnan2020-07-031-0/+7
| | | | | | This patch adds a pgx decoder. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>