summaryrefslogtreecommitdiff
path: root/libavcodec/alpha/dsputil_alpha.c
Commit message (Collapse)AuthorAge
* dsputil/me/pixels: Actually use av_restrictDerek Buitenhuis2012-09-09
| | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lowres2 support.Michael Niedermayer2012-04-22
| | | | | | | | | The new lowres support is limited to decoders where lowres decoding is possible in high quality. I was not able to measure any speed difference, but if one is found the 2-3 lines that might affect speed can be made compile time conditional Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-22
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: ARM: allow runtime masking of CPU features dsputil: remove unused functions mov: Treat keyframe indexes as 1-origin if starting at non-zero. mov: Take stps entries into consideration also about key_off. Remove lowres video decoding Conflicts: ffmpeg.c ffplay.c libavcodec/arm/vp8dsp_init_arm.c libavcodec/libopenjpegdec.c libavcodec/mjpegdec.c libavcodec/mpegvideo.c libavcodec/utils.c libavformat/mov.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Remove lowres video decodingMans Rullgard2012-04-21
| | | | | | | | | | | | | | This feature is complex, of questionable utility, and slows down normal decoding. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-16
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (27 commits) ppc: Add ff_ prefix to nonstatic symbols sh4: Add ff_ prefix to nonstatic symbols mpegvideo: Add ff_ prefix to nonstatic functions rtjpeg: Add ff_ prefix to nonstatic symbols rv: Add ff_ prefix to nonstatic symbols vp56: Add ff_ prefix to nonstatic symbols vorbis: Add ff_ prefix to nonstatic symbols msmpeg4: Add ff_ prefix to nonstatic symbols vc1: Add ff_ prefix to nonstatic symbols msmpeg4: Add ff_ prefixes to nonstatic symbols snow: Add ff_ prefix to nonstatic symbols mpeg12: Add ff_ prefix to nonstatic symbols mpeg4: Add ff_ prefixes to nonstatic symbols lagarith: Add ff_ prefix to lag_rac_init libavcodec: Add ff_ prefix to j_rev_dct* dsputil: Add ff_ prefix to inv_zigzag_direct16 libavcodec: Prefix fdct_ifast, fdct_ifast248 dsputil: Add ff_ prefix to the dsputil*_init* functions libavcodec: Add ff_ prefix to some nonstatic symbols vlc/rl: Add ff_ prefix to the nonstatic symbols ... Conflicts: libavcodec/Makefile libavcodec/allcodecs.c libavcodec/dnxhddec.c libavcodec/ffv1.c libavcodec/h263.h libavcodec/h263dec.c libavcodec/h264.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c libavcodec/nuv.c libavcodec/ppc/dsputil_ppc.c libavcodec/proresdsp.c libavcodec/svq3.c libavcodec/version.h libavformat/dv.h libavformat/dvenc.c libavformat/matroskadec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: Add ff_ prefix to the dsputil*_init* functionsMartin Storsjö2012-02-15
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-22
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: dnxhddec: optimise dnxhd_decode_dct_block() rtp: remove disabled code eac3enc: use different numbers of blocks per frame to allow higher bitrates dnxhd: add regression test for 10-bit dnxhd: 10-bit support dsputil: update per-arch init funcs for non-h264 high bit depth dsputil: template get_pixels() for different bit depths dsputil: create 16/32-bit dctcoef versions of some functions jfdctint: add 10-bit version mov: add clcp type track as Subtitle stream. mpeg4: add Mpeg4 Profiles names. mpeg4: decode Level Profile for MPEG4 Part 2. ffprobe: display bitstream level. imgconvert: remove unused glue and xglue macros Conflicts: libavcodec/dsputil_template.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: update per-arch init funcs for non-h264 high bit depthMans Rullgard2011-07-21
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * dsputil: template get_pixels() for different bit depthsMans Rullgard2011-07-21
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-21
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: rv30: return AVERROR(EINVAL) instead of EINVAL build: add -L flags before existing LDFLAGS simple_idct: whitespace cosmetics simple_idct: make repeated code a macro dsputil: remove huge #if 0 block simple_idct: change 10-bit add/put stride from pixels to bytes dsputil: allow 9/10-bit functions for non-h264 codecs dnxhd: rename some data tables dnxhdenc: remove inline from function only called through pointer dnxhdenc: whitespace cosmetics swscale: mark YUV422P10(LE,BE) as supported for output configure: add -xc99 to LDFLAGS for Sun CC Remove unused and non-compiling vestigial g729 decoder Remove unused code under G729_BITEXACT #ifdef. mpegvideo: fix invalid picture unreferencing. dsputil: Remove extra blank line at end. dsputil: Replace a LONG_MAX check with HAVE_FAST_64BIT. simple_idct: add 10-bit version Conflicts: Makefile libavcodec/g729data.h libavcodec/g729dec.c libavcodec/rv30.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>
| * simple_idct: add 10-bit versionMans Rullgard2011-07-20
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge remote branch 'qatar/master'Michael Niedermayer2011-05-11
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (30 commits) AVOptions: make default_val a union, as proposed in AVOption2. arm/h264pred: add missing argument type. h264dsp_mmx: place bracket outside #if/#endif block. lavf/utils: fix ff_interleave_compare_dts corner case. fate: add 10-bit H264 tests. h264: do not print "too many references" warning for intra-only. Enable decoding of high bit depth h264. Adds 8-, 9- and 10-bit versions of some of the functions used by the h264 decoder. Add support for higher QP values in h264. Add the notion of pixel size in h264 related functions. Make the h264 loop filter bit depth aware. Template dsputil_template.c with respect to pixel size, etc. Template h264idct_template.c with respect to pixel size, etc. Preparatory patch for high bit depth h264 decoding support. Move some functions in dsputil.c into a new file dsputil_template.c. Move the functions in h264idct into a new file h264idct_template.c. Move the functions in h264pred.c into a new file h264pred_template.c. Preparatory patch for high bit depth h264 decoding support. Add pixel formats for 9- and 10-bit yuv420p. Choose h264 chroma dc dequant function dynamically. ... Conflicts: doc/APIchanges ffmpeg.c ffplay.c libavcodec/alpha/dsputil_alpha.c libavcodec/arm/dsputil_init_arm.c libavcodec/arm/dsputil_init_armv6.c libavcodec/arm/dsputil_init_neon.c libavcodec/arm/dsputil_iwmmxt.c libavcodec/arm/h264pred_init_arm.c libavcodec/bfin/dsputil_bfin.c libavcodec/dsputil.c libavcodec/h264.c libavcodec/h264.h libavcodec/h264_cabac.c libavcodec/h264_cavlc.c libavcodec/h264_loopfilter.c libavcodec/h264_ps.c libavcodec/h264_refs.c libavcodec/h264dsp.c libavcodec/h264idct.c libavcodec/h264pred.c libavcodec/mlib/dsputil_mlib.c libavcodec/options.c libavcodec/ppc/dsputil_altivec.c libavcodec/ppc/dsputil_ppc.c libavcodec/ppc/h264_altivec.c libavcodec/ps2/dsputil_mmi.c libavcodec/sh4/dsputil_align.c libavcodec/sh4/dsputil_sh4.c libavcodec/sparc/dsputil_vis.c libavcodec/utils.c libavcodec/version.h libavcodec/x86/dsputil_mmx.c libavformat/options.c libavformat/utils.c libavutil/pixfmt.h libswscale/swscale.c libswscale/swscale_internal.h libswscale/swscale_template.c tests/ref/seek/lavf_avi Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Adds 8-, 9- and 10-bit versions of some of the functions used by the h264 ↵Oskar Arvidsson2011-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | decoder. This patch lets e.g. dsputil_init chose dsp functions with respect to the bit depth to decode. The naming scheme of bit depth dependent functions is <base name>_<bit depth>[_<prefix>] (i.e. the old clear_blocks_c is now named clear_blocks_8_c). Note: Some of the functions for high bit depth is not dependent on the bit depth, but only on the pixel size. This leaves some room for optimizing binary size. Preparatory patch for high bit depth h264 decoding support. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Adds 8-, 9- and 10-bit versions of some of the functions used by the h264 ↵Oskar Arvidsson2011-04-10
|/ | | | | | | | | | | | | | | | | decoder. This patch lets e.g. dsputil_init chose dsp functions with respect to the bit depth to decode. The naming scheme of bit depth dependent functions is <base name>_<bit depth>[_<prefix>] (i.e. the old clear_blocks_c is now named clear_blocks_8_c). Note: Some of the functions for high bit depth is not dependent on the bit depth, but only on the pixel size. This leaves some room for optimizing binary size. Preparatory patch for high bit depth h264 decoding support. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Alpha: move dsputil prototypes to a header fileMåns Rullgård2010-03-08
| | | | Originally committed as revision 22308 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Alpha: fix pix_abs16Måns Rullgård2009-01-18
| | | | Originally committed as revision 16675 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Alpha: add ff_ prefix to idct functionsMåns Rullgård2009-01-18
| | | | Originally committed as revision 16668 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Alpha: indentationMåns Rullgård2009-01-18
| | | | Originally committed as revision 16667 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Alpha: proper IDCT selectionMåns Rullgård2009-01-18
| | | | | | | Only select the Alpha IDCT if auto or explicitly requested. Also disable it in lowres mode. Originally committed as revision 16666 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Delete unnecessary 'extern' keywords.Diego Biurrun2008-12-03
| | | | Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full path for #includes from another directory.Diego Biurrun2008-05-09
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add libavcodec to compiler include flags in order to simplify headerRonald S. Bultje2007-05-16
| | | | | | | include paths in the source files. mostly from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net Originally committed as revision 9034 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-07
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update licensing information: The FSF changed postal address.Diego Biurrun2006-01-12
| | | | Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: Remove all trailing whitespace.Diego Biurrun2005-12-17
| | | | Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
* interlaced motion estimationMichael Niedermayer2003-12-30
| | | | | | | | | | | | | | interlaced mpeg2 encoding P & B frames rate distored interlaced mb decission alternate scantable support 4mv encoding fixes (thats also why the regression tests change) passing height to most dsp functions interlaced mpeg4 encoding (no direct mode MBs yet) various related cleanups disabled old motion estimaton algorithms (log, full, ...) they will either be fixed or removed Originally committed as revision 2638 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use asms instead of builtins when compiling for generic Alpha. LessFalk Hüffner2003-09-13
| | | | | | ugly. Originally committed as revision 2270 to svn://svn.ffmpeg.org/ffmpeg/trunk
* build error on Alpha patch by (Sam Hocevar <sam at zoy dot org>)Sam Hocevar2003-06-29
| | | | Originally committed as revision 1996 to svn://svn.ffmpeg.org/ffmpeg/trunk
* the return of the idct with 16bit output by ("Ivan Kalvachev" <ivan at cacad ↵Michael Niedermayer2003-06-21
| | | | | | dot com>) Originally committed as revision 1983 to svn://svn.ffmpeg.org/ffmpeg/trunk
* MpegEncContext.(i)dct_* -> DspContext.(i)dct_*Michael Niedermayer2003-03-03
| | | | | | bitexact cleanup Originally committed as revision 1617 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement sad8x8 and sad16x16 with pix_abs.Falk Hüffner2003-01-10
| | | | Originally committed as revision 1428 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Kludge around compilation failure on Alpha.Falk Hüffner2002-11-27
| | | | Originally committed as revision 1286 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * using DSPContext - so each codec could use its local (sub)set of CPU extensionZdenek Kabelac2002-11-11
| | | | | | * these are untested - users/developers please check Originally committed as revision 1197 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move Alpha optimized IDCT to own file. Based on a patch by MånsFalk Hüffner2002-10-11
| | | | | | | | | Rullgård <mru@users.sourceforge.net>. I've left out the idctCol2 part, because W4 has recently been decreed to be 16383, and also I doubt it will give a noticeable speedup. Originally committed as revision 1029 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add Alpha assembly for pix_abs16x16. Optimized for pca56, no large winFalk Hüffner2002-09-29
| | | | | | on ev6. Originally committed as revision 979 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Synthesize pixels16 functions from pixels functions.Falk Hüffner2002-09-13
| | | | Originally committed as revision 942 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Adapt to new 8/16 table scheme.Falk Hüffner2002-09-13
| | | | Originally committed as revision 935 to svn://svn.ffmpeg.org/ffmpeg/trunk
* MVI optimizations for motion estimation.Falk Hüffner2002-07-29
| | | | Originally committed as revision 831 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove support for variable BSIZE and INCR, as sub_pixels_* is noFalk Hüffner2002-07-13
| | | | | | longer needed. Originally committed as revision 754 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * Improve xy2 routines slightlyFalk Hüffner2002-07-13
| | | | | | * Mark MC pointer arguments as restrict Originally committed as revision 752 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement clear_blocks_axp.Falk Hüffner2002-07-05
| | | | Originally committed as revision 722 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use updated motion compensation routines.Falk Hüffner2002-07-03
| | | | Originally committed as revision 713 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Assembly version of put_pixels. This is currently the function thatFalk Hüffner2002-07-01
| | | | | | | takes the most time, and it allows for more efficient unaligned access and better control over memory latencies. Originally committed as revision 711 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement put_pixels_clamped and add_pixels_clamped in Assembler. ThisFalk Hüffner2002-07-01
| | | | | | | allows better scheduling of the memory accesses, and is portable among all compilers. Originally committed as revision 709 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Ugly hack to make the assembler accept MVI instructions.Falk Hüffner2002-06-24
| | | | Originally committed as revision 705 to svn://svn.ffmpeg.org/ffmpeg/trunk
* license/copyright changeFabrice Bellard2002-05-25
| | | | Originally committed as revision 599 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Alpha optimizations by Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>Nick Kurshev2002-01-20
Originally committed as revision 274 to svn://svn.ffmpeg.org/ffmpeg/trunk