summaryrefslogtreecommitdiffstats
path: root/libavcodec/dsputil.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove all Alpha architecture optimizationsDiego Biurrun2013-11-131-1/+0
| | | | Alpha has been end-of-lifed and no more test machines are available.
* dsputil: Split off H.263 bits into their own H263DSPContextDiego Biurrun2013-11-081-3/+0
|
* dsputil: x86: Hide arch-specific initialization detailsDiego Biurrun2013-08-281-1/+1
| | | | Also give consistent names to init functions.
* Remove commented-out debug #define cruftDiego Biurrun2013-05-161-3/+0
|
* dsputil: Remove dct_bitsRonald S. Bultje2013-04-191-5/+0
| | | | | | | dct_bits is never set except in h264, where it is never used, thus remove it. Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: Remove hpel functions (moved to hpeldsp)Ronald S. Bultje2013-04-191-49/+0
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* hpeldsp: Add half-pel functions (currently copies of dsputil)Ronald S. Bultje2013-04-191-6/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: Make square put/avg_pixels functions local to h264qpelRonald S. Bultje2013-04-101-14/+4
| | | | | | | Put a copy of the 8bit functions only in dsputil, where they are used for some other things (e.g. mpeg4qpel, mspel, cavsqpel). Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: Move ff_cropTbl and ff_zigzag_direct from dsputil to mathtablesRonald S. Bultje2013-04-081-1/+1
| | | | | | | | | These are widely used throughout libavcodec, nothing dsputil-specific. Change ff_cropTbl to a statically initialized table, to avoid initializing it with a function call. Signed-off-by: Martin Storsjö <martin@martin.st>
* h261: Remove H.261 loop filter from dsputilDiego Biurrun2013-04-051-2/+0
| | | | | There is no arch-optimized version of the H.261 loop filter and there likely will never be, so the dsputil overhead does not give any benefit.
* dsputil: convert remaining functions to use ptrdiff_t stridesLuca Barbato2013-03-121-12/+12
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* h264: Add add_pixels4/8() to h264dsp, and remove add_pixels4 from dsputilRonald S. Bultje2013-02-191-1/+0
| | | | | | | | | These functions are mostly H264-specific (the only other user I can spot is bink), and this allows us to special-case some functionality for H264. Also remove the 16-bit-coeff with >8bpp versions (unused) and merge the duplicate 32-bit-coeff for >8bpp (identical). Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: convert remaining op_pixels_funcLuca Barbato2013-02-171-1/+1
| | | | | | Convert to diffptr_t the line_size parameters still int. Remove all the warnings in dsputil.c
* dsputil: Move STRIDE_ALIGN macro to the only place it is usedDiego Biurrun2013-02-131-6/+0
|
* dsputil: Move fdct function declarations to dct.hDiego Biurrun2013-02-091-14/+0
|
* dsputil: Move LOCAL_ALIGNED macros to libavutilDiego Biurrun2013-02-081-26/+0
|
* dsputil: Move WRAPPER8_16_SQ macro to the only place it is usedDiego Biurrun2013-02-081-14/+0
|
* dsputil: Move rnd_avg inline functions to a separate headerDiego Biurrun2013-02-081-23/+0
|
* dsputil: Remove commented-out, unused function declarationsDiego Biurrun2013-02-081-8/+0
|
* dsputil: Move ff_shrink* function declarations to separate headerDiego Biurrun2013-02-071-5/+0
|
* dsputil: Move ff_svq3 function declarations to a separate headerDiego Biurrun2013-02-071-3/+0
|
* dsputil: Move ff_h264_idct function declarations to a separate headerDiego Biurrun2013-02-071-18/+0
|
* dsputil: Move copy_block functions to a separate headerDiego Biurrun2013-02-071-36/+0
|
* dsputil: Drop unused functions copy_block{2|4|16}Diego Biurrun2013-02-071-33/+0
|
* dsputil: Move get_penalty_factor() to the only place it is used.Diego Biurrun2013-02-071-20/+0
|
* dsputil: Move ff_block_permute to mpegvideo_encDiego Biurrun2013-02-071-6/+0
|
* dsputil: Separate h264chromaDiego Biurrun2013-02-061-7/+0
|
* Use ptrdiff_t instead of int for {avg, put}_pixels line_size parameter.Diego Biurrun2013-02-051-1/+1
| | | | | This avoids SIMD-optimized functions having to sign-extend their line size argument manually to be able to do pointer arithmetic.
* dsputil: Separate h264 qpelMans Rullgard2013-01-241-3/+0
| | | | | | | | | | The sh4 optimizations are removed, because the code is 100% identical to the C code, so it is unlikely to provide any real practical benefit. Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dsputil: remove one array dimension from avg_no_rnd_pixels_tab.Ronald S. Bultje2013-01-221-1/+1
|
* dsputil: remove some never-assigned function pointers from the struct.Ronald S. Bultje2013-01-221-3/+2
|
* dsputil: remove avg_no_rnd_pixels8.Ronald S. Bultje2013-01-221-4/+4
| | | | This is never used.
* Drop DCTELEM typedefDiego Biurrun2013-01-221-46/+45
| | | | | | It does not help as an abstraction and adds dsputil dependencies. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* floatdsp: move scalarproduct_float from dsputil to avfloatdsp.Ronald S. Bultje2013-01-221-18/+0
| | | | This makes the aac decoder and all voice codecs independent of dsputil.
* floatdsp: move butterflies_float from dsputil to avfloatdsp.Ronald S. Bultje2013-01-221-7/+0
| | | | | This makes wmadec/enc, twinvq and mpegaudiodec (i.e. mp2/mp3) independent of dsputil.
* floatdsp: move vector_fmul_reverse from dsputil to avfloatdsp.Ronald S. Bultje2013-01-221-2/+0
| | | | | | Now, nellymoserenc and aacenc no longer depends on dsputil. Independent of this patch, wmaprodec also does not depend on dsputil, so I removed it from there also.
* floatdsp: move vector_fmul_add from dsputil to avfloatdsp.Ronald S. Bultje2013-01-221-2/+0
|
* vp3/5: move put_no_rnd_pixels_l2 from dsputil to VP3DSPContext.Ronald S. Bultje2013-01-211-2/+0
| | | | | The function is only used in VP3 and VP5, so no need to have it in DSPContext.
* wmv2: move IDCT to its own DSP context.Ronald S. Bultje2013-01-201-1/+0
| | | | | | | | | | | This allows us to remove FF_IDCT_WMV2, which serves no practical purpose other than to be able to select the WMV2 IDCT for MPEG (or vice versa) and get corrupt output. Fate tests for all wmv2-related tests change, because (for some obscure reason) they forced use of the MPEG IDCT. You would get the same changes previously by not using -idct simple in the fate test (or replacing it with -idct auto).
* dsputil: remove butterflies_float_interleave.Ronald S. Bultje2013-01-201-17/+0
| | | | The function is unused.
* dsputil: drop non-compliant "fast" qpel mc functionsMans Rullgard2013-01-201-3/+0
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Remove put_no_rnd_pixels_l2 function pointer for w=16 from dsputil.Ronald S. Bultje2013-01-191-1/+1
| | | | The function is never used.
* Move vorbis_inverse_coupling from dsputil to vorbisdspcontext.Ronald S. Bultje2013-01-191-2/+0
| | | | | Conveniently (together with Justin's earlier patches), this makes our vorbis decoder entirely independent of dsputil.
* lavc: Move vector_fmul_window to AVFloatDSPContextJustin Ruggles2013-01-161-2/+0
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Drop Snow codecDiego Biurrun2013-01-061-8/+0
| | | | Snow is a toy codec with no real-world use and horrible code.
* lavc: introduce VideoDSPContextRonald S. Bultje2012-12-201-26/+0
| | | | | | | | Move some functions from dsputil. The idea is that videodsp contains functions that are useful for a large and varied set of video decoders. Currently, it contains emulated_edge_mc() and prefetch(). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Make LOCAL_ALIGNED syntactically similar on all systemsMans Rullgard2012-12-111-1/+3
| | | | | | | | | This changes the LOCAL_ALIGNED definition on systems where DECLARE_ALIGNED is used so it matches the manual alignment case, ensuring invalid use will not compile on x86 only to fail on everything else. Signed-off-by: Mans Rullgard <mans@mansr.com>
* dsputil: remove unused macro WRAPPER8_16Mans Rullgard2012-12-091-6/+0
| | | | | | This macro has never been used. Signed-off-by: Mans Rullgard <mans@mansr.com>
* dsputil: move vector_fmul_scalar() to AVFloatDSPContext in libavutilJustin Ruggles2012-11-261-10/+0
|
* x86: mmx2 ---> mmxext in function namesDiego Biurrun2012-10-311-1/+1
|
OpenPOWER on IntegriCloud