summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-1011-81/+1138
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (22 commits) H.264: fix filter_mb_fast with 4:4:4 + 8x8dct alsa: limit buffer_size to 32768 frames. alsa: fallback to buffer_size/4 for period_size. doc: replace @pxref by @ref where appropriate mpeg1video: don't abort if thread_count is too high. segafilm: add support for videos with cri adx adpcm gxf: Fix 25 fps DV material in GXF being misdetected as 50 fps libxvid: Add const qualifier to silence compiler warning. H.264: improve qp_thresh check H.264: use fill_rectangle in CABAC decoding H.264: Remove redundant hl_motion_16/8 code H.264: merge fill_rectangle into P-SKIP MV prediction, to match B-SKIP H.264: faster P-SKIP decoding H.264: av_always_inline some more functions H.264: Add x86 assembly for 10-bit H.264 predict functions swscale: rename uv_off/uv_off2 to uv_off_px/byte. swscale: implement error dithering in planarCopyWrapper. swscale: error dithering for 16/9/10-bit to 8-bit. swscale: fix overflow in 16-bit vertical scaling. swscale: fix crash in 8-bpc bilinear output without alpha. ... Conflicts: doc/developer.texi libavdevice/alsa-audio.h libavformat/gxf.c libswscale/swscale.c libswscale/swscale_internal.h libswscale/swscale_unscaled.c libswscale/x86/swscale_template.c tests/ref/lavfi/pixdesc tests/ref/lavfi/pixfmts_copy tests/ref/lavfi/pixfmts_crop tests/ref/lavfi/pixfmts_hflip tests/ref/lavfi/pixfmts_null tests/ref/lavfi/pixfmts_scale tests/ref/lavfi/pixfmts_vflip Merged-by: Michael Niedermayer <[email protected]>
| * H.264: fix filter_mb_fast with 4:4:4 + 8x8dctJason Garrett-Glaser2011-07-091-1/+1
| |
| * mpeg1video: don't abort if thread_count is too high.Frank Barchard2011-07-091-5/+9
| | | | | | | | | | | | Instead, just decrease it to a valid value and use that. Signed-off-by: Ronald S. Bultje <[email protected]>
| * libxvid: Add const qualifier to silence compiler warning.Diego Biurrun2011-07-091-1/+1
| | | | | | | | libavcodec/libxvidff.c:752: warning: initialization discards qualifiers from pointer target type
| * H.264: improve qp_thresh checkJason Garrett-Glaser2011-07-082-6/+4
| | | | | | | | Eliminate redundant check in filter_mb_fast, consider bit depth in calculating qp_thresh.
| * H.264: use fill_rectangle in CABAC decodingJason Garrett-Glaser2011-07-081-2/+1
| |
| * H.264: Remove redundant hl_motion_16/8 codeJason Garrett-Glaser2011-07-081-42/+10
| |
| * H.264: merge fill_rectangle into P-SKIP MV prediction, to match B-SKIPJason Garrett-Glaser2011-07-082-25/+24
| |
| * H.264: faster P-SKIP decodingJason Garrett-Glaser2011-07-082-10/+102
| | | | | | | | | | Inline the relevant parts of fill_decode_caches into P-SKIP mv prediction to avoid calling the whole thing.
| * H.264: av_always_inline some more functionsJason Garrett-Glaser2011-07-083-8/+8
| | | | | | | | These weren't getting inlined all the time in all gcc versions.
| * H.264: Add x86 assembly for 10-bit H.264 predict functionsDaniel Kang2011-07-084-1/+998
| | | | | | | | | | | | | | | | Mainly ported from 8-bit H.264 predict. Some code ported from x264. LGPL ok by author. Signed-off-by: Ronald S. Bultje <[email protected]>
* | cosmetic: reindent of dxva2 zigzag workaroundJoakim Plate2011-07-091-7/+7
| |
* | Added ability to enable workaround for dxva2 decoding using older ATI cardsJoakim Plate2011-07-092-2/+17
| | | | | | | | | | | | The workaround need to be enabled per pci id which can not be detected inside ffmpeg. So this adds a flag that enabled the alternate behavior.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-094-58/+590
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (28 commits) mp3enc: write a xing frame containing number of frames in the file lavf: update AVStream.nb_frames when muxing. ffmpeg: remove unused variables from InputStream. doc: update ffmpeg -ar and -ac documentation to reflect reality. ffmpeg: remove pointless if (nb_input_files) ffmpeg: merge input_files_ts_offset into input_files. ffmpeg: merge input_codecs into input_streams. ffmpeg: drop AV prefixes from struct names. ffmpeg: deprecate loop_input and loop_output options gif: add loop private option. img2: add loop private option. AVOptions: in av_opt_find() don't return named constants unless unit is specified. x11grab: replace undocumented nomouse hackery with a private option. dict: extend documentation. lls: whitespace cosmetics docs: Use proper markup for a literal command line option docs: Remove a remark that isn't relevant any longer docs: Explain how to regenerate import libraries with MSVC tools docs: Mention that libraries for MSVC can be built with a cross compiler docs: Remove old docs that mention setting up a build environment with lib.exe ... Conflicts: doc/ffmpeg.texi doc/general.texi ffmpeg.c libavcodec/Makefile libavcodec/dnxhddata.c libavformat/mp3enc.c libavformat/utils.c libavutil/Makefile tests/copycooker.sh Merged-by: Michael Niedermayer <[email protected]>
| * mp3enc: write a xing frame containing number of frames in the fileAnton Khirnov2011-07-081-0/+1
| |
| * dnxhd: prettify tablesMans Rullgard2011-07-081-36/+574
| | | | | | | | Signed-off-by: Mans Rullgard <[email protected]>
| * flashsv: inline copy_region() into flashsv_decode_frame()Diego Biurrun2011-07-081-16/+11
| |
| * flashsv: improve some variable namesDiego Biurrun2011-07-071-7/+7
| |
| * libschroedingerdec: Remove write-only variable.Diego Biurrun2011-07-071-2/+0
| | | | | | | | libavcodec/libschroedingerdec.c:211:23: warning: variable 'format' set but not used
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-082-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: build: clean up library installation rules vf_drawtext: Remove some write-only variables. libgsm: Drop const qualifier to silence compiler warning. docs: Remove needless configure options docs: Don't recommend adding --enable-memalign-hack libvo-amrwbenc: Add braces to shut up gcc warning. adts: Fix PCE copying. Conflicts: configure doc/general.texi subdir.mak Merged-by: Michael Niedermayer <[email protected]>
| * libgsm: Drop const qualifier to silence compiler warning.Diego Biurrun2011-07-071-1/+1
| | | | | | | | | | libavcodec/libgsm.c:148: warning: passing argument 2 of ‘gsm_decode’ discards qualifiers from pointer target type /usr/include/gsm/gsm.h:68: note: expected ‘gsm_byte *’ but argument is of type ‘const uint8_t *’
| * libvo-amrwbenc: Add braces to shut up gcc warning.Diego Biurrun2011-07-071-1/+1
| | | | | | | | libavcodec/libvo-amrwbenc.c:37:5: warning: missing braces around initializer
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-063-65/+52
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: ffserver: remove unused variable. Remove unused and outdated TODO file. gitignore: Drop individual .d ignore; it is already covered by a wildcard. lavf: deprecate AVStream.quality. bink: pass Bink version to audio decoder through extradata instead of codec_tag. libpostproc: Remove disabled code. flashsv: improve some comments and fix some wrong ones flashsv: Eliminate redundant variable indirection. flashsv: set reference frame type to full frame flashsv: replace bitstream description by a link to the specification flashsv: convert a debug av_log into av_dlog flashsv: simplify condition flashsv: return more meaningful error values flashsv: cosmetics: break some overly long lines flashsv: cosmetics: drop some unnecessary parentheses swscale: amend documentation to mention use of native depth for scaling. eval: add missing comma to tests. eval: fix memleak. H.264: make loopfilter bS const where applicable Conflicts: libavcodec/binkaudio.c libavformat/bink.c Merged-by: Michael Niedermayer <[email protected]>
| * bink: pass Bink version to audio decoder through extradata instead of codec_tag.Kostya2011-07-061-1/+1
| | | | | | | | | | | | | | This is needed because not all players (e.g. MPlayer) are able to distinguish two different Bink audio decoders when codec_tag is set. Signed-off-by: Anton Khirnov <[email protected]>
| * flashsv: improve some comments and fix some wrong onesDiego Biurrun2011-07-061-6/+6
| |
| * flashsv: Eliminate redundant variable indirection.Diego Biurrun2011-07-061-3/+2
| | | | | | | | | | As a positive side-effect, this gets rid of the following warning: libavcodec/flashsv.c:190:38: warning: assignment discards ‘const’ qualifier from pointer target type
| * flashsv: set reference frame type to full frameDiego Biurrun2011-07-061-1/+1
| |
| * flashsv: replace bitstream description by a link to the specificationDiego Biurrun2011-07-061-19/+3
| | | | | | | | | | | | An official specification now exists and it is both more detailed and easier to understand than the incomplete notes available here. Also remove ideas on how to implement an encoder; these notes are already present in the encoder.
| * flashsv: convert a debug av_log into av_dlogDiego Biurrun2011-07-061-4/+3
| |
| * flashsv: simplify conditionDiego Biurrun2011-07-061-3/+2
| |
| * flashsv: return more meaningful error valuesDiego Biurrun2011-07-061-2/+2
| |
| * flashsv: cosmetics: break some overly long linesDiego Biurrun2011-07-061-8/+15
| |
| * flashsv: cosmetics: drop some unnecessary parenthesesDiego Biurrun2011-07-061-11/+11
| |
| * H.264: make loopfilter bS const where applicableJason Garrett-Glaser2011-07-051-9/+9
| |
* | Support fourcc YV24.ami_stuff2011-07-062-0/+2
| | | | | | | | Fixes ticket #306.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-068-8/+11
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Add some missing mathematics.h #includes for av_rescale(). opencore-amr: Add missing initializer braces to shut up gcc warning. ARM: workaround for bug in GNU assembler dv: fix comment wording mistake Rename libavcodec/high_bit_depth.h ---> libavcodec/bit_depth_template.c dv: fix valgrind use of uninitialised value warnings. mxfenc: fix ignored drop flag in binary timecode representation. PPC: use Altivec IMDCT only for supported sizes dv: fix comment spelling configure: simplify -rpath-link linker flag Merged-by: Michael Niedermayer <[email protected]>
| * opencore-amr: Add missing initializer braces to shut up gcc warning.Diego Biurrun2011-07-051-1/+1
| | | | | | | | | | This fixes the warning: libavcodec/libopencore-amr.c:91: warning: missing braces around initializer
| * ARM: workaround for bug in GNU assemblerMans Rullgard2011-07-051-1/+1
| | | | | | | | | | | | | | | | Some versions of the GNU assembler do not handle 64-bit immediate operands containing arithmetic. Writing the value out in full works correctly. Signed-off-by: Mans Rullgard <[email protected]>
| * dv: fix comment wording mistakeClément Bœsch2011-07-051-2/+2
| |
| * Rename libavcodec/high_bit_depth.h ---> libavcodec/bit_depth_template.cDiego Biurrun2011-07-055-4/+5
| | | | | | | | This naming scheme is used elsewhere, so it's sensible to be consistent.
| * dv: fix valgrind use of uninitialised value warnings.Reimar Döffinger2011-07-051-2/+4
| | | | | | | | Signed-off-by: Ronald S. Bultje <[email protected]>
| * PPC: use Altivec IMDCT only for supported sizesMans Rullgard2011-07-051-2/+4
| | | | | | | | | | | | The Altivec IMDCT works with size 32 and higher only. Signed-off-by: Mans Rullgard <[email protected]>
| * dv: fix comment spellingClément Bœsch2011-07-051-10/+9
| | | | | | | | Signed-off-by: Diego Biurrun <[email protected]>
* | dv: fix comment wording mistakeClément Bœsch2011-07-051-2/+2
| |
* | dv: fix valgrind use of uninitialised value warnings.Reimar Döffinger2011-07-051-2/+4
| |
* | dv: fix comment spelling.Clément Bœsch2011-07-051-10/+9
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-0517-273/+322
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (36 commits) ARM: allow unaligned buffer in fixed-point NEON FFT4 fate: test more FFT etc sizes dca: set AVCodecContext frame_size for DTS audio YASM: Shut up unused variable compiler warning with --disable-yasm. x86_32: Fix build on x86_32 with --disable-yasm. iirfilter: add fate test doxygen: Add qmul docs. ogg: propagate return values and return more meaningful error values H.264: fix overreads of qscale_table Remove unused static tables and static inline functions. eval: clear Parser instances before using dct-test: remove 'ref' function pointer from tables build: Remove deleted 'check' target from .PHONY list. oggdec: Abort Ogg header parsing when encountering a data packet. Add LGPL license boilerplate to files lacking it. mxfenc: small typo fix doxygen: Fix documentation for some VP8 functions. sha: use AV_RB32() instead of assuming buffer can be cast to uint32_t* des: allow unaligned input and output buffers aes: allow unaligned input and output buffers ... Conflicts: libavcodec/dct-test.c libavcodec/libvpxenc.c libavcodec/x86/dsputil_mmx.c libavcodec/x86/h264_qpel_mmx.c libavfilter/x86/gradfun.c libavformat/oggdec.c Merged-by: Michael Niedermayer <[email protected]>
| * ARM: allow unaligned buffer in fixed-point NEON FFT4Mans Rullgard2011-07-041-2/+2
| | | | | | | | | | | | | | | | | | This function is called with only 8-byte alignment from imdct for size 16. The fft4 function is not called for the larger FFT or MDCT sizes, so this has no impact on typical uses. Signed-off-by: Mans Rullgard <[email protected]>
| * dca: set AVCodecContext frame_size for DTS audioJohn Stebbins2011-07-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | Set the frame size when decoding DTS audio. This has the side effect of fixing the computation of timestamps for DTS-HD in compute_pkt_fields. Since frame_size is not currently set, the duration of a frame is being guessed based on the streams bitrate. But for DTS-HD, the bitrate currently used is the rate of the DTS core which is much different than the whole DTS-HD stream and leads to a wildly inaccurate frame duration estimate. Signed-off-by: Ronald S. Bultje <[email protected]>
| * YASM: Shut up unused variable compiler warning with --disable-yasm.Daniel Kang2011-07-041-2/+2
| | | | | | | | Signed-off-by: Diego Biurrun <[email protected]>