summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
...
| * | cosmetics: Delete empty lines at end of file.Diego Biurrun2012-02-0917-24/+0
| | |
| * | bytestream: K&R formatting cosmeticsAneesh Dogra2012-02-091-53/+68
| | | | | | | | | | | | Signed-off-by: Diego Biurrun <[email protected]>
| * | rawenc: switch to encode2().Anton Khirnov2012-02-081-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes a number of FATE results, since before this commit, the timestamps in all tests using rawenc were made up by lavf. In most cases, the previous timestamps were completely bogus. In some other cases -- raw formats, mostly h264 -- the new timestamps are bogus as well. The only difference is that timestamps invented by the muxer are replaced by timestamps invented by the demuxer. cscd -- avconv sets output codec timebase from r_frame_rate and r_frame_rate is in this case some guessed number 31.42 (377/12), which is not accurate enough to represent all timestamps. This results in some frames having duplicate pts. Therefore, vsync 0 needs to be changed to vsync 2 and avconv drops two frames. A proper fix in the future would be to set output timebase to something saner in avconv. nuv -- previous timestamps for video were wrong AND the cscd comment applies, one frame is dropped. vp8-signbias -- the file contains two frames with identical timestamps, so -vsync 0 needs to be removed/changed to -vsync 2 and avconv drops one frame. vc1-ism -- apparrently either the demuxer lies about timestamps or the file is broken, since dts == pts on all packets, but reordering clearly takes place.
* | | Fix libstagefright compilationCarl Eugen Hoyos2012-02-091-7/+17
| | | | | | | | | | | | | | | Comment-by-michael: iam commiting this as the code cannot work without it and likely works with it. Signed-off-by: Michael Niedermayer <[email protected]>
* | | Support encoding BGR24 and BGR0 in ljpeg.Carl Eugen Hoyos2012-02-093-3/+18
| | |
* | | Allow encoding rawvideo RGBA64 and friends.Carl Eugen Hoyos2012-02-091-0/+4
| | |
* | | Allow encoding rawvideo RGB0 and friends.Carl Eugen Hoyos2012-02-091-0/+4
| | |
* | | mpeg12dec: print the value that is being ignored in load_matrix()Michael Niedermayer2012-02-091-1/+1
| | | | | | | | | | | | | | | | | | error message by Reimar Signed-off-by: Michael Niedermayer <[email protected]>
* | | bink: fix pointer type warnings.Michael Niedermayer2012-02-091-2/+2
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-0917-586/+206
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: pixdesc: mark pseudopaletted formats with a special flag. avconv: switch to avcodec_encode_video2(). libx264: implement encode2(). libx264: split extradata writing out of encode_nals(). lavc: add avcodec_encode_video2() that encodes from an AVFrame -> AVPacket cmdutils: update copyright year to 2012. swscale: sign-extend integer function argument to qword on x86-64. x86inc: support yasm -f win64 flag also. h264: manually save/restore XMM registers for functions using INIT_MMX. x86inc: allow manual use of WIN64_SPILL_XMM. aacdec: Use correct speaker order for 7.1. aacdec: Remove incorrect comment. aacdec: Simplify output configuration. Remove Sun medialib glue code. dsputil: set STRIDE_ALIGN to 16 for x86 also. pngdsp: swap argument inversion. Conflicts: cmdutils.c configure doc/APIchanges ffmpeg.c libavcodec/aacdec.c libavcodec/dsputil.h libavcodec/libx264.c libavcodec/mlib/dsputil_mlib.c libavcodec/utils.c libavfilter/vf_scale.c libavutil/avutil.h libswscale/mlib/yuv2rgb_mlib.c Merged-by: Michael Niedermayer <[email protected]>
| * | pixdesc: mark pseudopaletted formats with a special flag.Anton Khirnov2012-02-082-9/+2
| | | | | | | | | | | | | | | | | | This makes it possible to dintinguish them from PAL8. Fixes an invalid write in avpicture_layout().
| * | libx264: implement encode2().Anton Khirnov2012-02-081-18/+29
| | |
| * | libx264: split extradata writing out of encode_nals().Anton Khirnov2012-02-081-12/+14
| | | | | | | | | | | | This is done in preparation for the following patch.
| * | lavc: add avcodec_encode_video2() that encodes from an AVFrame -> AVPacketAnton Khirnov2012-02-083-8/+134
| | | | | | | | | | | | Deprecate avcodec_encode_video().
| * | h264: manually save/restore XMM registers for functions using INIT_MMX.Ronald S. Bultje2012-02-082-0/+6
| | | | | | | | | | | | | | | On Win64, these registers are callee-save, so not saving/restoring them correctly is a violation of ABI and can lead to crashes or corrupt data.
| * | aacdec: Use correct speaker order for 7.1.Alex Converse2012-02-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | The spec says the following speaker mapping is default: center front speaker left, right center front speakers, left, right outside front speakers, left surround, right surround rear speakers, front low frequency effects speaker
| * | aacdec: Remove incorrect comment.Alex Converse2012-02-081-3/+0
| | | | | | | | | | | | It was only correct when element ids met very specific criteria.
| * | aacdec: Simplify output configuration.Alex Converse2012-02-081-15/+15
| | |
| * | Remove Sun medialib glue code.Diego Biurrun2012-02-088-481/+1
| | | | | | | | | | | | | | | It is obscure, most likely unused and not bit-exact compared to libavcodec due to a different IDCT transform algorithm.
| * | dsputil: set STRIDE_ALIGN to 16 for x86 also.Ronald S. Bultje2012-02-072-28/+2
| | | | | | | | | | | | | | | | | | This fixes crashes in e.g. PNG decoding with SSE2 enabled. In fact, many x86 optimizations for codecs assume that our buffer strides are 16-byte aligned.
| * | pngdsp: swap argument inversion.Ronald S. Bultje2012-02-071-1/+1
| | |
* | | lagarith: refactor codePaul B Mahol2012-02-081-54/+22
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-084-90/+206
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: swscale: make yuv2yuv1 use named registers. h264: mark h264_idct_add8_10 with number of XMM registers. swscale: fix V plane memory location in bilinear/unscaled RGB/YUYV case. vp8: always update next_framep[] before returning from decode_frame(). avconv: estimate next_dts from framerate if it is set. avconv: better next_dts usage. avconv: rename InputStream.pts to last_dts. avconv: reduce overloading for InputStream.pts. avconv: rename InputStream.next_pts to next_dts. avconv: rework -t handling for encoding. avconv: set encoder timebase for subtitles. pva-demux test: add -vn swscale: K&R formatting cosmetics for SPARC code apedec: allow the user to set the maximum number of output samples per call apedec: do not unnecessarily zero output samples for mono frames apedec: allocate a single flat buffer for decoded samples apedec: use sizeof(field) instead of sizeof(type) swscale: split C output functions into separate file. swscale: Split C input functions into separate file. bytestream: Add bytestream2 writing API. The avconv changes are due to massive regressions and bugs not merged yet. Conflicts: ffmpeg.c libavcodec/vp8.c libswscale/swscale.c libswscale/x86/swscale_template.c tests/fate/demux.mak tests/ref/lavf/asf tests/ref/lavf/avi tests/ref/lavf/mkv tests/ref/lavf/mpg tests/ref/lavf/nut tests/ref/lavf/ogg tests/ref/lavf/rm tests/ref/lavf/ts tests/ref/seek/lavf_avi tests/ref/seek/lavf_mkv tests/ref/seek/lavf_rm Merged-by: Michael Niedermayer <[email protected]>
| * | h264: mark h264_idct_add8_10 with number of XMM registers.Michael Kostylev2012-02-071-1/+1
| | | | | | | | | | | | | | | | | | This fixes XMM register clobber problems on Win64. Signed-off-by: Ronald S. Bultje <[email protected]>
| * | vp8: always update next_framep[] before returning from decode_frame().Ronald S. Bultje2012-02-071-14/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also slightly move around code not allocate a new frame if we won't decode it. This prevents us from putting undecoded frames in frame pointers, which (in mt decoding) other threads will use and wait on as references, causing a deadlock (if we skipped decoding) or a crash (if we didn't initialized next_framep[] at all). Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
| * | apedec: allow the user to set the maximum number of output samples per callJustin Ruggles2012-02-071-2/+20
| | | | | | | | | | | | | | | | | | | | | It makes sense in some cases to split up the output packet to save on memory usage (ape frames can be very large), but the current/default size is arbitrary. Allowing the user to configure this gives more flexibility and requires minimal additional code.
| * | apedec: do not unnecessarily zero output samples for mono framesJustin Ruggles2012-02-071-11/+4
| | |
| * | apedec: allocate a single flat buffer for decoded samplesJustin Ruggles2012-02-071-24/+29
| | | | | | | | | | | | | | | This will allow the decoder to return samples for the full packet, and it also makes the decoded buffer pointers aligned.
| * | apedec: use sizeof(field) instead of sizeof(type)Justin Ruggles2012-02-071-8/+10
| | |
| * | bytestream: Add bytestream2 writing API.Aneesh Dogra2012-02-061-0/+112
| | | | | | | | | | | | Signed-off-by: Justin Ruggles <[email protected]>
* | | Set default qmax for VC-3/DNxHD to 1024 (maximum allowed by VC-3 spec).Joseph Artsimovich2012-02-072-1/+8
| | | | | | | | | | | | | | | | | | Also increase the global limit on qmax. Signed-off-by: Michael Niedermayer <[email protected]>
* | | Fix libutvideo compilation.Carl Eugen Hoyos2012-02-071-8/+18
| | | | | | | | | | | | Fixes ticket #985.
* | | lavc: provide aliases to the PCM A-law/mu-law codecsStefano Sabatini2012-02-071-2/+2
| | | | | | | | | | | | They are also known as G.711 codecs.
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-0714-17/+17
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Revert "v210enc: use FFALIGN()" doxygen: Do not include license boilerplates in Doxygen comment blocks. avplay: reset decoder flush state when seeking ape: skip packets with invalid size ape: calculate final packet size instead of guessing ape: stop reading after the last frame has been read ape: return AVERROR_EOF instead of AVERROR(EIO) when demuxing is finished ape: return error if seeking to the current packet fails in ape_read_packet() avcodec: Clarify AVFrame member documentation. v210dec: check for coded_frame allocation failure v210enc: use stride as it is already calculated v210enc: use FFALIGN() v210enc: return proper AVERROR codes instead of -1 v210enc: do not set coded_frame->key_frame v210enc: check for coded_frame allocation failure drawtext: add 'fix_bounds' option on coords fixing drawtext: fix text_{w, h} expression vars drawtext: add missing braces around an if() block. Conflicts: libavcodec/arm/vp8.h libavcodec/arm/vp8dsp_init_arm.c libavcodec/v210dec.c libavfilter/vf_drawtext.c libavformat/ape.c Merged-by: Michael Niedermayer <[email protected]>
| * | Revert "v210enc: use FFALIGN()"Paul B Mahol2012-02-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | FFALIGN doesn't work with non-powers-of-2. This reverts commit 7ad1b612c8a2a1b1b47f6c3c580ced4bca17e1c7. Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Anton Khirnov <[email protected]>
| * | doxygen: Do not include license boilerplates in Doxygen comment blocks.Diego Biurrun2012-02-0612-12/+12
| | |
| * | avcodec: Clarify AVFrame member documentation.Kieran Kunhya2012-02-061-2/+2
| | | | | | | | | | | | Signed-off-by: Diego Biurrun <[email protected]>
| * | v210dec: check for coded_frame allocation failurePaul B Mahol2012-02-061-0/+2
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Anton Khirnov <[email protected]>
| * | v210enc: use stride as it is already calculatedPaul B Mahol2012-02-061-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Anton Khirnov <[email protected]>
| * | v210enc: use FFALIGN()Paul B Mahol2012-02-061-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Anton Khirnov <[email protected]>
| * | v210enc: return proper AVERROR codes instead of -1Paul B Mahol2012-02-061-2/+2
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Anton Khirnov <[email protected]>
| * | v210enc: do not set coded_frame->key_framePaul B Mahol2012-02-061-1/+0
| | | | | | | | | | | | | | | | | | | | | It is already set in avcodec_alloc_frame(). Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Anton Khirnov <[email protected]>
| * | v210enc: check for coded_frame allocation failurePaul B Mahol2012-02-061-0/+2
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Anton Khirnov <[email protected]>
* | | utvideo: remove ff_thread_finish_setup, it isn't needed at allPaul B Mahol2012-02-071-2/+0
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | | ffv1: PIX_FMT_GRAY16 supportPaul B Mahol2012-02-061-9/+19
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | | DNxHD: remove ff_thread_finish_setup, it isn't needed at all.Javier Cabezas2012-02-061-2/+0
| | | | | | | | | | | | | | | | | | Should fix issue #938 Signed-off-by: Michael Niedermayer <[email protected]>
* | | v408: do not unconditionally compile codecsPaul B Mahol2012-02-062-3/+8
| | |
* | | Add v408 / AYUV encoder and decoder.Carl Eugen Hoyos2012-02-056-2/+249
| | | | | | | | | | | | | | | | | | Fixes last part of ticket #470. Reviewed-by: Paul B Mahol
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-051-11/+45
|\| | | | | | | | | | | | | | | | | | | | | | | * qatar/master: ape: fix seeking apedec: 8bit and 24bit support Merged-by: Michael Niedermayer <[email protected]>
| * | apedec: 8bit and 24bit supportPaul B Mahol2012-02-041-11/+45
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Justin Ruggles <[email protected]>