summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* lavc/mediacodec: rename jfields_mapping to jni_amediacodeclist_mappingMatthieu Bouron2016-06-07
|
* lavc/mediacodec: do not delete a local reference twice in case of errorMatthieu Bouron2016-06-07
|
* avcodec/utils: check skip_samples signednessMichael Niedermayer2016-06-07
| | | | | | Fixes Ticket5528 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/nvenc: Check capabilities for interlaced encodingTimo Rothenpieler2016-06-06
|
* avcodec/exr: indent b44 uncompress functionMartin Vignali2016-06-06
|
* avcodec/exr: fix decoding of B44 exr when all channel doesnt have the same ↵Martin Vignali2016-06-06
| | | | pixel type
* avcodec/exr: move channel_line_size to thread dataMartin Vignali2016-06-06
| | | | In order to be used by b44 uncompress.
* avcodec/exr: improve pxr24 uncompressMartin Vignali2016-06-06
| | | | | Fix pxr24 uncompress when all channels doesnt have the same pixel type. The expected length after zip decoding, is now calculated channel by channel.
* avcodec/exr: remove unneed scanline_size varMartin Vignali2016-06-06
|
* avcodec/exr: fix tile decoding when all channels doesnt have the same pixel typeMartin Vignali2016-06-06
| | | | Also simplify the tile code, sharing more code with the scanline mode.
* avcodec/exr: indent the if (layer_match) partMartin Vignali2016-06-06
|
* avcodec/exr: fix layer detectionMartin Vignali2016-06-06
| | | | | | Only test a channel if the layer name match. Avoid to try to mix channel between the main layer (rgba layer), and the layer request by the user.
* avcodec/bmp_parser: Check fsizeMichael Niedermayer2016-06-06
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/bmp_parser: reset stateMichael Niedermayer2016-06-06
| | | | | | Fixes part of ticket 5598 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/bmp_parser: Fix remaining sizeMichael Niedermayer2016-06-06
| | | | | | Fixes part of ticket 5598 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/bmp_parser: Fix frame_start_found in cross frame casesMichael Niedermayer2016-06-06
| | | | | | Fixes part of ticket 5598 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/wmalosslessdec: Use unsigned operations for overflowing casesMichael Niedermayer2016-06-06
| | | | | | Fixes undefined behavior in fate-lossless-wma24-2 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mpeg4videodec: Fix default low_delay flag value if not codedMichael Niedermayer2016-06-05
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mpeg4videodec: Print low_delay value with -debug 1 in ↵Michael Niedermayer2016-06-05
| | | | | | decode_vol_header() Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Seperate x264rgb encoder and only enable when its actually supportedMichael Niedermayer2016-06-05
| | | | | | | This avoids enabling and building the x264rgb encoder when its actually not supported and thus would not work Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/cfhd: clear idwt_buf on allocationMichael Niedermayer2016-06-05
| | | | | | | This avoids use of uninitialized variables and might make bugs in general easier to reproduce Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Check av_dup_packet() return codeMichael Niedermayer2016-06-05
| | | | | | Fixes: CID1338320 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mpegvideo: Deallocate last/next picture earlierMichael Niedermayer2016-06-05
| | | | | | | Fixes regression with mplayers direct rendering and reduces buffer count pressure in some cases Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/utils: initialize delay in avcodec_parameters_to_context()Michael Niedermayer2016-06-04
| | | | | | | Fixes lost codec delayy Should fix Ticket5509 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/nvenc: Don't set packet durationTimo Rothenpieler2016-06-04
| | | | | It's not expected to be set on video packets and causes issues in ffmpeg.c.
* lavc/mediacodecdec_h264: rename input_ref to input_pktMatthieu Bouron2016-06-03
|
* lavc/mediacodecdec_h264: switch to new BSF APIMatthieu Bouron2016-06-03
|
* lavc/vaapi_encoder_{h264,h265}: fix bad format warningMatthieu Bouron2016-06-03
|
* avcodec/magicyuv: set correct size of last slice for each planePaul B Mahol2016-06-02
| | | | | | Fixes invalid read. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/h264_refs: Fix pps_ref_count with multiple PPSMichael Niedermayer2016-06-02
| | | | | Found-by: ubitux Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/h264_refs: Remove unused pps_countMichael Niedermayer2016-06-02
| | | | | Found-by: ubitux Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/magicyuv: fix decoding of raw slicesPaul B Mahol2016-06-02
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/avpacket: Respect payload offset in av_grow_packetAndriy Lysnevych2016-06-02
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* 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>