summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* Fix typos when converting inline asm to yasm, fixes MMX-only fate-ea-vp61.Ronald S. Bultje2010-08-26
| | | | Originally committed as revision 24948 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Clarify code/avoid possible bugs by using precalculated values that are used ↵Tobias Bindhammer2010-08-26
| | | | | | for extradata as well Originally committed as revision 24941 to svn://svn.ffmpeg.org/ffmpeg/trunk
* enable a flexible lifetimeTobias Bindhammer2010-08-26
| | | | Originally committed as revision 24940 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Setting proper values in extradata for future use in muxerTobias Bindhammer2010-08-26
| | | | Originally committed as revision 24939 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Flush the PutBitsContext at the end of each block when encoding ADPCM IMA QTMartin Storsjö2010-08-26
| | | | Originally committed as revision 24938 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_get_channel_layout().S.N. Hemanth Meenakshisundaram2010-08-26
| | | | | | Patch by S.N. Hemanth Meenakshisundaram smeenaks:ucsd+edu. Originally committed as revision 24936 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert r24931, it broke Win32 and some BSD compiles (yay fate).Ronald S. Bultje2010-08-25
| | | | Originally committed as revision 24934 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove duplicate definitions of fullpel MC functionsMåns Rullgård2010-08-25
| | | | | | | This removes duplicated definitions of 8x8 and 16x16 fullpel MC functions with various names reducing dsputil.o by 8k on x86_64. Originally committed as revision 24933 to svn://svn.ffmpeg.org/ffmpeg/trunk
* sp5x: remove broken code under #if 0Måns Rullgård2010-08-25
| | | | Originally committed as revision 24932 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark xmm6 and xmm7 as clobbered in ff_vp3_idct_sse2(), which is contributingRonald S. Bultje2010-08-25
| | | | | | to the VP6 fate failures on Win64. Originally committed as revision 24931 to svn://svn.ffmpeg.org/ffmpeg/trunk
* VP6: fix vp6_filter_diag4_mmx/sse on 64-bitMåns Rullgård2010-08-25
| | | | | | | The stride can be negative and must be sign extended before being used in pointer arithmetic. Originally committed as revision 24926 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ARM: update struct offsetsMåns Rullgård2010-08-25
| | | | Originally committed as revision 24923 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move vp6_filter_diag4() x86 SIMD code from inline ASM to YASM. This shouldRonald S. Bultje2010-08-25
| | | | | | help in fixing the Win64 fate failures. Originally committed as revision 24922 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move vp6_filter_diag4() from DSPContext to VP56DSPContext.Ronald S. Bultje2010-08-25
| | | | Originally committed as revision 24921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cleanup a bit in a64multi_encode_frame()Tobias Bindhammer2010-08-25
| | | | Originally committed as revision 24914 to svn://svn.ffmpeg.org/ffmpeg/trunk
* added/extended some comments in a64multi_encode_frame()Tobias Bindhammer2010-08-25
| | | | Originally committed as revision 24913 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove global mm_flags variableMåns Rullgård2010-08-24
| | | | Originally committed as revision 24909 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark xmm registers as clobbered in simple loopfilter. Should fix the lastRonald S. Bultje2010-08-24
| | | | | | two VP8-related fate failures on Win64. Originally committed as revision 24908 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix undefined expressions that use multiple calls to get_bits().Alex Converse2010-08-24
| | | | | | | | | Because the order of evaluation of subexpressions is undefined, two get_bits() calls may not be part of the same expression. See also r24902. Originally committed as revision 24906 to svn://svn.ffmpeg.org/ffmpeg/trunk
* msmpeg4v1: fix undefined behaviour in msmpeg4_decode_picture_header()Måns Rullgård2010-08-24
| | | | | | | | | | Because the order of evaluation of subexpressions is undefined, two get_bits() calls may not be part of the same expression. In this specific case, using get_bits_long() is simpler. This fixes msmpeg4v1 decoding with armcc. Originally committed as revision 24902 to svn://svn.ffmpeg.org/ffmpeg/trunk
* added interlacing option and compression option for colorram (lut)Tobias Bindhammer2010-08-24
| | | | Originally committed as revision 24901 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fixed some return values and deprecated CODEC_TYPE_VIDEO.Tobias Bindhammer2010-08-24
| | | | | | dithering (faster) along a linear gradient now. Originally committed as revision 24898 to svn://svn.ffmpeg.org/ffmpeg/trunk
* acenc: LAME-inspired window decisionNathan Caldwell2010-08-23
| | | | | | | | | | | | This performs quite a bit better than the current 3GPP-inspired window decision on all the samples I have tested. On the castanets.wav sample it performs very similar to iTunes window selection, and seems to perform better than Nero. On fatboy.wav, it seems to perform at least as good as iTunes, if not better. Nero performs horribly on this sample. Patch by: Nathan Caldwell <saintdev@gmail.com> Originally committed as revision 24892 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert unintended changes to fft.h from r24890.Alex Converse2010-08-23
| | | | Originally committed as revision 24891 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Rename Psy3gpp* structs to AacPsy*Nathan Caldwell2010-08-23
| | | | | | | | | | This allows cleaner implementation of other psymodels using the existing structs. It also will make it easier to interchange individual parts of the psymodel to create hybrid models. Patch by: Nathan Caldwell <saintdev@gmail.com> Originally committed as revision 24890 to svn://svn.ffmpeg.org/ffmpeg/trunk
* imdct/x86: Use "s->mdct_size" instead of "1 << s->mdct_bits".Alex Converse2010-08-23
| | | | | | It generates smaller cleaner code. Originally committed as revision 24887 to svn://svn.ffmpeg.org/ffmpeg/trunk
* removed an unnecessary blank lineTobias Bindhammer2010-08-23
| | | | Originally committed as revision 24882 to svn://svn.ffmpeg.org/ffmpeg/trunk
* enabling codec and muxer by registering it in allcodec.c and allformat.c and ↵Tobias Bindhammer2010-08-23
| | | | | | adding files to the build-system Originally committed as revision 24878 to svn://svn.ffmpeg.org/ffmpeg/trunk
* added codec-ids for the a64 codecTobias Bindhammer2010-08-23
| | | | Originally committed as revision 24877 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Initial version of the a64 (multicolor charset) codecTobias Bindhammer2010-08-23
| | | | Originally committed as revision 24873 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix segfaults in VP8 SIMD code on Win64 (and FATE/win64 failures).Ronald S. Bultje2010-08-23
| | | | Originally committed as revision 24871 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Convert ff_imdct_half_sse() to yasm.Alex Converse2010-08-22
| | | | | | | This is to avoid split asm sections that attempt to preserve some registers between sections. Originally committed as revision 24869 to svn://svn.ffmpeg.org/ffmpeg/trunk
* The 24-bit ydt also should not depend on endianness,Reimar Döffinger2010-08-21
| | | | | | | | | since all of it ends up in a single 32-bit pixel. This seems likely to be wrong though, since it is different from the 15 and 16 bit modes and might explain the half-width issue for 24 bit truemotion. Originally committed as revision 24864 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Since the 24 bit format is decoded to endian-dependantReimar Döffinger2010-08-21
| | | | | | | BGR32 and not BGR24, do not swap red and blue on big-endian for this format as well. Originally committed as revision 24863 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not swap red and blue when decoding truemotionReimar Döffinger2010-08-21
| | | | | | on big-endian. Originally committed as revision 24862 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: remove useless ().Stefano Sabatini2010-08-21
| | | | Originally committed as revision 24860 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Export the presentation video dimensions as avctx->width/avctx->height.Reimar Döffinger2010-08-21
| | | | Originally committed as revision 24858 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dv: fix alignment of scratch bufferMåns Rullgård2010-08-20
| | | | Originally committed as revision 24854 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fixed mpeg12 top field first flag value with field picture encoding.Laurent Aimar2010-08-20
| | | | | | | | | | | | | The relevent extract of the iso 13818-2 about the value of the syntaxical element top_field_first of the Picture Coding Extension is: "top_field_first -- The meaning of this element depends upon picture_structure, progressive_sequence and repeat_first_field. [...] In a field picture top_field_first shall have the value '0', and the only field output by the decoding process is the decoded field picture." Originally committed as revision 24853 to svn://svn.ffmpeg.org/ffmpeg/trunk
* imc: fix undefined float to int conversionMåns Rullgård2010-08-19
| | | | | | | | Conversion of an out of range float to int is undefined. Clipping to the final range first avoids such problems. This fixes decoding on MIPS, which handles these conversions differently from many other CPUs. Originally committed as revision 24838 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fft-test: format error output more readablyMåns Rullgård2010-08-16
| | | | Originally committed as revision 24799 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove some stray +s in VP8Jason Garrett-Glaser2010-08-13
| | | | Originally committed as revision 24791 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Deprecate ff_get_plane_bytewidth() in favor ofStefano Sabatini2010-08-12
| | | | | | av_get_image_linesize(). Originally committed as revision 24787 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement av_get_image_linesize() and use it inStefano Sabatini2010-08-12
| | | | | | | | ff_get_plane_bytewidth(). The new implementation is more generic, more compact and more correct. Originally committed as revision 24786 to svn://svn.ffmpeg.org/ffmpeg/trunk
* VP5/6/8: ~7% faster arithmetic decodingJason Garrett-Glaser2010-08-12
| | | | | | | Grab from the bitstream in 16-bit chunks instead of 8-bit chunks. TODO: grab in 32-bit chunks on 64-bit systems. Originally committed as revision 24783 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_picture_data_copy() and reimplement av_picture_copy() as aS.N. Hemanth Meenakshisundaram2010-08-11
| | | | | | | | | | | wrapper of it. The new function is more generic, and does not depend on the definition of the AVPicture struct. Patch by S.N. Hemanth Meenakshisundaram s + "meenakshisundaram".substr(0, 7) + "@ucsd.edu". Originally committed as revision 24768 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove b4_stride/mb_stride.Pascal Massimino2010-08-11
| | | | | | | | correct mb_xy to use mb_width. tighten allocations. reduce the amount of zeroing. Originally committed as revision 24760 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix over-allocation. confused b4_stride with mb_width.Pascal Massimino2010-08-11
| | | | Originally committed as revision 24758 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix buffer overrun if idx is negative (it can be down to -23>>4), by prependingRonald S. Bultje2010-08-09
| | | | | | | two padding zeroes before it. Should fix fate failures on openBSD and crashes on MacOSX (that I cannot reproduce). Originally committed as revision 24750 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix handling of truncated files. Should fix random FATE breakages.Vitor Sessak2010-08-09
| | | | Originally committed as revision 24745 to svn://svn.ffmpeg.org/ffmpeg/trunk