summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* configure: Factor out flacdsp moduleVittorio Giovara2015-07-17
|
* libx264: Add support for the MPEG2 encoderLuca Barbato2015-07-17
|
* hq_hqa: Fix decoding when INFO section is absentVittorio Giovara2015-07-17
|
* h264: Add support for Closed Caption exportKieran Kunhya2015-07-17
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* hevc: Split the struct setup from the pps parsingLuca Barbato2015-07-15
|
* hevc: Print the non-supported chroma_format_idcLuca Barbato2015-07-13
| | | | | | And drop the spurious newline. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* hevc: Factor out the pixel format mapping from the sps parserLuca Barbato2015-07-13
| | | | | | The function will grow larger as more formats are supported. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dxva2_hevc: unbreak compilation after recent sps/pps changesJames Almer2015-07-13
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc_parser: fix standalone build with the hevc decoder disabledAnton Khirnov2015-07-13
| | | | | | The parser depends on hevc_ps, which in turn needs some data tables. Found-by: James Almer <jamrial@gmail.com>
* hevc_ps: make sure failing to decode an SPS always returns an errorAnton Khirnov2015-07-13
| | | | | Some of the goto err clauses do not set the error code. It seems better to fall back on INVALIDDATA instead of adding it everywhere explicitly.
* hevc: handle a NULL sps in set_sps() properlyAnton Khirnov2015-07-12
| | | | | This can happen in update_thread_context(), when the previous frame was corrupted.
* hevc: do not pass an entire HEVCContext into export_stream_params()Anton Khirnov2015-07-12
| | | | It only needs the parameter sets.
* hevc_parser: parse and export some stream parametersAnton Khirnov2015-07-12
| | | | | Particularly those that will be needed by the QSV decoder. More can be added later as necessary.
* hevc: improve a commentAnton Khirnov2015-07-12
| | | | That loop does the actual full decoding, so 'parse' can be misleading.
* hevc: move splitting the packet into NALUs into a separate functionAnton Khirnov2015-07-12
| | | | | This function is independent of the decoding context, so we'll be able to use it in the parser.
* hevc: eliminate the second call to hls_nal_unit()Anton Khirnov2015-07-12
| | | | | | | Also, make hls_nal_unit() work only on the provided NAL unit, without requiring a whole decoding context. This will allow splitting this code for reuse by the parser.
* hevc: skip invalid/ignored NALUs when splitting the packetAnton Khirnov2015-07-12
| | | | | There is no need to wait until actually decoding the NALU. This will allow to get rid of the second hls_nal_unit() call later.
* hevc: remove HEVCContext usage from hevc_psAnton Khirnov2015-07-12
| | | | | | Factor out the parameter sets into a separate struct and use it instead. This will allow us to reuse this code in the parser.
* mpegvideo_parser: export pixel format and dimensionsAnton Khirnov2015-07-12
|
* hevc: check slice address lengthAndreas Cadhalpun2015-07-12
| | | | | | | It is used as get_bits argument and reading 0 bits doesn't make sense. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* bytestream2: set the reader to the end when reading more than availableAnton Khirnov2015-07-12
| | | | | | | | This prevents possible infinite loops with the calling code along the lines of while (bytestream2_get_bytes_left()) { ... }, where the reader does not advance. CC: libav-stable@libav.org
* g726: Do not crash on user mistakeLuca Barbato2015-07-11
| | | | | | Properly report the sample rate as invalid CC: libav-stable@libav.org
* imc: Use correct position for flcoeffs2 calculationAndreas Cadhalpun2015-07-10
| | | | | | | | | | | | flcoeffs2[pos] should be the log2 of flcoeffs1[pos]. flcoeffs1[0] can be 0 here, thus flcoeffs2[pos] gets set to -inf, causing problems further down. This seems to have been copied from imc_decode_level_coefficients in commit 4eb4bb3 without updating the position. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* libvpx: Add the library headerVittorio Giovara2015-07-09
| | | | Unbreak make checkheaders
* lavc: Add nvenc.h to the skipheaderLuca Barbato2015-07-09
| | | | Unbreak make checkheaders
* lavc: add Intel libmfx-based HEVC encoderAnton Khirnov2015-07-08
|
* lavc: add Intel libmfx-based MPEG2 encoderAnton Khirnov2015-07-08
|
* hevc: split bitstream unescaping to a separate fileAnton Khirnov2015-07-08
| | | | It will be useful in the QSV HEVC encoder.
* hevc_ps: split the code for parsing the SPS and exporting it into the contextAnton Khirnov2015-07-08
| | | | | This will be useful in the later commits, where we want to parse an SPS without having a whole decoding context.
* lavc: Deprecate avctx.rc_strategyVittorio Giovara2015-07-08
| | | | | | | Only used by libxvid in ratecontrol module, so move it to a codec private option. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* h261: Signal freeze picture release for intra framesStian Selnes2015-07-07
| | | | | | | | | | | | | | Freeze picture release should be set to 1 when we're responding to a fast update request. For simplicity we set it for all intra frames, including those that starts a GOP. Fixes issue where Tandberg MXP1700 does not recover from packet loss state since it's waiting for the freeze picture relase indication. Bug-Id: 873 CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* h261: Set 'still image mode off' in picture headerStian Selnes2015-07-07
| | | | | | | | | | | | | | | | Ref H.261 recommendation section 4.2.1.3, setting the still image flag to 1 disables still image mode. Some decoders require this in order to decode the bitstream as normal video. Fixes H.261 calls to Cisco E20. Also, reserved (aka spare) bits should be set to 1 unless specified otherwise. Bug-Id: 872 CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavc: Move deprecation warning disabling to files including the tableVittorio Giovara2015-07-03
| | | | | | Unbreak build from 7a5902c556d84a367dd64a003a4e7244fc3a73d1. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavc: Disable deprectation warnings coming from options tableVittorio Giovara2015-07-03
|
* vda: Check the correct pointer for buffer allocationLuca Barbato2015-07-03
| | | | | CC: libav-stable@libav.org Found-By: kropping
* webp: Make sure enough bytes are availableAndreas Cadhalpun2015-07-03
| | | | | | | | Every chunk needs at least 8 bytes for chunk_type and chunk_size. Prevent a possible infinite loop. CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavc: Deprecate avctx.{inter,intra}_quant_biasVittorio Giovara2015-07-02
| | | | | | | They are used by dnxhd and mpegvideo_enc exclusively, move them to codec private options instead. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* elsdec: Replace EOVERFLOW with INVALIDDATAMichael Niedermayer2015-07-01
| | | | | | EOVERFLOW is not available on all platforms. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* g2meet: use av_ceil_log2 instead of a custom functionJanne Grunau2015-07-01
|
* g2meet: use an unsigned type for the djb hashJanne Grunau2015-07-01
|
* avcodec: add missing CODEC_CAP_DR1 to codecs using get_buffer()Janne Grunau2015-07-01
|
* lavc: Add missing API guard to dtg_active_format optionVittorio Giovara2015-07-01
|
* Go2Meeting decoderKostya Shishkov2015-07-01
| | | | | | | | ELS and ePIC decoder courtesy of Maxim Poliakovski, cleanup and integration by Diego Biurrun. Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* h264: Parse registered data SEI message and AFD valueVittorio Giovara2015-06-30
| | | | | | Partially based on code by Marton Balint and Kieran Kunhya. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* h264_sei: Group error check outside the switch blockVittorio Giovara2015-06-30
|
* h263: Always check both dimensionsLuca Barbato2015-06-30
| | | | | CC: libav-stable@libav.org Found-By: ago@gentoo.org
* cosmetic: Reformat ff_h263_decode_mbaLuca Barbato2015-06-30
|
* aic: Fix slice size computation for widths multiples of 32 macroblocksVittorio Giovara2015-06-30
| | | | CC: libav-stable@libav.org
* h264: Allow stream and container cropping at the same timeVittorio Giovara2015-06-30
| | | | | | | | The container cropping is applied only when difference is within 16 pixels, and the smallest value between the two is chosen. Bug-Id: 383 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* h264: do not update the context fields copied between threads after ↵Anton Khirnov2015-06-27
| | | | | | finish_setup() Should fix a large number of possible races with frame threading.