summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* lavc: add format field to AVFrameStefano Sabatini2011-05-07
| | | | | | The format is a per-frame property, having it in AVFrame simplify the operation of extraction of that information, since avoids the need to access the codec/stream context.
* lavc: add width and height fields to AVFrameStefano Sabatini2011-05-07
| | | | | | width and height are per-frame properties, setting these values in AVFrame simplify the operation of extraction of that information, since avoids the need to check the codec/stream context.
* Use av_fast_malloc instead of av_fast_realloc.Reimar Döffinger2011-05-07
| | | | Avoids a memleak, is less code and might be faster.
* msvideo1enc: minor cosmetic cleanup, use FFALIGN, avoid calculating valueReimar Döffinger2011-05-07
| | | | twice and add a missing "const".
* Merge remote branch 'qatar/master'Michael Niedermayer2011-05-07
|\ | | | | | | | | | | * qatar/master: mov: fix composition timestamps on movie fragments. wmavoice: Use proper size in memeset().
| * wmavoice: Use proper size in memeset().Alex Converse2011-05-05
| | | | | | | | | | sizeof(array_functrion_argument) gives the size of the pointer type not the size of the array to which it points.
* | mpegvideo: fix 422 lowresMichael Niedermayer2011-05-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Allow encodiing empty subtitles.JULIAN GARDNER2011-05-06
| |
* | In svq3 decoder, check negative mb_type, fix potential crash.Baptiste Coudurier2011-05-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | MPEG: support 4:4:4 lowresMichael Niedermayer2011-05-05
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | MPEG: support 4:4:4 intra lowresMichael Niedermayer2011-05-05
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | SVQ3: do not modify const input bufferBaptiste Coudurier2011-05-05
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | SVQ3: Check that things match up after a frame.Baptiste Coudurier2011-05-05
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | SVQ3: Move svq3 specific fields to their own context.Baptiste Coudurier2011-05-05
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote branch 'qatar/master'Michael Niedermayer2011-05-05
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (23 commits) doc: Check standalone compilation before submitting new components. Fix standalone compilation of pipe protocol. Fix standalone compilation of ac3_fixed encoder. Fix standalone compilation of binkaudio_dct / binkaudio_rdft decoders. Fix standalone compilation of IMC decoder. Fix standalone compilation of WTV demuxer. Fix standalone compilation of MXPEG decoder. flashsv: K&R cosmetics matroskaenc: fix memory leak vc1: make overlap filter for I-frames bit-exact. vc1dec: use s->start/end_mb_y instead of passing them as function args. Revert "VC1: merge idct8x8, coeff adjustments and put_pixels." Replace strncpy() with av_strlcpy(). indeo3: Eliminate use of long. get_bits: make cache unsigned to eliminate undefined signed overflow. asfdec: fix assert failure on invalid files avfilter: check malloc return values. Not pulled as reason for reindent is not pulled: mpegvideo: reindent. nutenc: check malloc return values. Not pulled due to much simpler solution in ffmpeg *: don't av_malloc(0). ... Conflicts: doc/developer.texi libavcodec/Makefile libavcodec/get_bits.h libavcodec/mpegvideo.c libavformat/Makefile libavutil/log.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Fix standalone compilation of WTV demuxer.Diego Biurrun2011-05-04
| |
| * Fix standalone compilation of MXPEG decoder.Diego Biurrun2011-05-04
| |
| * flashsv: K&R cosmeticsDiego Biurrun2011-05-04
| |
| * vc1: make overlap filter for I-frames bit-exact.Ronald S. Bultje2011-05-04
| |
| * vc1dec: use s->start/end_mb_y instead of passing them as function args.Ronald S. Bultje2011-05-04
| |
| * Revert "VC1: merge idct8x8, coeff adjustments and put_pixels."Ronald S. Bultje2011-05-04
| | | | | | | | | | | | | | This reverts commit f8bed30d8b176fa030f6737765338bb4a2bcabc9. The reason for this is that the overlap filter, which runs after IDCT, should run on unclamped values, and thus IDCT and put_pixels() cannot be merged if we want to attempt to be bitexact.
| * Replace strncpy() with av_strlcpy().Alex Converse2011-05-03
| |
| * indeo3: Eliminate use of long.Alex Converse2011-05-03
| |
| * get_bits: make cache unsigned to eliminate undefined signed overflow.Alex Converse2011-05-03
| |
| * mpegvideo: reindent.Ronald S. Bultje2011-05-03
| |
| * mpegvideo: don't av_malloc(0).Ronald S. Bultje2011-05-03
| |
* | Fix "libavcodec/dfa.c:189: warning: unused variable ‘frame_end’"Michael Niedermayer2011-05-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dvbsubdec: Split delete_state()JULIAN GARDNER2011-05-04
| |
* | xsubenc: only 1 rectangle is supported so dont allow 0 as it would crash.Michael Niedermayer2011-05-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sonic: fix sonic decoder to match encoder for sample rates other than 44100.Justin Ruggles2011-05-04
| |
* | bitstream_reader: Try to fix "get_bits.h:305:45: warning: variable ↵Michael Niedermayer2011-05-04
| | | | | | | | | | | | ‘re_cache’ set but not used [-Wunused-but-set-variable]" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | bitstream reader: remove unneeded variable initilization.Michael Niedermayer2011-05-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | MS Video 1 encoderKostya Shishkov2011-05-04
| |
* | Remove lowres support from wmv2 decoderami_stuff2011-05-03
| | | | | | | | | | | | | | | | lowres option crashes with wmv2 files which I have for test, so I think it's better to remove the support to the time when lowres will be really supported by this codec Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote branch 'qatar/master'Michael Niedermayer2011-05-03
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: vp8: frame-multithreading. Duplicate Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*. Duplicate Replace deprecated av_get_pict_type_char() with av_get_picture_type_char(). Bug spoted&removed in last merge: dpx: Do not use DPX encoder for decoding. Conflicts: ffmpeg.c ffplay.c libavcodec/h264.c libavcodec/mpeg12.c libavcodec/mpeg4videodec.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vp8: frame-multithreading.Ronald S. Bultje2011-05-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested on a Mac Pro, 2 CPUs, 2 cores each, OSX 10.6.6: time ./ffmpeg -v 0 -vsync 0 -threads [1234] -i \ ~/Downloads/sintel_trailer_1080p_vp8_vorbis.webm \ -f null -vcodec rawvideo -an - 1: 0m14.630s (89.9 fps) 2: 0m8.056s (163.2 fps) 3: 0m5.882s (223.6 fps) 4: 0m4.952s (265.6 fps) time ./ffmpeg -v 0 -vsync 0 -threads [1234] -i \ ~/Downloads/Elephants_Dream-720p-Stereo.webm \ -f null -vcodec rawvideo -an - 1: 1m12.962s (215.1 fps) 2: 0m44.682s (351.2 fps) 3: 0m31.183s (503.2 fps) 4: 0m25.284s (620.6 fps) Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-02
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * Replace deprecated av_get_pict_type_char() with av_get_picture_type_char().Stefano Sabatini2011-05-02
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * dpx: Do not use DPX encoder for decoding.Kostya Shishkov2011-05-02
| | | | | | | | 10l to the one who hasn't checked this.
* | Support decoding of 24 bit True Audio samples-Carl Eugen Hoyos2011-05-03
| | | | | | | | Many samples will fail because "Output buffer size is too small."
* | Support decoding of 8 bit True Audio samples-Carl Eugen Hoyos2011-05-03
| | | | | | | | Many samples will fail because "Output buffer size is too small."
* | Do not assume AV_SAMPLE_FMT_S16 as tta sample format.Carl Eugen Hoyos2011-05-03
| |
* | Fix init_get_bits length argument for init_get_bits.Alexandre Colucci2011-05-02
| | | | | | | | | | | | | | | | Do not use rlelen for buffer size in init_get_bits, it is only the size of the data for the first field. Since it is not reliable, just use the size of the whole buffer. Additional comments add removal of unused rlelen variable by Reimar Döffinger.
* | Change guess_palette so its output matches the most common palette.Reimar Döffinger2011-05-02
| | | | | | | | | | | | | | | | This means it uses full brightness range and brightness increasing instead of decreasing with index of non-opaque color. Based on patch by Alexandre Colucci [alexandre elgato com]
* | replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*Stefano Sabatini2011-05-02
| |
* | replace deprecated av_get_pict_type_char() with av_get_picture_type_char()Stefano Sabatini2011-05-02
| |
* | Merge remote branch 'qatar/master'Michael Niedermayer2011-05-02
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: ALPHA: Replace sized int_fast integer types with plain int/unsigned. Duplicate DPX image encoder Duplicate DPX decoder: read sample aspect ratio Duplciate DPX decoder: add buffer size checks. ac3enc: clip large coefficient values and negative exponents rather than using av_assert2(). ac3enc: do not store a bandwidth code for each channel. ac3enc: remove bandwidth reduction as fallback for bit allocation failure. ac3enc: merge compute_exp_strategy_ch() into compute_exp_strategy() ac3enc: return error if frame+exponent bits are too large instead of using av_assert2(). ac3enc: differentiate between current block and reference block in bit_alloc() ac3enc: simplify exponent_init() by calculating exponent_group_tab[] based on exponent group sizes. ac3enc: simplify stereo rematrixing decision options Include both URLs: Update URL to fate samples Conflicts: Changelog doc/fate.txt libavcodec/ac3enc.c libavcodec/dpxenc.c libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ALPHA: Replace sized int_fast integer types with plain int/unsigned.Diego Biurrun2011-05-01
| | | | | | | | | | | | int/unsigned is the natural memory access type for CPUs, using sized types for temporary variables, counters and similar just increases code size and can possibly cause a slowdown.
| * DPX image encoderPeter Ross2011-05-01
| |
| * DPX decoder: read sample aspect ratioPeter Ross2011-05-01
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>