Diego Biurrun
ea7ee4b4e3
ppc: Centralize compiler-specific altivec.h #include handling in one place
Also move #includes into canonical order where appropriate.
9 years ago
Diego Biurrun
39929e55eb
ppc: hevcdsp: Use shorthands for vector types
This is more consistent and fixes compilation with clang.
9 years ago
Alexandra Hajkova
b0e6b3f477
hevc: ppc: Add HEVC 4x4 IDCT for PowerPC
Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years ago
Diego Biurrun
58224dc5f3
ppc: avcodec: Drop silly "_ppc" suffixes from files in ppc subdirectories
13 years ago
Luca Barbato
b015872c0d
huffyuvdsp: Enable the altivec code for PPC little-endian as well
Confirmed to work by checkasm.
9 years ago
Diego Biurrun
2caa93b813
mpegaudiodsp: Change type of array stride parameters to ptrdiff_t
This avoids SIMD-optimized functions having to sign-extend their
stride argument manually to be able to do pointer arithmetic.
9 years ago
Diego Biurrun
e4a94d8b36
h264chroma: Change type of stride parameters to ptrdiff_t
This avoids SIMD-optimized functions having to sign-extend their
stride argument manually to be able to do pointer arithmetic.
9 years ago
Diego Biurrun
2ec9fa5ec6
idct: Change type of array stride parameters to ptrdiff_t
ptrdiff_t is the correct type for array strides and similar.
9 years ago
Anton Khirnov
eea9857bfd
blockdsp: drop the high_bit_depth parameter
It has no effect, since the code is supposed to operate the same way for
any bit depth.
9 years ago
Diego Biurrun
de452e5037
pixblockdsp: Change type of stride parameters to ptrdiff_t
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.
9 years ago
Diego Biurrun
468bfe38c6
ppc: mpegvideo: Add proper runtime AltiVec detection
9 years ago
Diego Biurrun
6ce93757ee
ppc: Update #endif comments
9 years ago
Luca Barbato
caccb3a0cd
audiodsp: ppc: Add VSX variant
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years ago
Diego Biurrun
6892df9294
vp3: Change type of stride parameters to ptrdiff_t
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.
9 years ago
Anton Khirnov
9df889a5f1
h264: rename h264.[ch] to h264dec.[ch]
This is more consistent with the naming of other decoders.
9 years ago
Diego Biurrun
a6a750c7ef
tests: Move all test programs to a subdirectory
9 years ago
Diego Biurrun
01621202aa
build: miscellaneous cosmetics
Restore alphabetical order in lists, break overly long lines, do some
prettyprinting, add some explanatory section comments, group parts
together that belong together logically.
10 years ago
Diego Biurrun
02cd8bb9cb
h264: Clean up #includes
10 years ago
Diego Biurrun
1a094af638
fft: Split MDCT bits off from FFT
10 years ago
Diego Biurrun
15a24614ae
build: Add vc1dsp component for more fine-grained dependencies
10 years ago
Diego Biurrun
47570dbde8
fft: ppc: Place ff_fft_calc_interleave_altivec() under correct ifdefs
Also fix #endif comments in the FFT init code.
10 years ago
Vittorio Giovara
d42191c78b
configure: Factor out vp8dsp module
10 years ago
Luca Barbato
d0bf20a4f2
ppc: vsx: Implement diff_pixels and get_pixels
Use a macro to abstract the endianness.
10 years ago
Luca Barbato
da60b99a88
ppc: Restrict some Altivec implementations to Big Endian
In Little Endian the vec_ld/vec_st operations work as
expected only for byte-vectors.
10 years ago
Luca Barbato
7014b65995
ppc: pixblockdsp: Use the abriged vector types
10 years ago
Anton Khirnov
71f1ad37d8
lavc: do not compile fmtconvert unconditionally
Only ac3dec and dcadec use it.
11 years ago
Anton Khirnov
d74a8cb7e4
fmtconvert: drop unused functions
11 years ago
Vittorio Giovara
9c12c6ff95
motion_est: convert stride to ptrdiff_t
CC: libav-stable@libav.org
Bug-Id: CID 700556 / CID 700557 / CID 700558
11 years ago
Diego Biurrun
efd26bedec
build: Add explanatory comments to (optimization) blocks in the Makefiles
11 years ago
Diego Biurrun
835f798c7d
mpegvideo: cosmetics: Lowercase ugly uppercase MPV_ function name prefixes
11 years ago
Diego Biurrun
ffa4d4ef0b
ppc: fft: Build AltiVec optimizations in the standard way
11 years ago
Diego Biurrun
03c9f357a4
ppc: idctdsp: Immediately return if no AltiVec is available
This is how all the other init functions operate.
11 years ago
Diego Biurrun
7fb993d338
qpeldsp: Mark source pointer in qpel_mc_func function pointer const
11 years ago
Diego Biurrun
81b9bf3192
dct-test: Move arch-specific bits into arch-specific subdirectories
12 years ago
Diego Biurrun
1a583c0c60
fdct: Move ppc-specific declarations to a header in the ppc directory
12 years ago
Diego Biurrun
8b0dd4942a
idctdsp: prettyprinting cosmetics
11 years ago
Diego Biurrun
b4987f7219
idct: Convert IDCT permutation #defines to an enum
Also rename the enum values to be consistent with other DCT permutations.
12 years ago
Diego Biurrun
2d60444331
dsputil: Split motion estimation compare bits off into their own context
12 years ago
Diego Biurrun
a8552ee3eb
ppc: dsputil: Coalesce all init files
11 years ago
Diego Biurrun
1173320249
dsputil: Drop unused bit_depth parameter from all init functions
11 years ago
Diego Biurrun
f46bb608d9
dsputil: Split off pixel block routines into their own context
12 years ago
Diego Biurrun
a9aee08d90
dsputil: Split off FDCT bits into their own context
12 years ago
Diego Biurrun
c166148409
dsputil: Move pix_sum, pix_norm1, shrink function pointers to mpegvideoenc
12 years ago
Diego Biurrun
e3fcb14347
dsputil: Split off IDCT bits into their own context
12 years ago
Diego Biurrun
fab9df63a3
dsputil: Split off global motion compensation bits into a separate context
12 years ago
Diego Biurrun
9a9e2f1c8a
dsputil: Split audio operations off into a separate context
12 years ago
Diego Biurrun
e74433a8e6
dsputil: Split clear_block*/fill_block* off into a separate context
12 years ago
Diego Biurrun
27860819d5
ppc: Consistently use convenience macro for runtime CPU detection
11 years ago
Diego Biurrun
205fdd4ea5
ppc: Fix runtime CPU detection for apedsp, huffyuvdsp, svq1enc
11 years ago
Thierry Fauck
d6d767d93e
ppc: Fix compilation for ppc64le (ELFv2)
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago