summaryrefslogtreecommitdiff
path: root/libavcodec/ppc
Commit message (Collapse)AuthorAge
* avcodec/h264dsp, h264idct: Fix lengths of array parametersAndreas Rheinhardt2021-08-08
| | | | | | Fixes many -Warray-parameter warnings from GCC 11. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* Include attributes.h directlyAndreas Rheinhardt2021-04-19
| | | | | | | | Some files currently rely on libavutil/cpu.h to include it for them; yet said file won't use include it any more after the currently deprecated functions are removed, so include attributes.h directly. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* lavu/mem: move the DECLARE_ALIGNED macro family to mem_internal on next+1 bumpAnton Khirnov2021-01-01
| | | | They are not properly namespaced and not intended for public use.
* lavu: move LOCAL_ALIGNED from internal.h to mem_internal.hAnton Khirnov2021-01-01
| | | | That is a more appropriate place for it.
* ppc/h264dsp: change loop filter stride argument to ptrdiff_tJames Almer2019-02-20
| | | | | | This was missed in d5d699ab6e6f8a8290748d107416fd5c19757a1b Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/ppc/hevcdsp: Fix build failures with powerpc-linux-gnu-gcc-4.8 with ↵Michael Niedermayer2018-12-05
| | | | | | | | | | | --disable-optimizations The affected functions could also be changed into macros, this is the smaller change to fix it though. And avoids (probably) less readable macros The extra code should be optimized out when optimizations are done as all values are known at build after inlining. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libavcodec/ppc: Fix HEVC AltiVec routines with --enable-smallA. Wilcox2018-07-21
| | | | | | | | | | | | | | GCC requires the argument to vec_splat_u32 to be a literal. The easiest way to accomplish this is to change 'shift' to be const in scale (as it is in the transform routine above), and convert both routines to be inline. This way, GCC can coerce the values to literals. Tested on a 970 (Apple G5) and POWER9 (Talos II); passed fate and played a clip of Big Buck Bunny correctly. Fixes ticket #7048 Signed-off-by: A. Wilcox <AWilcox@Wilcox-Tech.com>
* lavc/ppc/hpeldsp_altivec: Remove declaration of two unused variables.Carl Eugen Hoyos2017-11-01
|
* lavc/ppc/h264dsp: Fix function prototype after bc26fe89.Carl Eugen Hoyos2017-11-01
| | | | | | | | | Silences the following gcc warnings: src/libavcodec/ppc/h264dsp.c: In function 'ff_h264dsp_init_ppc': src/libavcodec/ppc/h264dsp.c:809:40: warning: assignment from incompatible pointer type src/libavcodec/ppc/h264dsp.c:810:40: warning: assignment from incompatible pointer type src/libavcodec/ppc/h264dsp.c:811:40: warning: assignment from incompatible pointer type src/libavcodec/ppc/h264dsp.c:812:40: warning: assignment from incompatible pointer type
* lavc/ppc/svq1enc_altivec: Fix function prototype after dad31083.Carl Eugen Hoyos2017-11-01
| | | | | | Silences a gcc warning: src/libavcodec/ppc/svq1enc_altivec.c: In function 'ff_svq1enc_init_ppc': src/libavcodec/ppc/svq1enc_altivec.c:80:26: warning: assignment from incompatible pointer type
* lavc/ppc/fft_init: Fix compilation on ppc64le with --disable-vsx.Carl Eugen Hoyos2017-10-12
|
* Merge commit 'ea7ee4b4e381e0fa731458de0cbf740430eeb013'Clément Bœsch2017-04-26
|\ | | | | | | | | | | | | * commit 'ea7ee4b4e381e0fa731458de0cbf740430eeb013': ppc: Centralize compiler-specific altivec.h #include handling in one place Merged-by: Clément Bœsch <u@pkh.me>
| * ppc: Centralize compiler-specific altivec.h #include handling in one placeDiego Biurrun2016-12-14
| | | | | | | | Also move #includes into canonical order where appropriate.
* | Merge commit '39929e55eb13eeb8dfbe1bc99301fecf6b8942dd'Clément Bœsch2017-04-26
|\| | | | | | | | | | | | | * commit '39929e55eb13eeb8dfbe1bc99301fecf6b8942dd': ppc: hevcdsp: Use shorthands for vector types Merged-by: Clément Bœsch <u@pkh.me>
| * ppc: hevcdsp: Use shorthands for vector typesDiego Biurrun2016-12-14
| | | | | | | | This is more consistent and fixes compilation with clang.
* | Merge commit 'b0e6b3f4777910d61083976aa9fc78a1e0731aae'Clément Bœsch2017-04-17
|\| | | | | | | | | | | | | * commit 'b0e6b3f4777910d61083976aa9fc78a1e0731aae': hevc: ppc: Add HEVC 4x4 IDCT for PowerPC Merged-by: Clément Bœsch <u@pkh.me>
| * hevc: ppc: Add HEVC 4x4 IDCT for PowerPCAlexandra Hajkova2016-12-12
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | Merge commit '58224dc5f3d4fea40a8d55cca87291a960c11622'James Almer2017-03-23
|\| | | | | | | | | | | | | * commit '58224dc5f3d4fea40a8d55cca87291a960c11622': ppc: avcodec: Drop silly "_ppc" suffixes from files in ppc subdirectories Merged-by: James Almer <jamrial@gmail.com>
| * ppc: avcodec: Drop silly "_ppc" suffixes from files in ppc subdirectoriesDiego Biurrun2016-10-18
| |
| * huffyuvdsp: Enable the altivec code for PPC little-endian as wellLuca Barbato2016-10-02
| | | | | | | | Confirmed to work by checkasm.
* | avcodec/lossless_videodsp: use ptrdiff_t for length parametersJames Almer2017-03-22
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit '2caa93b813adc5dbb7771dfe615da826a2947d18'James Almer2017-03-21
|\| | | | | | | | | | | | | * commit '2caa93b813adc5dbb7771dfe615da826a2947d18': mpegaudiodsp: Change type of array stride parameters to ptrdiff_t Merged-by: James Almer <jamrial@gmail.com>
| * mpegaudiodsp: Change type of array stride parameters to ptrdiff_tDiego Biurrun2016-09-29
| | | | | | | | | | This avoids SIMD-optimized functions having to sign-extend their stride argument manually to be able to do pointer arithmetic.
* | Merge commit 'e4a94d8b36c48d95a7d412c40d7b558422ff659c'James Almer2017-03-21
|\| | | | | | | | | | | | | * commit 'e4a94d8b36c48d95a7d412c40d7b558422ff659c': h264chroma: Change type of stride parameters to ptrdiff_t Merged-by: James Almer <jamrial@gmail.com>
| * h264chroma: Change type of stride parameters to ptrdiff_tDiego Biurrun2016-09-29
| | | | | | | | | | This avoids SIMD-optimized functions having to sign-extend their stride argument manually to be able to do pointer arithmetic.
* | Merge commit '2ec9fa5ec60dcd10e1cb10d8b4e4437e634ea428'James Almer2017-03-21
|\| | | | | | | | | | | | | * commit '2ec9fa5ec60dcd10e1cb10d8b4e4437e634ea428': idct: Change type of array stride parameters to ptrdiff_t Merged-by: James Almer <jamrial@gmail.com>
| * idct: Change type of array stride parameters to ptrdiff_tDiego Biurrun2016-09-29
| | | | | | | | ptrdiff_t is the correct type for array strides and similar.
| * blockdsp: drop the high_bit_depth parameterAnton Khirnov2016-09-22
| | | | | | | | | | It has no effect, since the code is supposed to operate the same way for any bit depth.
* | Merge commit 'de452e503734ebb0fdbce86e9d16693b3530fad3'Clément Bœsch2017-03-20
|\| | | | | | | | | | | | | * commit 'de452e503734ebb0fdbce86e9d16693b3530fad3': pixblockdsp: Change type of stride parameters to ptrdiff_t Merged-by: Clément Bœsch <u@pkh.me>
| * pixblockdsp: Change type of stride parameters to ptrdiff_tDiego Biurrun2016-09-14
| | | | | | | | | | | | | | This avoids SIMD-optimized functions having to sign-extend their line size argument manually to be able to do pointer arithmetic. Also adjust parameter names to be "stride" everywhere.
* | Merge commit '468bfe38c66d4d020984158e53b09a6a5749f394'Clément Bœsch2017-03-20
|\| | | | | | | | | | | | | * commit '468bfe38c66d4d020984158e53b09a6a5749f394': ppc: mpegvideo: Add proper runtime AltiVec detection Merged-by: Clément Bœsch <u@pkh.me>
| * ppc: mpegvideo: Add proper runtime AltiVec detectionDiego Biurrun2016-09-11
| |
* | Merge commit '6ce93757ee6b81fe727bfdc9f546fd0ddf9139c3'Clément Bœsch2017-03-20
|\| | | | | | | | | | | | | | | | | | | | | * commit '6ce93757ee6b81fe727bfdc9f546fd0ddf9139c3': ppc: Update #endif comments This commit is mostly a noop as we seem to support PPC LE (see 902ce2a6c4364fd27ae3f1db78cd275caf79c006). Only the h264 chunks are updated. Merged-by: Clément Bœsch <u@pkh.me>
| * ppc: Update #endif commentsDiego Biurrun2016-09-11
| |
* | Merge commit 'caccb3a0cdc7ee32cbed7eab156d35025133eadc'Clément Bœsch2017-03-20
|\| | | | | | | | | | | | | * commit 'caccb3a0cdc7ee32cbed7eab156d35025133eadc': audiodsp: ppc: Add VSX variant Merged-by: Clément Bœsch <u@pkh.me>
| * audiodsp: ppc: Add VSX variantLuca Barbato2016-09-11
| | | | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | Merge commit '6892df9294d93322d43255ada299507465bc93c8'Clément Bœsch2017-03-19
|\| | | | | | | | | | | | | * commit '6892df9294d93322d43255ada299507465bc93c8': vp3: Change type of stride parameters to ptrdiff_t Merged-by: Clément Bœsch <u@pkh.me>
| * vp3: Change type of stride parameters to ptrdiff_tDiego Biurrun2016-08-26
| | | | | | | | | | | | | | This avoids SIMD-optimized functions having to sign-extend their stride argument manually to be able to do pointer arithmetic. Also adjust parameter names to be "stride" everywhere.
* | huffyuvdsp: move functions only used by huffyuv from lossless_videodspJames Almer2017-01-12
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | lossless_videodsp: move shared functions from huffyuvdspJames Almer2017-01-12
| | | | | | | | | | | | Several codecs other than huffyuv use them. Signed-off-by: James Almer <jamrial@gmail.com>
* | ppc: pixblockdsp: do unaligned block accesses correctly againAndreas Cadhalpun2016-11-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was broken by the following Libav commit: 4c387c7 ppc: dsputil: do unaligned block accesses correctly The following tests fail due to this: fate-checkasm fate-vsynth1-dnxhd-2k-hr-hq fate-vsynth1-dnxhd-edge1-hr fate-vsynth1-dnxhd-edge2-hr fate-vsynth1-dnxhd-edge3-hr fate-vsynth1-dnxhd-hr-sq-mov fate-vsynth1-dnxhd-hr-hq-mov fate-vsynth2-dnxhd-2k-hr-hq fate-vsynth2-dnxhd-edge1-hr fate-vsynth2-dnxhd-edge2-hr fate-vsynth2-dnxhd-edge3-hr fate-vsynth2-dnxhd-hr-sq-mov fate-vsynth2-dnxhd-hr-hq-mov fate-vsynth3-dnxhd-2k-hr-hq fate-vsynth3-dnxhd-edge1-hr fate-vsynth3-dnxhd-edge2-hr fate-vsynth3-dnxhd-edge3-hr fate-vsynth3-dnxhd-hr-sq-mov fate-vsynth3-dnxhd-hr-hq-mov Fixes trac ticket #5508. Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | Merge commit '9df889a5f116c1ee78c2f239e0ba599c492431aa'Clément Bœsch2016-07-29
|\| | | | | | | | | | | | | * commit '9df889a5f116c1ee78c2f239e0ba599c492431aa': h264: rename h264.[ch] to h264dec.[ch] Merged-by: Clément Bœsch <u@pkh.me>
| * h264: rename h264.[ch] to h264dec.[ch]Anton Khirnov2016-06-21
| | | | | | | | This is more consistent with the naming of other decoders.
* | Restore compatibility with powerpc-apple-darwin9-gcc-4.2.1Pavel Koshevoy2016-07-15
| | | | | | | | | | | | | | | | ... and attempt to preserve compatibility with clang that was introduced in 311a953c76081fca99b872629d248f9d69ebc0c3 (untested) Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/ppc: fix broken build when compiling libavcodec with LLVM on PPC backendJing Yu2016-06-25
| | | | | | | | | | | | | | | | | | | | This commit fixes a broken build when compiling libavcodec with LLVM compiler. These assembly files use non-standard format that is only supported by GCC compiler. It would be nice to use a common standard format. With this patch, both GCC and LLVM can build and generate the same objects. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'a6a750c7ef240b72ce01e9653343a0ddf247d196'Clément Bœsch2016-06-22
|\| | | | | | | | | | | | | * commit 'a6a750c7ef240b72ce01e9653343a0ddf247d196': tests: Move all test programs to a subdirectory Merged-by: Clément Bœsch <clement@stupeflix.com>
| * tests: Move all test programs to a subdirectoryDiego Biurrun2016-05-13
| |
* | Merge commit '01621202aad7e27b2a05c71d9ad7a19dfcbe17ec'Derek Buitenhuis2016-05-09
|\| | | | | | | | | | | | | * commit '01621202aad7e27b2a05c71d9ad7a19dfcbe17ec': build: miscellaneous cosmetics Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * build: miscellaneous cosmeticsDiego Biurrun2016-04-07
| | | | | | | | | | | | Restore alphabetical order in lists, break overly long lines, do some prettyprinting, add some explanatory section comments, group parts together that belong together logically.
* | Merge commit '02cd8bb9cb4381c50f42a9284098cc8a33d397db'Derek Buitenhuis2016-04-24
|\| | | | | | | | | | | | | * commit '02cd8bb9cb4381c50f42a9284098cc8a33d397db': h264: Clean up #includes Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>