summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-0322-263/+159
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: ARM: ac3: update ff_ac3_extract_exponents_neon per 8b7b2d6 ARM: NEON optimised vector_clip_int32() swscale: disable full_chroma_int when converting to non-24/32bpp RGB. suggest to use av_get_bytes_per_sample() in av_get_bits_per_sample_format() doxy ffmpeg: use av_get_bytes_per_sample() in place of av_get_bits_per_sample_fmt() put_bits: remove ALT_BITSTREAM_WRITER put_bits: always use intreadwrite.h macros libavformat: Add an example how to use the metadata API doxygen: Prefer member groups over grouping into modules doxygen: be more permissive when searching for API examples avformat: doxify the Metadata API lavf: restore old behavior for custom AVIOContex with an AVFMT_NOFILE format. lavf: use the correct pointer in av_open_input_stream(). avidec: infer absolute vs relative index from first packet Conflicts: libavformat/Makefile libavformat/avidec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ARM: ac3: update ff_ac3_extract_exponents_neon per 8b7b2d6Mans Rullgard2011-07-021-6/+1
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * ARM: NEON optimised vector_clip_int32()Mans Rullgard2011-07-022-0/+19
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * suggest to use av_get_bytes_per_sample() in av_get_bits_per_sample_format() doxyStefano Sabatini2011-07-021-1/+1
| | | | | | | | | | | | | | The previously suggested replacement - av_get_bits_per_sample_fmt() - was also deprecated. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * put_bits: remove ALT_BITSTREAM_WRITERMans Rullgard2011-07-023-107/+1
| | | | | | | | | | | | The code for this variant does not compile. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * put_bits: always use intreadwrite.h macrosMans Rullgard2011-07-021-14/+3
| | | | | | | | | | | | This fixes invalid unaligned stores in some ARM configurations. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * doxygen: Prefer member groups over grouping into modulesReinhard Tartler2011-07-0216-136/+135
| | | | | | | | | | | | | | | | | | Before this, almost all module groups have been used for grouping functions and fields in structures semantically. This causes them to not appear properly in the file documentation and needlessly clutters up the "Modules" index. Additionally, this commit streamlines some spelling and appearances.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-0212-25/+318
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: get_bits: remove x86 inline asm in A32 bitstream reader doc: Remove outdated information about our issue tracker avidec: Factor out the sync fucntionality. fate-aac: Expand coverage. ac3dsp: add x86-optimized versions of ac3dsp.extract_exponents(). ac3dsp: simplify extract_exponents() now that it does not need to do clipping. ac3enc: clip coefficients after MDCT. ac3enc: add int32_t array clipping function to DSPUtil, including x86 versions. swscale: for >8bit scaling, read in native bit-depth. matroskadec: matroska_read_seek after after EBML_STOP leads to failure. doxygen: fix usage of @file directive in libavutil/{dict,file}.h doxygen: Help doxygen parser to understand the DECLARE_ALIGNED and offsetof macros Conflicts: doc/issue_tracker.txt libavformat/avidec.c libavutil/dict.h libswscale/swscale.c libswscale/utils.c tests/ref/lavfi/pixfmts_scale Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * get_bits: remove x86 inline asm in A32 bitstream readerMans Rullgard2011-07-011-8/+0
| | | | | | | | | | | | | | x86 does not use this variant so having inline asm there is pointless. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * ac3dsp: add x86-optimized versions of ac3dsp.extract_exponents().Justin Ruggles2011-07-012-0/+111
| |
| * ac3dsp: simplify extract_exponents() now that it does not need to do clipping.Justin Ruggles2011-07-011-14/+1
| |
| * ac3enc: clip coefficients after MDCT.Justin Ruggles2011-07-014-3/+35
| | | | | | | | | | This ensures that any processing between the MDCT and exponent extraction will be using clipped coefficients.
| * ac3enc: add int32_t array clipping function to DSPUtil, including x86 versions.Justin Ruggles2011-07-014-0/+171
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-018-10/+52
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: cosmetics: fix some then/than typos doxygen: Include libavcodec and libavformat examples into the documentation avutil: elaborate documentation for av_get_random_seed Add support for aac streams in mp4/mov without extradata. aes: whitespace cosmetics adler32: whitespace cosmetics swscale: fix another yuv range conversion overflow in 16bit scaling. Fix cpu flags test program opt-test: Add missing braces to silence compiler warnings. build: Eliminate obsolete test targets. udp: Fix a compilation warning swscale: Unbreak build with --enable-small base64: add fate test aes: improve test program and add fate test adler32: make test program more useful and add fate test swscale: fix yuv range correction when using 16-bit scaling. aacenc: Make chan_map const correct Conflicts: Makefile doc/examples/muxing-example.c libavformat/udp.c libavutil/random_seed.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cosmetics: fix some then/than typosDiego Biurrun2011-06-306-9/+9
| |
| * doxygen: Include libavcodec and libavformat examples into the documentationReinhard Tartler2011-06-301-1/+2
| |
| * Add support for aac streams in mp4/mov without extradata.Benjamin Larsson2011-06-301-0/+42
| |
| * aacenc: Make chan_map const correctAlex Converse2011-06-291-1/+1
| |
* | Fix mpeg4 padding bug detection with more than 128bit trash and slices.Michael Niedermayer2011-07-012-2/+2
| | | | | | | | | | | | | | Fixes ticket302 The second hunk is from anatoly Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix possible double free when encoding using xvid.Carl Eugen Hoyos2011-07-011-0/+1
| |
* | Fix internal buffer size for 2bpp and 4bpp raw video.Carl Eugen Hoyos2011-07-011-1/+3
| |
* | Fix linesize for some rawvideo samples with odd width.Carl Eugen Hoyos2011-06-301-1/+7
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-06-307-38/+107
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: rational-test: Add proper main() declaration to fix gcc warnings. configure: Add vdpau and dxva2 to configure results output. Remove unused, never built libavutil/pca.[ch] matroskadec: forward parsing errors to caller. av_find_stream_info: simplify EAGAIN handling. aacenc: Fix determination of Mid/Side Mode. psymodel: Remove the single channel analysis function aacenc: Implement dummy channel group analysis that just calls the single channel analysis for each channel. psymodel: Add channels and channel groups to the psymodel. ARM: remove check for PLD instruction fate: move amr[nw]b test rules into separate files ogg: fix double free when finding length of small chained oggs. swscale: implement >8bit scaling support. build: fix creation of tools dir with make 3.81 build: Mark all-yes Makefile target as phony. pixfmt: fix YUV422/444 wrong endian comment build: create output directories as needed Add new yuv444 pixfmts to avcodec_align_dimensions2 Conflicts: Makefile configure libavutil/pca.c libavutil/pca.h libavutil/pixfmt.h libswscale/swscale.c libswscale/utils.c libswscale/x86/swscale_template.c tests/ref/lavfi/pixdesc tests/ref/lavfi/pixfmts_copy tests/ref/lavfi/pixfmts_null tests/ref/lavfi/pixfmts_scale tests/ref/lavfi/pixfmts_vflip Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * aacenc: Fix determination of Mid/Side Mode.Nathan Caldwell2011-06-291-1/+1
| | | | | | | | | | | | | | | | | | In adjust_frame_information(), msc is incremented for each sfb in each sub-window then compared against max_sfb which is for a single sub-window. This resulted in frames using EIGHT_SHORT_SEQUENCE where the first few sub-windows increment msc to a value that results in ms_mode == 2. Even though only some of the bands are actually using Mid/Side.
| * psymodel: Remove the single channel analysis functionNathan Caldwell2011-06-293-17/+6
| |
| * aacenc: Implement dummy channel group analysis that just calls the single ↵Nathan Caldwell2011-06-292-2/+15
| | | | | | | | channel analysis for each channel.
| * psymodel: Add channels and channel groups to the psymodel.Nathan Caldwell2011-06-295-25/+91
| |
| * ARM: remove check for PLD instructionMans Rullgard2011-06-291-5/+2
| | | | | | | | | | | | PLD is present in ARMv5TE and later, which is checked for separately. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Add new yuv444 pixfmts to avcodec_align_dimensions2Jason Garrett-Glaser2011-06-291-0/+4
| | | | | | | | Fixes draw_edges crashes with high-bit-depth 4:4:4 decoding.
* | avcodec: increase padding, fixes ticket313Michael Niedermayer2011-06-301-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Remove gcc 2.95.3 remnants.Carl Eugen Hoyos2011-06-292-2/+2
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-06-298-22/+36
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (21 commits) swscale: Add Doxygen for hyscale_fast/hScale. fate: enable lavfi-pixmt tests on big endian systems PPC: swscale: disable altivec functions for unsupported formats fate: merge identical pixdesc_be/le tests swscale: Add Doxygen for yuv2planar*/yuv2packed* functions. build: call texi2pod.pl with full path instead of symlink build: include sub-makefiles using full path instead of symlinks swscale: update big endian reference values after dff5a835. wavpack: skip blocks with no samples cosmetics: remove outdated comment that is no longer true build: replace some addprefix/addsuffix with substitution refs avutil: Remove unused arbitrary precision integer code. configure: Drop check for availability of ten assembler operands. aacenc: Save channel configuration for later use. aacenc: Fix codebook trellising for zeroed bands. swscale: change prototypes of scaled YUV output functions. swscale: re-add support for non-native endianness. swscale: disentangle yuv2rgbX_c_full() into small functions. swscale: split yuv2packed[12X]_c() remainders into small functions. swscale: split yuv2packedX_altivec in smaller functions. ... Conflicts: Makefile configure libavcodec/x86/dsputil_mmx.c libavfilter/Makefile libavformat/Makefile libavutil/integer.c libavutil/integer.h libswscale/swscale.c libswscale/swscale_internal.h libswscale/x86/swscale_template.c tests/ref/lavfi/pixdesc_le tests/ref/lavfi/pixfmts_scale Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * build: include sub-makefiles using full path instead of symlinksMans Rullgard2011-06-281-2/+2
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * cosmetics: remove outdated comment that is no longer trueJustin Ruggles2011-06-281-2/+0
| |
| * avutil: Remove unused arbitrary precision integer code.Diego Biurrun2011-06-281-1/+0
| |
| * configure: Drop check for availability of ten assembler operands.Diego Biurrun2011-06-282-5/+5
| | | | | | | | | | This was done to support gcc 2.95, which is an old legacy compiler that fails to compile the current codebase anyway.
| * aacenc: Save channel configuration for later use.Nathan Caldwell2011-06-272-8/+9
| |
| * aacenc: Fix codebook trellising for zeroed bands.Alex Converse2011-06-271-4/+20
| | | | | | | | | | Choose band type (codebook) zero, count its bits, and mark the other states as unnavigable.
* | amrnbdec: we dont want dtx samples anymore and give the user a hint towards ↵Michael Niedermayer2011-06-281-1/+2
| | | | | | | | | | | | how to play such files. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | targa: Do not read colormap from files without one.Reimar Döffinger2011-06-281-2/+7
| | | | | | | | | | | | | | | | | | This is necessary because some programs writing TGA files forget to initialize parts of the header they don't care about, resulting in "random" data there. The new behaviour is consistent with other programs, e.g. tgatoppm. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | targa: Simplify using bytestream_get functions.Reimar Döffinger2011-06-281-10/+8
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-06-286-215/+122
|\ \ | |/ | | | | | | | | | | | | | | * qatar/master: ac3enc: move ff_ac3_encode_frame() to ac3enc_template.c ac3enc: merge log2_tab() into normalize_samples() ac3enc: Remove bit allocation fallbacks. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ac3enc: move ff_ac3_encode_frame() to ac3enc_template.cJustin Ruggles2011-06-276-131/+119
| | | | | | | | | | This avoids using function pointers for quite a few small functions, most of which just call DSP functions.
| * ac3enc: merge log2_tab() into normalize_samples()Justin Ruggles2011-06-271-14/+2
| |
| * ac3enc: Remove bit allocation fallbacks.Justin Ruggles2011-06-271-70/+1
| | | | | | | | | | | | They introduce too much complexity for very little benefit. The result is that encoding will be more likely to fail at extremely low bitrates where quality would be awful anyway.
* | Support fourcc Y8 (ticket 308).ami_stuff2011-06-271-0/+1
| |
* | Support fourcc YV16 (ticket 307).ami_stuff2011-06-272-0/+2
| |
* | Fix VDPAU decoding for some H264 samples.Carl Eugen Hoyos2011-06-271-1/+2
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-06-274-81/+54
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: build: improve rules for test programs build: factor out the .c and .S compile commands as a macro swscale: remove unused xInc/srcW arguments from hScale(). H.264: disable 2tap qpel with CODEC_FLAG2_FAST and >8-bit H.264: make filter_mb_fast support 4:4:4 mpeg4videoenc: Remove disabled variant of mpeg4_encode_block(). configure: allow post-fixed cpu strings for athlon64, k8, and opteron when setting the -march flag. Move some variable declarations below the proper #ifdefs. Conflicts: Makefile ffplay.c libswscale/swscale.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * H.264: disable 2tap qpel with CODEC_FLAG2_FAST and >8-bitJason Garrett-Glaser2011-06-261-1/+2
| | | | | | | | 2tap qpel isn't implemented yet for high bit depth, so it just breaks decoding.
OpenPOWER on IntegriCloud