summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* Count non-header data towards intra block bit count in MJPEG encoderBobby Bingham2010-12-04
| | | | Originally committed as revision 25873 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change the argument of memory allocation functions from unsigned int to size_tMichael Niedermayer2010-12-04
| | | | | | with the next major bump in libavcodec. Originally committed as revision 25872 to svn://svn.ffmpeg.org/ffmpeg/trunk
* g722: Add a trellis encoderMartin Storsjö2010-12-03
| | | | | | The structure is largely based on the trellis encoder in adpcm.c. Originally committed as revision 25866 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use SECTION .text for yasm code.avcoder2010-12-01
| | | | | | Patch by avcoder, ffmpeg gmail Originally committed as revision 25859 to svn://svn.ffmpeg.org/ffmpeg/trunk
* adpcm: Skip samples whose ssd calculation has wrapped aroundMartin Storsjö2010-12-01
| | | | | | | | | | | | | | | Wraparound in ssd is mainly avoided by subtracting the ssd of the best node from all the others once it has grown large enough. If using very large trellis sizes (e.g. -trellis 15), the frontier is so large that the difference between the best and the worst is large enough to cause wraparound, even if the ssd of the best one is subtracted regularly. When using -trellis 10 on a 30 second sample, this causes only a slight slowdown, from 61 to 64 seconds. Originally committed as revision 25858 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ensure the ASS string in AVSubtitleRect is 0 terminatedAurelien Jacobs2010-11-27
| | | | Originally committed as revision 25832 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mobotix .mxg demuxerAnatoly Nenashev2010-11-26
| | | | | | Patch by Anatoly Nenashev, anatoly d nenashev a ovsoft d ru Originally committed as revision 25831 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix memleak: free palette data on close.Reimar Döffinger2010-11-23
| | | | Originally committed as revision 25816 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l, fix missing decrement on split PGS packets.Reimar Döffinger2010-11-23
| | | | Originally committed as revision 25810 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In h264 decoder, fix decoding when nal end sequence is presentBaptiste Coudurier2010-11-23
| | | | Originally committed as revision 25809 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fail RLE decoding if insufficient data for a complete bitmap was decoded.Reimar Döffinger2010-11-22
| | | | Originally committed as revision 25797 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support PGS subtitles with RLE data split over mutiple packets.Mark Goodman2010-11-22
| | | | | | Patch by Mark Goodman [mark goodman gmail com] with some modifications by me. Originally committed as revision 25796 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix pointer truncation to int in avpicture_layout()Ramiro Polla2010-11-22
| | | | Originally committed as revision 25793 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Re-implement avpicture_layout() using pixdesc and imgutils API.Stefano Sabatini2010-11-21
| | | | | | | The new implementation is more compact, more correct and doesn't hurt the eyes. Originally committed as revision 25792 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace "depth" with "nb_bits" in the header of avcodec_pix_fmt_string().Stefano Sabatini2010-11-21
| | | | Originally committed as revision 25791 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Musepack SV8 supports "mono" files (though it still codes them as stereo),Kostya Shishkov2010-11-21
| | | | | | | | so extend decoder to output only one channel for it. This fixes issue 2368. Originally committed as revision 25790 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use the new libavcore audio channel API.Stefano Sabatini2010-11-21
| | | | | | | This also allows to remove a linking dependency of libavfilter on libavcodec. Originally committed as revision 25789 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove declaration of function:Stefano Sabatini2010-11-21
| | | | | | | | const char *avcodec_get_channel_name(int channel_id) which was never implemented. Originally committed as revision 25788 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move audio channel API from libavcodec to libavcore.Stefano Sabatini2010-11-21
| | | | Originally committed as revision 25787 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix indentation.Reimar Döffinger2010-11-21
| | | | Originally committed as revision 25780 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add explanation and alternative implementation for strange xanReimar Döffinger2010-11-21
| | | | | | gamma correction. Originally committed as revision 25779 to svn://svn.ffmpeg.org/ffmpeg/trunk
* WC3/xan: move palette handling to decoder, avoiding need forReimar Döffinger2010-11-21
| | | | | | | | PaletteControl. This also fixes playback of some files with ffplay (images were corrupted for a short time after a palette change). Originally committed as revision 25778 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a av_grow_packet function, to be used by code that mergesReimar Döffinger2010-11-21
| | | | | | palette and video data packets to get rid of PaletteControl. Originally committed as revision 25776 to svn://svn.ffmpeg.org/ffmpeg/trunk
* adpcm: Fix a comment in the trellis heap codeMartin Storsjö2010-11-20
| | | | | | This makes the wording consistent with how people usually talk about heaps. Originally committed as revision 25775 to svn://svn.ffmpeg.org/ffmpeg/trunk
* adpcm: Only increment heap_pos after finding a good enough sampleMartin Storsjö2010-11-19
| | | | | | | This increases the PSNR slightly (about 0.1 dB) for trellis sizes below 8, and gives equal PSNR for sizes above that. Originally committed as revision 25769 to svn://svn.ffmpeg.org/ffmpeg/trunk
* adpcm: Use a hash table to improve checking for duplicate samplesMartin Storsjö2010-11-19
| | | | | | | | | This lowers the run time from 158 to 21 seconds, for -trellis 8 with a 30 second sample on my machine. This requires 64 KB additional memory. Originally committed as revision 25768 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix qdm2 decoder packet handling to match the apiBaptiste Coudurier2010-11-19
| | | | Originally committed as revision 25767 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Order matters, fix test files linking.Stefano Sabatini2010-11-19
| | | | Originally committed as revision 25766 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make DNxHD encoder produce files that are strictly VC-3 compatibleBaptiste Coudurier2010-11-16
| | | | Originally committed as revision 25756 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 16l trocadero: Musepack SV7 decoder may skip more than 16 bits at theKostya Shishkov2010-11-15
| | | | | | | beginning of the frame, so make it use skip_bits_long() instead of skip_bits() for that. Originally committed as revision 25754 to svn://svn.ffmpeg.org/ffmpeg/trunk
* minor bump and Changelog entry for r25747Aurelien Jacobs2010-11-14
| | | | Originally committed as revision 25753 to svn://svn.ffmpeg.org/ffmpeg/trunk
* minor bump and APIchanges for r25745Aurelien Jacobs2010-11-14
| | | | Originally committed as revision 25752 to svn://svn.ffmpeg.org/ffmpeg/trunk
* adpcm: Fix a commentMartin Storsjö2010-11-14
| | | | Originally committed as revision 25751 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add missing files in previous commit (ASS encoder and decoder)Aurelien Jacobs2010-11-13
| | | | Originally committed as revision 25747 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add ASS encoder and decoderAurelien Jacobs2010-11-13
| | | | Originally committed as revision 25746 to svn://svn.ffmpeg.org/ffmpeg/trunk
* allow passing subtitles header between decoder and encoderAurelien Jacobs2010-11-13
| | | | Originally committed as revision 25745 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix visual artifacts in 4XM decoding on big-endian systemVitor Sessak2010-11-12
| | | | Originally committed as revision 25734 to svn://svn.ffmpeg.org/ffmpeg/trunk
* adpcm: Replace any of the leaf nodes in the heapMartin Storsjö2010-11-12
| | | | | | | | | | | By not looking for the exactly largest node, we avoid an O(n) seek through the leaf nodes. Just pick one (not the same one every time) and try replacing that node with the new one. For -trellis 8, this lowers the run time from 190 to 158 seconds, for a 30 second 44 kHz mono sample, on my machine. Originally committed as revision 25733 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ReindentMartin Storsjö2010-11-12
| | | | Originally committed as revision 25732 to svn://svn.ffmpeg.org/ffmpeg/trunk
* adpcm: Store the trellis nodes in a heap instead of a sorted arrayMartin Storsjö2010-11-12
| | | | | | | | | | This avoids having to memmove the large parts of the array when inserting into it. For -trellis 8, this lowers the run time from 245 seconds to 190 seconds, for a 30 second 44 kHz mono sample, on my machine. Originally committed as revision 25731 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enumStefano Sabatini2010-11-12
| | | | | | SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l: dx shouldn't exist.Alex Converse2010-11-12
| | | | | | sorry sorry sorry sorry Originally committed as revision 25726 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l: vorbisdec: declare dyAlex Converse2010-11-12
| | | | Originally committed as revision 25725 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vorbisdec: Fix floor1 decodingGregory Maxwell2010-11-12
| | | | | | | | | | | | | | | | | | | | | An intermediate value in the floor 1 linear interpolation was overflowing resulting in obvious artifacts on some files. e.g. http://upload.wikimedia.org/wikipedia/commons/7/79/Big_Buck_Bunny_small.ogv Prior to this fix 87 out of 128 64kbit/s mono files decoded with ffmpeg have lower PEAQ ODG values than the same files decoded with libvorbis. With this fix none of that set have significantly worse ODG values than libvorbis. Fixes issue 2352 Patch by Gregory Maxwell <greg@xiph.org> Originally committed as revision 25724 to svn://svn.ffmpeg.org/ffmpeg/trunk
* MJPEG/AVI1 to JPEG/JFIF bitstream filter.Nicolas George2010-11-11
| | | | Originally committed as revision 25721 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove bitrate tolerance from libx264 interfaceJason Garrett-Glaser2010-11-11
| | | | | | | Nobody ever uses it correctly, and ffmpeg sets it incorrectly, so we'll just leave it out. Originally committed as revision 25720 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In avcodec_pix_fmt_string() use local variable pixdesc rather thanStefano Sabatini2010-11-10
| | | | | | av_pix_fmt_descriptors[pix_fmt], simplify. Originally committed as revision 25718 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avcodec_pix_fmt_string() use the information in the pixel formatStefano Sabatini2010-11-10
| | | | | | | | | | | | | | | | | | descriptors for printing the number of channels/components. Also replace the term "nb_channels" with "nb_components" which is more consistent with the FFmpeg internal terminology, and is somehow different with respect to the current definition of nb_channels in PixFmtInfo. See thread: Subject: [FFmpeg-devel] [PATCH 6/8] Make avcodec_pix_fmt_string() use the information in the pixel format descriptors for printing the number of planes. Also replace the term "nb_channels" with "nb_planes" which is more correct. Date: Fri, 5 Nov 2010 12:01:38 +0100 Originally committed as revision 25717 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify: Remove impossible condition.Nicolas Kaiser2010-11-09
| | | | | | Patch by Nicolas Kaiser, nikai nikai net Originally committed as revision 25714 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move internal function ff_set_systematic_pal() to libavcore, andStefano Sabatini2010-11-09
| | | | | | rename it ff_set_systematic_pal2(). Originally committed as revision 25712 to svn://svn.ffmpeg.org/ffmpeg/trunk