summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* aacsbr: reduce element type mismatch warning severityRostislav Pehlivanov2016-06-08
| | | | | | | | | | | | All HE-AAC samples with an LFE channel make this warning get spammed on every frame. Turning off SBR for LFE channels makes sense (since it has much less coefficients than normal channels do), so this error print is of no value in this case. It makes sense to keep the error in other cases, hence why it's still around, degraded to warning severity since the decoder will still attempt to decode without SBR. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* x86/aacdec: use HADDPS macroJames Almer2016-06-08
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/h264: Put context_count check backMichael Niedermayer2016-06-08
| | | | | | Fixes assertion failure Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/h264: Fix off by 1 context countMichael Niedermayer2016-06-07
| | | | Fixes fate-h264-xavc-4389 with slice threads
* avcodec/sheervideo: fix order of operations for raw linesPaul B Mahol2016-06-07
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/sheervideo: add support for 8-bit interlaced (A)RGBPaul B Mahol2016-06-07
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec: add BitJazz SheerVideo decoderPaul B Mahol2016-06-07
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/alsdec: Check r to prevent out of array readMichael Niedermayer2016-06-07
| | | | | | No testcase known Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavc/mediacodec: improve error messagesMatthieu Bouron2016-06-07
|
* lavc/mediacodec: bypass width/height restrictions when looking for a decoderMatthieu Bouron2016-06-07
| | | | | | | | | Codec width/height restrictions seem hardcoded at the OMX level and seem arbitrary. Bypassing those restrictions allows a device to decode streams at higher resolutions. For example it allows a Nexus 5 to decode h264 streams with a resolution higher than 1920x1080.
* lavc/mediacodec: rename MediaFormat field clazz to mediaformat_class for ↵Matthieu Bouron2016-06-07
| | | | consistency
* lavc/mediacodec: move struct declarations at the beginMatthieu Bouron2016-06-07
|
* 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
|