Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lavc: Consistently prefix input buffer defines | Vittorio Giovara | 2015-07-27 | 1 | -2/+2 |
| | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> | ||||
* | lavc: AV-prefix all codec capabilities | Vittorio Giovara | 2015-07-27 | 1 | -2/+2 |
| | | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> | ||||
* | lavc: Replace av_dlog and tprintf with internal macros | Vittorio Giovara | 2015-04-19 | 1 | -5/+5 |
| | |||||
* | build: Split JPEG-related tables off into a separate component | Diego Biurrun | 2015-03-30 | 1 | -0/+1 |
| | |||||
* | mjpeg: Move code only used in the encoder(s) to the appropriate header | Diego Biurrun | 2015-03-30 | 1 | -0/+1 |
| | |||||
* | mjpeg: Mark decoder family as thread safe | Vittorio Giovara | 2015-03-13 | 1 | -0/+2 |
| | | | | | | No global variables are used and the VLC tables are allocated without static elements. This will allow using a JPEG decoding context within other decoders. | ||||
* | mjpegdec: check for pixel format changes | Anton Khirnov | 2014-12-19 | 1 | -17/+23 |
| | | | | | | | | | | Fixes possible invalid memory access. Based on code by Michael Niedermayer <michaelni@gmx.at> CC: libav-stable@libav.org Bug-ID: CVE-2014-8541 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind | ||||
* | mjpegdec: fix undefined shift | Vittorio Giovara | 2014-11-06 | 1 | -1/+3 |
| | | | | | | | Add a comment to explain the code. CC: libav-stable@libav.org Bug-Id: CID 1194388 | ||||
* | dsputil: Split off IDCT bits into their own context | Diego Biurrun | 2014-06-30 | 1 | -4/+6 |
| | |||||
* | mjpegdec: Properly set the context colorspace info | Derek Buitenhuis | 2014-06-24 | 1 | -0/+1 |
| | | | | | | The JPEG spec requires it to be this. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> | ||||
* | Add av_image_check_sar() and use it to validate SAR | Justin Ruggles | 2014-06-20 | 1 | -0/+1 |
| | |||||
* | dsputil: Split clear_block*/fill_block* off into a separate context | Diego Biurrun | 2014-06-18 | 1 | -2/+4 |
| | |||||
* | mjpeg: set color_range | Vittorio Giovara | 2014-03-16 | 1 | -1/+6 |
| | |||||
* | mjpegdec: apply flipping after decoding, not before | Anton Khirnov | 2014-01-09 | 1 | -15/+17 |
| | | | | This is simpler and removes a silly restriction on edges being present. | ||||
* | mjpegdec: use the AVFrame API properly. | Anton Khirnov | 2013-12-09 | 1 | -3/+10 |
| | |||||
* | mjpegdec: stop using deprecated avcodec_set_dimensions | Anton Khirnov | 2013-10-31 | 1 | -2/+4 |
| | |||||
* | cosmetics: Group .name and .long_name together in codec/format declarations | Diego Biurrun | 2013-10-03 | 1 | -2/+2 |
| | |||||
* | mjpegb: Detect changing number of planes in interlaced video | Michael Niedermayer | 2013-09-03 | 1 | -0/+7 |
| | | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | avcodec: Remove some commented-out debug cruft | Diego Biurrun | 2013-08-20 | 1 | -1/+0 |
| | |||||
* | mjpeg: Check the unescaped size for overflows | Luca Barbato | 2013-06-30 | 1 | -3/+7 |
| | | | | | | | | And contextually check init_get_bits success and fix the reporting message. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org | ||||
* | mjpeg: Move code out of else branch | Luca Barbato | 2013-06-30 | 1 | -134/+134 |
| | | | | Simplify the control flow and spare some vertical space. | ||||
* | mjpegdec: validate parameters in mjpeg_decode_scan_progressive_ac | Luca Barbato | 2013-05-21 | 1 | -0/+5 |
| | | | | | | | Prevent out of buffer write when decoding broken samples. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org | ||||
* | ljpeg: use the correct number of components in yuv | Luca Barbato | 2013-05-20 | 1 | -3/+3 |
| | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org | ||||
* | mjpeg: Validate sampling factors | Luca Barbato | 2013-05-20 | 1 | -0/+7 |
| | | | | | | | They must be non-zero. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org | ||||
* | mjpegdec: properly report unsupported disabled features | Luca Barbato | 2013-05-16 | 1 | -0/+6 |
| | | | | | | | | When JPEG-LS support is disabled the decoder would feed the data to the JPEG Lossless decode_*_scan function resulting in faulty decoding. CC: libav-stable@libav.org | ||||
* | mjpeg: Use hpeldsp instead of dsputil for half-pel functions | Ronald S. Bultje | 2013-04-19 | 1 | -4/+5 |
| | | | | Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | av_log_missing_feature() ---> avpriv_report_missing_feature() | Diego Biurrun | 2013-03-13 | 1 | -4/+4 |
| | |||||
* | lavc decoders: work with refcounted frames. | Anton Khirnov | 2013-03-08 | 1 | -24/+12 |
| | |||||
* | Remove unnecessary dsputil.h #includes | Diego Biurrun | 2013-02-26 | 1 | -1/+0 |
| | |||||
* | mjpegdec: use put_pixels instead of copy_block8 | Mans Rullgard | 2013-02-07 | 1 | -4/+6 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | mjpegdec: fix indentation | Anton Khirnov | 2013-01-26 | 1 | -18/+18 |
| | |||||
* | Drop DCTELEM typedef | Diego Biurrun | 2013-01-22 | 1 | -6/+6 |
| | | | | | | It does not help as an abstraction and adds dsputil dependencies. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> | ||||
* | mjpeg: initialize input padding after unescaped buffer to zero | Janne Grunau | 2012-12-08 | 1 | -0/+4 |
| | | | | | | Fixes valgrind --undef-value-errors=yes warnings caused by valid overreads in the fate vsynth jpegls, cover-art-ape and cover-art-wv tests. | ||||
* | lavc: fix decode_frame() third parameter semantics for video decoders | Anton Khirnov | 2012-12-04 | 1 | -2/+2 |
| | | | | It's got_frame, not data size | ||||
* | lavc: add a wrapper for AVCodecContext.get_buffer(). | Anton Khirnov | 2012-12-04 | 1 | -1/+2 |
| | | | | It will be useful in the upcoming transition to refcounted AVFrames. | ||||
* | Restructure av_log_missing_feature message | Diego Biurrun | 2012-10-09 | 1 | -4/+3 |
| | | | | | | | | Some invocations include a verb in the log message, others do not. Yet av_log_missing_feature expects callers to provide a verb. Change the function to include a verb instead and update the callers accordingly. The result is a more natural function API and correct English in the function invocations. | ||||
* | Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat | Anton Khirnov | 2012-10-08 | 1 | -9/+9 |
| | |||||
* | avcodec: Convert some commented-out printf/av_log instances to av_dlog | Diego Biurrun | 2012-10-01 | 1 | -8/+7 |
| | |||||
* | avcodec: Drop silly and/or broken printf debug output | Diego Biurrun | 2012-10-01 | 1 | -9/+0 |
| | |||||
* | mjpeg: Rename some symbols to avpriv_* instead of ff_* | Samuel Pitoiset | 2012-09-09 | 1 | -12/+12 |
| | | | | | | These symbols will be used from the RTP/JPEG depacketizer. Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union member | Martin Storsjö | 2012-09-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | mjpegdec: support AVRn interlaced | Michael Niedermayer | 2012-08-22 | 1 | -3/+20 |
| | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | mjpegdec: more meaningful return values | Luca Barbato | 2012-08-17 | 1 | -66/+77 |
| | |||||
* | Replace all CODEC_ID_* with AV_CODEC_ID_* | Anton Khirnov | 2012-08-07 | 1 | -4/+4 |
| | |||||
* | jpeg: handle progressive in second field of interlaced. | Ronald S. Bultje | 2012-05-02 | 1 | -3/+2 |
| | | | | | | | | Progressive data is allocated later in decode_sof(), not allocating that data leads to NULL dereferences. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org | ||||
* | Remove lowres video decoding | Mans Rullgard | 2012-04-21 | 1 | -25/+8 |
| | | | | | | | This feature is complex, of questionable utility, and slows down normal decoding. Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | Replace memset(0) by zero initializations. | Diego Biurrun | 2012-03-28 | 1 | -2/+1 |
| | | | | Also remove one pointless zero initialization in rangecoder.c. | ||||
* | Replace computations of remaining bits with calls to get_bits_left(). | Alex Converse | 2012-03-05 | 1 | -5/+4 |
| | |||||
* | mjpegdec: use correct variable in av_log invocation | Diego Biurrun | 2012-03-01 | 1 | -1/+1 |
| | | | | libavcodec/mjpegdec.c:1463: warning: format ‘%x’ expects type ‘unsigned int’, but argument 5 has type ‘const uint8_t *’ | ||||
* | mjpeg: abort decoding if packet is too large. | Ronald S. Bultje | 2012-02-24 | 1 | -0/+4 |
| | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org |