summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* mlp_parser: fix the channel mask value used for the top surround channelTim Walker2012-02-25
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* vorbisenc: check all allocations for failureJustin Ruggles2012-02-25
|
* roqaudioenc: return AVERROR codes instead of -1Justin Ruggles2012-02-25
|
* roqaudioenc: set correct bit rateJustin Ruggles2012-02-25
|
* roqaudioenc: use AVCodecContext.frame_size correctly.Justin Ruggles2012-02-25
| | | | | | It is not allowed to change mid-stream like it does currently. Instead we need to buffer the first 8 frames before returning them as a single packet, then only return single frame packets after that.
* roqaudioenc: remove unneeded sample_fmt checkJustin Ruggles2012-02-25
|
* ra144enc: use int16_t* for input samples rather than void*Justin Ruggles2012-02-25
|
* ra144enc: set AVCodecContext.coded_frameJustin Ruggles2012-02-25
|
* ra144enc: remove unneeded sample_fmt checkJustin Ruggles2012-02-25
|
* nellymoserenc: set AVCodecContext.coded_frameJustin Ruggles2012-02-25
|
* nellymoserenc: improve error checking in encode_init()Justin Ruggles2012-02-25
|
* nellymoserenc: return AVERROR codes instead of -1Justin Ruggles2012-02-25
|
* libvorbis: improve error checking in oggvorbis_encode_init()Justin Ruggles2012-02-25
|
* mpegaudioenc: return AVERROR codes instead of -1Justin Ruggles2012-02-25
|
* libfaac: improve error checking and handling in Faac_encode_init()Justin Ruggles2012-02-25
|
* check for coded_frame allocation failure in several audio encodersJustin Ruggles2012-02-25
|
* audio encoders: do not set coded_frame->key_frame.Justin Ruggles2012-02-25
| | | | it is already set in avcodec_alloc_frame()
* g722enc: check for trellis data allocation errorJustin Ruggles2012-02-25
|
* libspeexenc: export encoder delay through AVCodecContext.delayJustin Ruggles2012-02-25
|
* avcodec: document the use of AVCodecContext.delay for audio encodersJustin Ruggles2012-02-25
|
* kgv1: release reference picture on size change.Ronald S. Bultje2012-02-25
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* lavc: merge two if()s with the same condition.Anton Khirnov2012-02-25
|
* lavc: factorize setting got_packet_ptr in avcodec_encode_video2()Anton Khirnov2012-02-25
|
* lavc: signal no output when a NULL frame is passed to audio encoder without ↵Anton Khirnov2012-02-25
| | | | delay
* xwdenc: fix monow encodingPaul B Mahol2012-02-25
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cdxl: fix ham6/8 on big endianPaul B Mahol2012-02-25
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* vorbisdec: add a flush() functionJustin Ruggles2012-02-24
| | | | clear MDCT overlap buffer and reset previous window mode when seeking
* fraps: release reference buffer on pix_fmt change.Ronald S. Bultje2012-02-24
| | | | | | | | Prevents crash when trying to copy from a non-existing plane in e.g. a RGB32 reference image to a YUV420P target image Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* avcodec: disallow reget_buffer() if pix_fmt changed.Ronald S. Bultje2012-02-24
|
* kgv1: use avctx->get/release_buffer().Ronald S. Bultje2012-02-24
| | | | | | | Also fixes crashes on corrupt bitstreams. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* mpegaudiodec: Prevent premature clipping of mp3 input buffer.Dale Curtis2012-02-24
| | | | | | | | Instead of clipping extrasize based on EXTRABYTES, clip based on the amount of buffer actually left. Without this fix, there are warbles and other distortions in the test case below. http://kevincennis.com/mix/assets/sounds/1901_voxfx.mp3
* lcl: error out if uncompressed input buffer is smaller than framesize.Ronald S. Bultje2012-02-24
| | | | | | | | This prevents crashes when trying to read beyond the end of the buffer while decoding frame data. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* mjpeg: abort decoding if packet is too large.Ronald S. Bultje2012-02-24
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* golomb: use HAVE_BITS_REMAINING() macro to prevent infloop on EOF.Ronald S. Bultje2012-02-24
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* get_bits: add HAVE_BITS_REMAINING macro.Ronald S. Bultje2012-02-24
|
* tiff: Prevent overreads in the type_sizes array.Alex Converse2012-02-23
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* tiff: Make the TIFF_LONG and TIFF_SHORT types unsigned.Alex Converse2012-02-23
| | | | TIFF v6.0 (unimplemented) adds signed equivalents.
* SBR DSP x86: implement SSE sbr_hf_g_filtChristophe GISQUET2012-02-23
| | | | | | | | | | | | | | | Unrolling the main loop to process, instead of 4 elements: - 8: minor gain of 2 cycles (not worth the extra object size) - 2: loss of 8 cycles. Assigning STEP to a register is a loss. Output address (Y) is almost always unaligned. Timings: - C (32/64 bits): 117/109 cycles - SSE: 57 cycles Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* SBR DSP x86: implement SSE sbr_sum_square_sseChristophe GISQUET2012-02-23
| | | | | | | | | | | | | The 32bits targets have been compiled with -mfpmath=sse for proper reference. sbr_sum_square C /32bits: 82c (unrolled)/102c C /64bits: 69c (unrolled)/82c SSE/32bits: 42c SSE/64bits: 31c Use of SSE4.1 dpps to perform the final sum is slower. Not unrolling to perform 8 operations in a loop yields 10 more cycles. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* SBR DSP: use intptr_t for the ixh parameter.Christophe GISQUET2012-02-23
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* wavpack: Don't shift minclip/maxclipDerek Buitenhuis2012-02-23
| | | | | | | | | | | Since we are clipping before we shift the values to 16 or 32 bits, we should not shift the min/max clip values to compensate. Fixes 8 and 24 bit lossy decoding. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: drop encode() support for video.Anton Khirnov2012-02-23
| | | | | All video encoders have been converted to encode2(), all new encoders should also use only encode2().
* snowenc: switch to encode2().Anton Khirnov2012-02-23
|
* snowenc: don't abuse input picture for storing information.Anton Khirnov2012-02-23
|
* a64multienc: switch to encode2().Anton Khirnov2012-02-23
| | | | We have no decoder, so cannot test if the output is decodable.
* a64multienc: don't write into output buffer when there's no output.Anton Khirnov2012-02-23
|
* libxvid: switch to encode2().Anton Khirnov2012-02-23
|
* tiffenc: switch to encode2().Anton Khirnov2012-02-23
|
* tiffenc: properly forward error codes in encode_frame().Anton Khirnov2012-02-23
|
* lavc: drop libdirac encoder.Anton Khirnov2012-02-23
| | | | | Libschroedinger is the preferred way to encode dirac video now, it produces better output and has a nicer API.