summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
...
* | | proresdec: Fix read via negative index in a global array.Michael Niedermayer2012-02-021-1/+1
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
* | | ffv1dec: PIX_FMT_YUV440P supportPaul B Mahol2012-02-011-0/+1
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | | ffv1enc: PIX_FMT_YUV440P supportPaul B Mahol2012-02-011-1/+2
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | | Support decoding rgba64 with libopenjpeg.Michael Bradshaw2012-02-011-12/+16
| | |
* | | Support decoding gray8a with libopenjpeg.Michael Bradshaw2012-02-011-1/+7
| | |
* | | snowdata: Fix project name, this file has not been developed in libavMichael Niedermayer2012-02-011-4/+4
| | | | | | | | | | | | | | | | | | or by any libav developers. Signed-off-by: Michael Niedermayer <[email protected]>
* | | gsm.h: Fix project referenceMichael Niedermayer2012-02-011-4/+4
| | | | | | | | | | | | | | | | | | The code in this file is copy and pasted from FFmpegs libavcodec/libgsm.c Signed-off-by: Michael Niedermayer <[email protected]>
* | | simpleidct: fix project name.Michael Niedermayer2012-02-011-4/+4
| | | | | | | | | | | | | | | | | | | | | "Copyright (c) 2001 Michael Niedermayer" and "part of Libav" is not likely not only am i not a libav developer there also was no libav in 2001 Signed-off-by: Michael Niedermayer <[email protected]>
* | | aacenc: fix library referencesMichael Niedermayer2012-02-011-2/+2
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | h264 golomb: Fix copyright violation.Michael Niedermayer2012-02-011-4/+6
| | | | | | | | | | | | | | | | | | | | | Copy and paste does not change authorship See 0da71265 for the original checkin Signed-off-by: Michael Niedermayer <[email protected]>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-0114-157/+436
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (29 commits) fate: add golomb-test golomb-test: K&R formatting cosmetics h264: Split h264-test off into a separate file - golomb-test.c. h264-test: cleanup: drop timer invocations, commented out code and other cruft h264-test: Remove unused DSP and AVCodec contexts and related init calls. adpcm: Add missing stdint.h #include to fix standalone header compilation. lavf: add functions for accessing the fourcc<->CodecID mapping tables. lavc: set AVCodecContext.codec in avcodec_get_context_defaults3(). lavc: make avcodec_close() work properly on unopened codecs. lavc: add avcodec_is_open(). lavf: rename AVInputFormat.value to raw_codec_id. lavf: remove the pointless value field from flv and iv8 lavc/lavf: remove unnecessary symbols from the symbol version script. lavc: reorder AVCodec fields. lavf: reorder AVInput/OutputFormat fields. mp3dec: Fix a heap-buffer-overflow adpcmenc: remove some unneeded casts adpcmenc: use int16_t and uint8_t instead of short and unsigned char. adpcmenc: fix adpcm_ms extradata allocation adpcmenc: return proper AVERROR codes instead of -1 ... Conflicts: doc/APIchanges libavcodec/Makefile libavcodec/adpcmenc.c libavcodec/avcodec.h libavcodec/h264.c libavcodec/libavcodec.v libavcodec/mpc7.c libavcodec/mpegaudiodec.c libavcodec/options.c libavformat/Makefile libavformat/avformat.h libavformat/flvdec.c libavformat/libavformat.v Merged-by: Michael Niedermayer <[email protected]>
| * | golomb-test: K&R formatting cosmeticsDiego Biurrun2012-01-311-19/+16
| | |
| * | h264: Split h264-test off into a separate file - golomb-test.c.Diego Biurrun2012-01-313-50/+74
| | | | | | | | | | | | The new name is more appropriate as only golomb functions are tested.
| * | h264-test: cleanup: drop timer invocations, commented out code and other cruftDiego Biurrun2012-01-311-15/+0
| | |
| * | h264-test: Remove unused DSP and AVCodec contexts and related init calls.Diego Biurrun2012-01-311-5/+0
| | | | | | | | | | | | This also avoids a segfault on startup.
| * | adpcm: Add missing stdint.h #include to fix standalone header compilation.Diego Biurrun2012-01-311-0/+2
| | |
| * | lavc: set AVCodecContext.codec in avcodec_get_context_defaults3().Anton Khirnov2012-01-313-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | This way, if the AVCodecContext is allocated for a specific codec, the caller doesn't need to store this codec separately and then pass it again to avcodec_open2(). It also allows to set codec private options using av_opt_set_* before opening the codec.
| * | lavc: make avcodec_close() work properly on unopened codecs.Anton Khirnov2012-01-312-9/+22
| | | | | | | | | | | | | | | I.e. free the priv_data and other stuff allocated in avcodec_alloc_context3() and not segfault.
| * | lavc: add avcodec_is_open().Anton Khirnov2012-01-313-1/+15
| | | | | | | | | | | | | | | | | | | | | It allows to check whether an AVCodecContext is open in a documented way. Right now the undocumented way this check is done in lavf/lavc is by checking whether AVCodecContext.codec is NULL. However it's desirable to be able to set AVCodecContext.codec before avcodec_open2().
| * | lavc/lavf: remove unnecessary symbols from the symbol version script.Anton Khirnov2012-01-311-2/+0
| | |
| * | lavc: reorder AVCodec fields.Anton Khirnov2012-01-311-16/+23
| | | | | | | | | | | | | | | | | | | | | Put all private fields at the end and mark them as such so they can be easily changed/removed. This breaks ABI.
| * | mp3dec: Fix a heap-buffer-overflowAlex Converse2012-01-301-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | In some cases, what is left to read from ptr is smaller than EXTRABYTES. Based on a patch by Thierry Foucu <[email protected]>. Signed-off-by: Alex Converse <[email protected]>
| * | adpcmenc: remove some unneeded castsJustin Ruggles2012-01-301-4/+4
| | |
| * | adpcmenc: use int16_t and uint8_t instead of short and unsigned char.Justin Ruggles2012-01-302-23/+24
| | |
| * | adpcmenc: fix adpcm_ms extradata allocationJustin Ruggles2012-01-301-3/+3
| | | | | | | | | | | | | | | | | | Add FF_INPUT_BUFFER_PADDING_SIZE. If allocation fails, also free memory which was allocated previously in adpcm_encode_init().
| * | adpcmenc: return proper AVERROR codes instead of -1Justin Ruggles2012-01-301-6/+13
| | |
| * | adpcmenc: check for coded_frame allocation failureJustin Ruggles2012-01-301-1/+2
| | |
| * | adpcmenc: Do not set coded_frame->key_frame.Justin Ruggles2012-01-301-1/+0
| | | | | | | | | | | | It is already set in avcodec_alloc_frame().
| * | mpc7: check for allocation failureJustin Ruggles2012-01-301-0/+2
| | |
| * | mpc7: align local temp bufferJustin Ruggles2012-01-301-1/+1
| | | | | | | | | | | | DSPContext.bswap_buf() requires aligned output
| * | rv40: x86 SIMD for biweightChristophe Gisquet2012-01-303-1/+228
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide MMX, SSE2 and SSSE3 versions, with a fast-path when the weights are multiples of 512 (which is often the case when the values round up nicely). *_TIMER report for the 16x16 and 8x8 cases: C: 9015 decicycles in 16, 524257 runs, 31 skips 2656 decicycles in 8, 524271 runs, 17 skips MMX: 4156 decicycles in 16, 262090 runs, 54 skips 1206 decicycles in 8, 262131 runs, 13 skips MMX on fast-path: 2760 decicycles in 16, 524222 runs, 66 skips 995 decicycles in 8, 524252 runs, 36 skips SSE2: 2163 decicycles in 16, 262131 runs, 13 skips 832 decicycles in 8, 262137 runs, 7 skips SSE2 with fast path: 1783 decicycles in 16, 524276 runs, 12 skips 711 decicycles in 8, 524283 runs, 5 skips SSSE3: 2117 decicycles in 16, 262136 runs, 8 skips 814 decicycles in 8, 262143 runs, 1 skips SSSE3 with fast path: 1315 decicycles in 16, 524285 runs, 3 skips 578 decicycles in 8, 524286 runs, 2 skips This means around a 4% speedup for some sequences. Signed-off-by: Diego Biurrun <[email protected]>
| * | x86: Give RV40 init file a more suitable name.Diego Biurrun2012-01-302-1/+1
| | |
| * | x86: Place mm_flags variable declaration below the appropriate #ifdef.Diego Biurrun2012-01-302-3/+3
| | | | | | | | | | | | This fixes some unused variable warnings with YASM disabled.
* | | ffv1dec: use correct linesizePaul B Mahol2012-01-311-1/+1
| | | | | | | | | | | | | | | | | | | | | Apparently this did not break anything. Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | | Merge remote-tracking branch 'shariman/wmall'Michael Niedermayer2012-01-311-2/+2
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | * shariman/wmall: Cosmetics: Fix some whitespace errors and indentation Use correct variable type for 32-bit samples buffer Merged-by: Michael Niedermayer <[email protected]>
| * | Cosmetics: Fix some whitespace errors and indentationMashiat Sarker Shakkhar2012-01-271-3/+3
| | |
| * | Use correct variable type for 32-bit samples bufferMashiat Sarker Shakkhar2012-01-221-2/+2
| | |
* | | ffv1dec: PIX_FMT_YUVA444P supportPaul B Mahol2012-01-311-0/+1
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | | ffv1enc: PIX_FMT_YUVA444P supportPaul B Mahol2012-01-311-1/+2
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | | ffv1dec: PIX_FMT_YUVA420P supportPaul B Mahol2012-01-311-1/+10
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | | ffv1enc: PIX_FMT_YUVA420P supportPaul B Mahol2012-01-311-1/+7
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | | mpeg/h264: update thread context even if it is not initialized.Michael Niedermayer2012-01-312-9/+14
| | | | | | | | | | | | | | | | | | | | | Fixes decoding of Ticket952 Tested-by: Nicolas George <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | | h264: Return the correct number of bytes for mid strea, extradata.Michael Niedermayer2012-01-311-2/+2
| | | | | | | | | | | | | | | | | | | | | Fixes the hang with Ticket952 Tested-by: Nicolas George <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | | pngdec: fix warning about pointer typesMichael Niedermayer2012-01-311-2/+2
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-01-3110-122/+347
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (26 commits) avconv: deprecate the -deinterlace option doc: Fix the name of the new function aacenc: make sure to encode enough frames to cover all input samples. aacenc: only use the number of input samples provided by the user. wmadec: Verify bitstream size makes sense before calling init_get_bits. kmvc: Log into a context at a log level constant. mpeg12: Pad framerate tab to 16 entries. kgv1dec: Increase offsets array size so it is large enough. kmvc: Check palsize. nsvdec: Propagate errors nsvdec: Be more careful with av_malloc(). nsvdec: Fix use of uninitialized streams. movenc: cosmetics: Get rid of camelCase identifiers swscale: more generic check for planar destination formats with alpha doc: Document mov/mp4 fragmentation options build: Use order-only prerequisites for creating FATE reference file dirs. x86 dsputil: provide SSE2/SSSE3 versions of bswap_buf rtsp: Remove some unused variables from ff_rtsp_connect(). avutil: make intfloat api public avformat_write_header(): detail error message ... Conflicts: doc/APIchanges doc/ffmpeg.texi doc/muxers.texi ffmpeg.c libavcodec/kmvc.c libavcodec/x86/Makefile libavcodec/x86/dsputil_yasm.asm libavcodec/x86/pngdsp-init.c libavformat/movenc.c libavformat/movenc.h libavformat/mpegtsenc.c libavformat/nsvdec.c libavformat/utils.c libavutil/avutil.h libswscale/swscale.c Merged-by: Michael Niedermayer <[email protected]>
| * | aacenc: make sure to encode enough frames to cover all input samples.Justin Ruggles2012-01-301-7/+5
| | | | | | | | | | | | | | | | | | Currently, any samples in the final frame are not decoded because they are only represented by one frame instead of two. So we encode two final frames to cover both the analysis delay and the MDCT delay.
| * | aacenc: only use the number of input samples provided by the user.Justin Ruggles2012-01-301-3/+5
| | | | | | | | | | | | Fixes handling of CODEC_CAP_SMALL_LAST_FRAME.
| * | wmadec: Verify bitstream size makes sense before calling init_get_bits.Alex Converse2012-01-301-0/+2
| | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
| * | kmvc: Log into a context at a log level constant.Alex Converse2012-01-301-1/+2
| | |
| * | mpeg12: Pad framerate tab to 16 entries.Alex Converse2012-01-301-1/+1
| | | | | | | | | | | | | | | | | | There are many places where we read an unchecked 4-bit index into it. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind