summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* avcodec: Document where the AVOption names can be found for the fields of ↵Michael Niedermayer2016-06-01
| | | | | | | | | | AVCodecContext Missing docs found by: nevcairiel RFC: should we add support so that the C field names always work as av option names/keys ? Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avocdec: add MagicYUV decoderPaul B Mahol2016-05-31
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/bmp_parser: Fix stateMichael Niedermayer2016-05-31
| | | | | | Fixes Ticket5598 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/nvenc: Refactor timestamp generation logicTimo Rothenpieler2016-05-31
| | | | Directly adapted from libav
* avcodec/nvenc: forward frame durationTimo Rothenpieler2016-05-31
|
* avcodec/nvenc: Handle minqp-only case in set_vbrTimo Rothenpieler2016-05-31
|
* avcodec/nvenc: twopass mode works in all modesTimo Rothenpieler2016-05-31
|
* avcodec/nvenc: Fix forcing constqp rc modeTimo Rothenpieler2016-05-31
| | | | The CONSTQP enum value is 0, so this check failed for it.
* avcodec/nvenc: don't enqueue timestamps until a frame was acceptedAndrey Turkin2016-05-31
| | | | | | Otherwise timestamps/pending FIFOs would go out of sync if nvEncodePicture ever fails. Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/nvenc: refactor encode_frame a bitAndrey Turkin2016-05-31
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/dca_parser: skip initial paddingfoo862016-05-31
| | | | | | | Padding before the first sync word can be very large for DTS-in-WAV streams. There is no reason to include this padding in parsed packet. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/dca_parser: simplify state machinefoo862016-05-31
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/dca: support EXSS marker in avpriv_dca_convert_bitstream()foo862016-05-31
| | | | | | | This is now required by dcadec_decode_frame(). All remaining users of avpriv_dca_convert_bitstream() have been updated to expect EXSS marker. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/dca: require checked bitstream readerfoo862016-05-31
| | | | | | | | | | | Remove half-working attempt at supporting unchecked bitstream reader by always copying input data into intermediate buffer with large amount of padding at the end. Convert LBR decoder to checked bitstream reader. Convert dcadec_decode_frame() to parse input data directly if possible. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/nvenc: extract timestamp calculations into separate functionAndrey Turkin2016-05-31
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/nvenc: rework library load and GPU selectionAndrey Turkin2016-05-31
| | | | | | | Use explicit nvenc capability checks instead to determine usable devices instead of SM versions. Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/nvenc: allow configuring number of surfacesAndrey Turkin2016-05-31
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/nvenc: use INIT_CLEANUP to deal with init failuresAndrey Turkin2016-05-31
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/nvenc: add rate control optionAndrey Turkin2016-05-31
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/nvenc: convert tier to AVOptionsAndrey Turkin2016-05-31
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/nvenc: convert levels to AVOptionsAndrey Turkin2016-05-31
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/nvenc: convert profile parsing to AVOptionsAndrey Turkin2016-05-31
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/nvenc: use AVOptions to select presetsAndrey Turkin2016-05-31
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/nvenc: split H264/HEVC encoder definitions into separate filesAndrey Turkin2016-05-31
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* aacpsy: remove dead codeRostislav Pehlivanov2016-05-31
| | | | | | | | | This code wasn't removed when the functionality was moved inside aacenc.c with commit 8005b6de4f88c9 Fixes CID1361962 Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* avcodec/libxvid: Fix use of uninitialized AVPacket fieldsMichael Niedermayer2016-05-31
| | | | | | Fixes CID1361964 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mips/h264qpel_mmi.c: Version 2 of the optimizations for loongson mmiZhouXiaoyong2016-05-30
| | | | | | | | | 1. no longer use the register names directly and optimized code format 2. to be compatible with O32, specify type of address variable with mips_reg and handle the address variable with PTR_ operator 3. use uld and mtc1 to workaround cpu 3A2000 gslwlc1 bug (gslwlc1 instruction extension bug in O32 ABI) 4. h264qpel use hepldsp optimizations Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/proresdec2: Add support for grayscale videosHåvard Espeland2016-05-27
| | | | | Signed-off-by: Håvard Espeland <espeland@mixedrealities.no> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit '44d16df413878588659dd8901bba016b5a869fd1'Hendrik Leppkes2016-05-27
|\ | | | | | | | | | | | | * commit '44d16df413878588659dd8901bba016b5a869fd1': h264_parser: eliminate H264SliceContext usage Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * h264_parser: eliminate H264SliceContext usageAnton Khirnov2016-04-24
| | | | | | | | It is no longer needed for anything.
* | avcodec/dca: move EXSS sampling frequency arrays to dca.cfoo862016-05-26
| | | | | | | | | | | | Avoids unwanted parser dependency on dcadata. Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/vble: add frame threading supportPaul B Mahol2016-05-26
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavc/mediacodec: add missing MediaCodec.Get{Input,Output}Buffer() checksMatthieu Bouron2016-05-25
| |
* | lavc/mediacodec: factorize static fields initializationMatthieu Bouron2016-05-25
| |
* | avcodec/Makefile: add missing dependencies to dca parserJames Almer2016-05-25
| | | | | | | | | | | | They are needed starting with the previous commit Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/dca_parser: set duration for core-less streamsfoo862016-05-25
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/dca_exss: prepare to be called from parser contextfoo862016-05-25
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/nvenc: Require Maxwell for losslessTimo Rothenpieler2016-05-25
| |
* | avcodec/nvenc: CUDA frames supportAndrey Turkin2016-05-25
| | | | | | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* | avcodec/nvenc: replace custom FIFOs with AVFifosAndrey Turkin2016-05-25
| | | | | | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* | avcodec/nvenc: combine input and output surface structuresAndrey Turkin2016-05-25
| | | | | | | | | | | | | | There is no point in separate structures as they have 1:1 relationship, they are always used together and they have same lifetime. Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* | avcodec/nvenc: split large functions into smaller onesAndrey Turkin2016-05-25
| | | | | | | | | | | | | | | | Functions names and scopes are from libav. This commit basically moves code around without changing it; it shouldn't change any functionality except some small leak fixes on error paths. Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* | libavcodec/dv_tablegen: fixed wrong printf formatdsmudhar2016-05-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/mips/idctdsp_mmi: Version 2 of the optimizations for loongson mmiZhouXiaoyong2016-05-23
| | | | | | | | | | | | | | 1. no longer use the register names directly and optimized code format 2. to be compatible with O32, specify type of address variable with mips_reg and handle the address variable with PTR_ operator Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/mips/pixblockdsp_mmi: Version 2 of the optimizations for loongson mmiZhouXiaoyong2016-05-23
| | | | | | | | | | | | | | 1. no longer use the register names directly and optimized code format 2. to be compatible with O32, specify type of address variable with mips_reg and handle the address variable with PTR_ operator Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/mips/blockdsp_mmi: Version 2 of the optimizations for loongson mmiZhouXiaoyong2016-05-23
| | | | | | | | | | | | | | 1. no longer use the register names directly and optimized code format 2. to be compatible with O32, specify type of address variable with mips_reg and handle the address variable with PTR_ operator Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/dca_exss: always update downmix flagsfoo862016-05-23
| | | | | | | | | | | | | | | | Fixes potential parsing failure when total number of channels indicated by EXSS asset descriptor decreases mid-stream and stale embedded downmix flags are referenced. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libavcodec/cfhd: fixed wrong printf formatdsmudhar2016-05-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/truemotion2rt: also export key frame infoPaul B Mahol2016-05-22
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/iff: mention RGB8/RGBN decoderPiotr Bandurski2016-05-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>