Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-20avcodec/mpegvideodsp: Make MpegVideoDSP MPEG-4 onlyAndreas Rheinhardt
It is only used by gmc/gmc1 which is only used by the MPEG-4 decoder, so move it to Mpeg4DecContext and rename it to Mpeg4VideoDSP. Also compile it iff the MPEG-4 decoder is compiled. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-10-14avcodec/svq1enc: Add SVQ1EncDSPContext, make codec context privateAndreas Rheinhardt
Currently, SVQ1EncContext is defined in a header that is also included by the arch-specific code that initializes the one and only dsp function that this encoder uses directly. But the arch-specific functions to set this dsp function do not need anything from SVQ1EncContext. This commit therefore adds a small SVQ1EncDSPContext whose only member is said function pointer and renames svq1enc.h to svq1encdsp.h to avoid exposing unnecessary internals to these init functions (and the whole mpegvideo with it). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-09-21avcodec/fmtconvert: Remove unused AVCodecContext parameterAndreas Rheinhardt
Unused since d74a8cb7e42f703be5796eeb485f06af710ae8ca. Reviewed-by: Rémi Denis-Courmont <remi@remlab.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-09-19lavc/vorbisdsp: use ptrdiff_t rather than intptr_tRémi Denis-Courmont
... for a difference between pointers.
2022-09-19lavc/vorbisdec: use ptrdiff_t to iterate over intptr_tRémi Denis-Courmont
While this probably never overflows, we are better safe than sorry. The callback prototype should probably also use ptrdiff_t or size_t, but I diggress (this would affect the DSP callback prototype).
2022-09-11avcodec/vp8dsp: Constify src in vp8_mc_funcAndreas Rheinhardt
Reviewed-by: Peter Ross <pross@xvid.org> Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-08-05avcodec/h264chroma: Constify src in h264_chroma_mc_funcAndreas Rheinhardt
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-07-31avcodec/mpegvideodsp: Constify src pointersAndreas Rheinhardt
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-07-31avcodec/mpegvideoencdsp: Allow pointers to const where possibleAndreas Rheinhardt
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-07-31avcodec/me_cmp: Constify me_cmp_func buffer parametersAndreas Rheinhardt
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-07-31avcodec/videodsp: Constify buf in VideoDSPContext.prefetchAndreas Rheinhardt
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-08-08avcodec/h264dsp, h264idct: Fix lengths of array parametersAndreas Rheinhardt
Fixes many -Warray-parameter warnings from GCC 11. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-04-19Include attributes.h directlyAndreas Rheinhardt
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>
2021-01-01lavu/mem: move the DECLARE_ALIGNED macro family to mem_internal on next+1 bumpAnton Khirnov
They are not properly namespaced and not intended for public use.
2021-01-01lavu: move LOCAL_ALIGNED from internal.h to mem_internal.hAnton Khirnov
That is a more appropriate place for it.
2019-02-21ppc/h264dsp: change loop filter stride argument to ptrdiff_tJames Almer
This was missed in d5d699ab6e6f8a8290748d107416fd5c19757a1b Signed-off-by: James Almer <jamrial@gmail.com>
2018-12-06avcodec/ppc/hevcdsp: Fix build failures with powerpc-linux-gnu-gcc-4.8 with ↵Michael Niedermayer
--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>
2018-07-21libavcodec/ppc: Fix HEVC AltiVec routines with --enable-smallA. Wilcox
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>
2017-11-02lavc/ppc/hpeldsp_altivec: Remove declaration of two unused variables.Carl Eugen Hoyos
2017-11-01lavc/ppc/h264dsp: Fix function prototype after bc26fe89.Carl Eugen Hoyos
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
2017-11-01lavc/ppc/svq1enc_altivec: Fix function prototype after dad31083.Carl Eugen Hoyos
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
2017-10-13lavc/ppc/fft_init: Fix compilation on ppc64le with --disable-vsx.Carl Eugen Hoyos
2017-04-26Merge commit 'ea7ee4b4e381e0fa731458de0cbf740430eeb013'Clément Bœsch
* commit 'ea7ee4b4e381e0fa731458de0cbf740430eeb013': ppc: Centralize compiler-specific altivec.h #include handling in one place Merged-by: Clément Bœsch <u@pkh.me>
2017-04-26Merge commit '39929e55eb13eeb8dfbe1bc99301fecf6b8942dd'Clément Bœsch
* commit '39929e55eb13eeb8dfbe1bc99301fecf6b8942dd': ppc: hevcdsp: Use shorthands for vector types Merged-by: Clément Bœsch <u@pkh.me>
2017-04-17Merge commit 'b0e6b3f4777910d61083976aa9fc78a1e0731aae'Clément Bœsch
* commit 'b0e6b3f4777910d61083976aa9fc78a1e0731aae': hevc: ppc: Add HEVC 4x4 IDCT for PowerPC Merged-by: Clément Bœsch <u@pkh.me>
2017-03-24Merge commit '58224dc5f3d4fea40a8d55cca87291a960c11622'James Almer
* commit '58224dc5f3d4fea40a8d55cca87291a960c11622': ppc: avcodec: Drop silly "_ppc" suffixes from files in ppc subdirectories Merged-by: James Almer <jamrial@gmail.com>
2017-03-23avcodec/lossless_videodsp: use ptrdiff_t for length parametersJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2017-03-21Merge commit '2caa93b813adc5dbb7771dfe615da826a2947d18'James Almer
* commit '2caa93b813adc5dbb7771dfe615da826a2947d18': mpegaudiodsp: Change type of array stride parameters to ptrdiff_t Merged-by: James Almer <jamrial@gmail.com>
2017-03-21Merge commit 'e4a94d8b36c48d95a7d412c40d7b558422ff659c'James Almer
* commit 'e4a94d8b36c48d95a7d412c40d7b558422ff659c': h264chroma: Change type of stride parameters to ptrdiff_t Merged-by: James Almer <jamrial@gmail.com>
2017-03-21Merge commit '2ec9fa5ec60dcd10e1cb10d8b4e4437e634ea428'James Almer
* commit '2ec9fa5ec60dcd10e1cb10d8b4e4437e634ea428': idct: Change type of array stride parameters to ptrdiff_t Merged-by: James Almer <jamrial@gmail.com>
2017-03-20Merge commit 'de452e503734ebb0fdbce86e9d16693b3530fad3'Clément Bœsch
* commit 'de452e503734ebb0fdbce86e9d16693b3530fad3': pixblockdsp: Change type of stride parameters to ptrdiff_t Merged-by: Clément Bœsch <u@pkh.me>
2017-03-20Merge commit '468bfe38c66d4d020984158e53b09a6a5749f394'Clément Bœsch
* commit '468bfe38c66d4d020984158e53b09a6a5749f394': ppc: mpegvideo: Add proper runtime AltiVec detection Merged-by: Clément Bœsch <u@pkh.me>
2017-03-20Merge commit '6ce93757ee6b81fe727bfdc9f546fd0ddf9139c3'Clément Bœsch
* 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>
2017-03-20Merge commit 'caccb3a0cdc7ee32cbed7eab156d35025133eadc'Clément Bœsch
* commit 'caccb3a0cdc7ee32cbed7eab156d35025133eadc': audiodsp: ppc: Add VSX variant Merged-by: Clément Bœsch <u@pkh.me>
2017-03-19Merge commit '6892df9294d93322d43255ada299507465bc93c8'Clément Bœsch
* commit '6892df9294d93322d43255ada299507465bc93c8': vp3: Change type of stride parameters to ptrdiff_t Merged-by: Clément Bœsch <u@pkh.me>
2017-01-13huffyuvdsp: move functions only used by huffyuv from lossless_videodspJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2017-01-13lossless_videodsp: move shared functions from huffyuvdspJames Almer
Several codecs other than huffyuv use them. Signed-off-by: James Almer <jamrial@gmail.com>
2016-12-14ppc: Centralize compiler-specific altivec.h #include handling in one placeDiego Biurrun
Also move #includes into canonical order where appropriate.
2016-12-14ppc: hevcdsp: Use shorthands for vector typesDiego Biurrun
This is more consistent and fixes compilation with clang.
2016-12-12hevc: ppc: Add HEVC 4x4 IDCT for PowerPCAlexandra Hajkova
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2016-11-03ppc: pixblockdsp: do unaligned block accesses correctly againAndreas Cadhalpun
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>
2016-10-18ppc: avcodec: Drop silly "_ppc" suffixes from files in ppc subdirectoriesDiego Biurrun
2016-10-02huffyuvdsp: Enable the altivec code for PPC little-endian as wellLuca Barbato
Confirmed to work by checkasm.
2016-09-29mpegaudiodsp: Change type of array stride parameters to ptrdiff_tDiego Biurrun
This avoids SIMD-optimized functions having to sign-extend their stride argument manually to be able to do pointer arithmetic.
2016-09-29h264chroma: Change type of stride parameters to ptrdiff_tDiego Biurrun
This avoids SIMD-optimized functions having to sign-extend their stride argument manually to be able to do pointer arithmetic.
2016-09-29idct: Change type of array stride parameters to ptrdiff_tDiego Biurrun
ptrdiff_t is the correct type for array strides and similar.
2016-09-22blockdsp: drop the high_bit_depth parameterAnton Khirnov
It has no effect, since the code is supposed to operate the same way for any bit depth.
2016-09-14pixblockdsp: Change type of stride parameters to ptrdiff_tDiego Biurrun
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.
2016-09-12ppc: mpegvideo: Add proper runtime AltiVec detectionDiego Biurrun
2016-09-11ppc: Update #endif commentsDiego Biurrun