summaryrefslogtreecommitdiff
path: root/libavcodec/dsputil.h
Commit message (Collapse)AuthorAge
* Merge commit 'b3ea76624ad1baab0b6bcc13f3f856be2f958110'Michael Niedermayer2013-05-16
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'b3ea76624ad1baab0b6bcc13f3f856be2f958110': vf_aspect: use the name 's' for the pointer to the private context Remove commented-out debug #define cruft Conflicts: libavcodec/4xm.c libavcodec/dvdsubdec.c libavcodec/ituh263dec.c libavcodec/mpeg12.c libavfilter/avfilter.c libavfilter/vf_aspect.c libavfilter/vf_fieldorder.c libavformat/rtmpproto.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Remove commented-out debug #define cruftDiego Biurrun2013-05-16
| |
| * dsputil: Remove dct_bitsRonald S. Bultje2013-04-19
| | | | | | | | | | | | | | 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-19
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * hpeldsp: Add half-pel functions (currently copies of dsputil)Ronald S. Bultje2013-04-19
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * dsputil: Make square put/avg_pixels functions local to h264qpelRonald S. Bultje2013-04-10
| | | | | | | | | | | | | | 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-08
| | | | | | | | | | | | | | | | | | 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>
* | Add avpriv_dsputil_init() and use it in lavfi where relevant.Clément Bœsch2013-04-14
| | | | | | | | | | | | | | | | dsputil_init() is deprecated and not meant to be exported. ff_dsputil_init() is internal to libavcodec and thus can not be used. avpriv_dsputil_init() is the version shared between libraries. This commit fixes 3 unjustified libavfilter deprecated warnings.
* | Merge commit 'ed16c2dbf47cdd7c48825b4da6e7036698e5dde1'Michael Niedermayer2013-04-05
|\| | | | | | | | | | | | | * commit 'ed16c2dbf47cdd7c48825b4da6e7036698e5dde1': h261: Remove H.261 loop filter from dsputil Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * h261: Remove H.261 loop filter from dsputilDiego Biurrun2013-04-05
| | | | | | | | | | 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: remove duplicate or unused functions.Ronald S. Bultje2013-03-14
| | | | | | | | | | | | | | | | | | | | dct_bits is never set except in h264, where it is never used, thus remove it. Then, remove all functions that were set based on non-zero (32) values for dct_bits. Lastly, merge 9-14 bpp functions for get_pixels and draw_edge, which only care about pixel storage unit size, not actual bits used (i.e. they don't clip). Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'a8b6015823e628047a45916404c00044c5e80415'Michael Niedermayer2013-03-13
|\| | | | | | | | | | | | | | | | | | | | | | | * commit 'a8b6015823e628047a45916404c00044c5e80415': dsputil: convert remaining functions to use ptrdiff_t strides Conflicts: libavcodec/dsputil.h libavcodec/dsputil_template.c libavcodec/h264qpel_template.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: convert remaining functions to use ptrdiff_t stridesLuca Barbato2013-03-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-19
| | | | | | | | | | | | | | | | | | 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-17
| | | | | | | | | | | | Convert to diffptr_t the line_size parameters still int. Remove all the warnings in dsputil.c
* | dsputil: remove hpel functions (moved to hpeldsp).Ronald S. Bultje2013-03-13
| |
* | hpeldsp: add half-pel functions (currently copies of dsputil).Ronald S. Bultje2013-03-13
| |
* | dsputil: make square put/avg_pixels functions local to h264qpel.Ronald S. Bultje2013-03-09
| | | | | | | | | | | | | | | | | | | | Put a copy of the 8bit functions only in dsputil, where they are used for some other things (e.g. mpeg4qpel, mspel, cavsqpel). We could perhaps also try to share specifically the 8bit functions from h264qpel between it and the others, but that will be slightly more complicated. H264qpel already had these functions, so we can simply remove the duplicates. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Move ff_cropTbl and ff_zigzag_direct from dsputil to mathtables.Ronald S. Bultje2013-03-06
| | | | | | | | | | | | These are widely used throughout libavcodec, nothing dsputil-specific. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-02-14
|\| | | | | | | | | | | | | | | | | | | | | * qatar/master: doc/platform: Fix 10l typo dsputil: Move STRIDE_ALIGN macro to the only place it is used Conflicts: libavcodec/dsputil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: Move STRIDE_ALIGN macro to the only place it is usedDiego Biurrun2013-02-13
| |
* | Add add_pixels4/8() to h264dsp, and remove add_pixels4 from dsputil.Ronald S. Bultje2013-02-12
| | | | | | | | | | | | | | | | | | 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: Michael Niedermayer <michaelni@gmx.at>
* | Move ff_emulated_edge_mc prototypes to videodsp.Ronald S. Bultje2013-02-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-02-09
|\| | | | | | | | | | | | | | | | | | | * qatar/master: dsputil: Move fdct function declarations to dct.h Conflicts: libavcodec/dsputil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: Move fdct function declarations to dct.hDiego Biurrun2013-02-09
| |
* | Merge commit '218aefce4472dc02ee3f12830a9a894bf7916da9'Michael Niedermayer2013-02-09
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '218aefce4472dc02ee3f12830a9a894bf7916da9': dsputil: Move LOCAL_ALIGNED macros to libavutil Conflicts: libavcodec/dvdec.c libavcodec/imc.c libavcodec/mpegvideo_motion.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: Move LOCAL_ALIGNED macros to libavutilDiego Biurrun2013-02-08
| |
* | Merge commit '059866eb17cd3c66422a61d3e9c3305f55830a50'Michael Niedermayer2013-02-09
|\| | | | | | | | | | | | | * commit '059866eb17cd3c66422a61d3e9c3305f55830a50': dsputil: Move WRAPPER8_16_SQ macro to the only place it is used Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: Move WRAPPER8_16_SQ macro to the only place it is usedDiego Biurrun2013-02-08
| |
* | Merge commit 'bf6b3ec924b4fb64d14df33077f4d4541d525dbf'Michael Niedermayer2013-02-09
|\| | | | | | | | | | | | | * commit 'bf6b3ec924b4fb64d14df33077f4d4541d525dbf': dsputil: Move rnd_avg inline functions to a separate header Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: Move rnd_avg inline functions to a separate headerDiego Biurrun2013-02-08
| |
* | Merge commit 'b9c2408b19dc9408e9dc0ce4a099af529bbfba3b'Michael Niedermayer2013-02-09
|\| | | | | | | | | | | | | * commit 'b9c2408b19dc9408e9dc0ce4a099af529bbfba3b': dsputil: Remove commented-out, unused function declarations Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: Remove commented-out, unused function declarationsDiego Biurrun2013-02-08
| |
* | Merge commit '35685a3c2a1ec09f3c62dcfc4368fe9e92bcddf6'Michael Niedermayer2013-02-09
|\| | | | | | | | | | | | | | | * commit '35685a3c2a1ec09f3c62dcfc4368fe9e92bcddf6': dsputil: Move ff_shrink* function declarations to separate header dsputil: Move ff_svq3 function declarations to a separate header Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: Move ff_shrink* function declarations to separate headerDiego Biurrun2013-02-07
| |
| * dsputil: Move ff_svq3 function declarations to a separate headerDiego Biurrun2013-02-07
| |
* | Merge commit '6a4430407404bfe55581e66a86a496c9adf6fb44'Michael Niedermayer2013-02-09
|\| | | | | | | | | | | | | | | | | | | * commit '6a4430407404bfe55581e66a86a496c9adf6fb44': dsputil: Move ff_h264_idct function declarations to a separate header Conflicts: libavcodec/dsputil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: Move ff_h264_idct function declarations to a separate headerDiego Biurrun2013-02-07
| |
* | Merge commit 'b9ba5253dd1232be4b48cfe61c31ff4b3de3d10a'Michael Niedermayer2013-02-09
|\| | | | | | | | | | | | | | | | | | | * commit 'b9ba5253dd1232be4b48cfe61c31ff4b3de3d10a': dsputil: Move copy_block functions to a separate header dsputil: Drop unused functions copy_block{2|4|16} No functions are droped because they are used in several places. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: Move copy_block functions to a separate headerDiego Biurrun2013-02-07
| |
| * dsputil: Drop unused functions copy_block{2|4|16}Diego Biurrun2013-02-07
| |
* | Merge commit 'b5b7b75e91e291c810ebd01868a42b53f267a87c'Michael Niedermayer2013-02-09
|\| | | | | | | | | | | | | | | | | | | * commit 'b5b7b75e91e291c810ebd01868a42b53f267a87c': dsputil: Move get_penalty_factor() to the only place it is used. Conflicts: libavcodec/dsputil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: Move get_penalty_factor() to the only place it is used.Diego Biurrun2013-02-07
| |
* | Merge commit '0b016eb99d38738e2c53e36549a4732a0f863b2e'Michael Niedermayer2013-02-09
|\| | | | | | | | | | | | | * commit '0b016eb99d38738e2c53e36549a4732a0f863b2e': dsputil: Move ff_block_permute to mpegvideo_enc Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: Move ff_block_permute to mpegvideo_encDiego Biurrun2013-02-07
| |
* | dsp: make put_no_rnd_pixels_tab 4x4 bigMichael Niedermayer2013-02-08
| | | | | | | | | | | | | | | | This makes it match the other tables and fixes out of array acceses. Fixes CID980012 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '79dad2a932534d1155079f937649e099f9e5cc27'Michael Niedermayer2013-02-07
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit '79dad2a932534d1155079f937649e099f9e5cc27': dsputil: Separate h264chroma Conflicts: libavcodec/dsputil_template.c libavcodec/ppc/dsputil_ppc.c libavcodec/vc1dec.c libavcodec/vc1dsp.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: Separate h264chromaDiego Biurrun2013-02-06
| |
* | dsputil: fixup half a dozen bugs with ptrdiff vs int linesizeMichael Niedermayer2013-02-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '25841dfe806a13de526ae09c11149ab1f83555a8'Michael Niedermayer2013-02-06
|\| | | | | | | | | | | | | | | | | | | | | * commit '25841dfe806a13de526ae09c11149ab1f83555a8': Use ptrdiff_t instead of int for {avg, put}_pixels line_size parameter. Conflicts: libavcodec/alpha/dsputil_alpha.c libavcodec/dsputil_template.c Merged-by: Michael Niedermayer <michaelni@gmx.at>