Diego Biurrun
f9279ee749
dsputil: Move ff_zigzag_direct and ff_crop_tab declarations to mathops.h
11 years ago
Diego Biurrun
82bb304801
dsputil: Use correct type in me_cmp_func function pointer
11 years ago
Diego Biurrun
54a6e08a65
dsputil: Conditionally compile dsputil code on all architectures
11 years ago
Diego Biurrun
5169e68895
dsputil: Propagate bit depth information to all (sub)init functions
...
This avoids recalculating the value over and over again.
11 years ago
Diego Biurrun
eb2b8bce39
bfin: Use more sensible file names
...
Drop non-informative _bfin suffix, rename some files for consistency with
other architectures, rename others to reflect their content.
11 years ago
Diego Biurrun
929ec39ec4
bfin: hpeldsp: Split no_rnd pixel operations off into a separate file
...
This saves some space in configurations that do not enable hpeldsp.
11 years ago
Diego Biurrun
a7cc4ac9d9
bfin: dsputil: Unconditionally compile hpel pixels code
...
The functions it contains are used from unconditionally compiled code.
11 years ago
Diego Biurrun
13ae97b210
bfin: hpeldsp: "nornd" ---> "no_rnd" function name suffix for consistency
11 years ago
Diego Biurrun
bbf0ef57e9
bfin: Move all assembly declarations only used within one .c file there
...
This is done similarly for all other architectures.
11 years ago
Diego Biurrun
80173c71ba
bfin: hpeldsp: K&R formatting cosmetics
11 years ago
Diego Biurrun
da785231ea
bfin: Refactor duplicated assembly-related macros
11 years ago
Diego Biurrun
e99af2a3b1
bfin: Refactor duplicated l1_text/l1_data_B macros
11 years ago
Diego Biurrun
a3e7562621
bfin: dsputil: K&R formatting cosmetics
...
Also add a few #endif comments.
11 years ago
Diego Biurrun
1e33095b83
bfin: dsputil: Drop broken and trivial profiling code
11 years ago
Diego Biurrun
f5f0997668
bfin: hpeldsp: Drop broken put_pixels_*_xy2_nornd bits
...
They were marked as broken and disabled in 2009 and will never get fixed.
11 years ago
Diego Biurrun
14efbe694a
bfin: dsputil: Drop broken vsad bits
...
They were marked as broken and disabled in 2009 and will never get fixed.
11 years ago
Diego Biurrun
671c878559
bfin: dsputil: Remove unused global variable
11 years ago
Diego Biurrun
05563ccacc
dsputil: cosmetics: Lose camelCase on ff_cropTbl and ff_squareTbl names
...
Also switch from "tbl" to "tab" name suffixes.
11 years ago
Diego Biurrun
831a118078
Update dsputil- and SIMD-related comments to match reality more closely
11 years ago
Diego Biurrun
19987fa18c
bfin: vp3: Mark all binary object sections appropriately
...
This fixes a leftover from e44d7c659b
.
11 years ago
Anton Khirnov
a3a55645f0
mpegvideo: remove disabled bfin asm
...
It has been disabled as 'broken' over 3 years ago in b716a792
11 years ago
Martin Storsjö
287c8db39e
cosmetics: bfin: Fix indentation in the dsputil init function
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Ronald S. Bultje
bfb41b5039
bfin: hpeldsp: Move half-pel assembly from dsputil to hpeldsp
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Ronald S. Bultje
015821229f
vp3: Use full transpose for all IDCTs
...
This way, the special IDCT permutations are no longer needed. This
is similar to how H264 does it, and removes the dsputil dependency
imposed by the scantable code.
Also remove the unused type == 0 cases from the plain C version
of the idct.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
5941978e71
vp3: bfin: Transpose the IDCTs
...
While this change isn't bitexact, the IDCTs weren't bitexact to
start with either.
This simplifies decoupling vp3 from dsputil.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
c0dcf89887
bfin: Match DEFUN_END macros to the right functions
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
9e0f14f16c
lavc: Make pointers to ff_cropTbl const
...
There's no point in these pointers not being const.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
0f59845708
bfin: Make vp3 functions static
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
aa8d89536d
bfin: Don't use the vp3 idct functions if bitexact behaviour is expected
...
In the non-bitexact mode, vp3 currently decodes to the same
frame crcs as before 28f9ab702
(and the output visually looks
correct).
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Ronald S. Bultje
e9e608ad58
Move bfin half-pel assembly from dsputil to hpeldsp.
12 years ago
Ronald S. Bultje
d85c9b036e
vp3/x86: use full transpose for all IDCTs.
...
This way, the special IDCT permutations are no longer needed. Bfin code
is disabled until someone updates it. This is similar to how H264 does
it, and removes the dsputil dependency imposed by the scantable code.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
c242bbd8b6
Remove unnecessary dsputil.h #includes
12 years ago
Diego Biurrun
c9f933b5b6
Add av_cold attributes to arch-specific init functions
12 years ago
Diego Biurrun
25841dfe80
Use ptrdiff_t instead of int for {avg, put}_pixels line_size parameter.
...
This avoids SIMD-optimized functions having to sign-extend their
line size argument manually to be able to do pointer arithmetic.
12 years ago
Luca Barbato
4e0bc996d9
bfin: unbreak compilation
...
Added a missing header file.
12 years ago
Diego Biurrun
438ea561ad
bfin: Separate VP3 initialization code
12 years ago
Luca Barbato
f550583c00
bfin: update VP3 idct
...
The block must be set to 0.
12 years ago
Diego Biurrun
88bd7fdc82
Drop DCTELEM typedef
...
It does not help as an abstraction and adds dsputil dependencies.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years ago
Ronald S. Bultje
93af2734ee
lavc: put FF_IDCT_{VP3,H264,CAVS,BINK,EA,WMV2} under FF_API_IDCT.
...
This allows us to get rid of them on the next major bump. All of the
above are functionally irrelevant, and most of them are unused, except
the vp3 one, which is used wrongly in the bfin arch optimizations.
12 years ago
Peter Ross
9ccc349f77
ensure comment blocks that contain doxygen commands start with double asterix
...
Reveiwed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
ac56ff9cc9
build: non-x86: Only compile mpegvideo optimizations when necessary
12 years ago
Derek Buitenhuis
e62e455f7b
dsputil/me/pixels: Actually use av_restrict
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
ad0e31f134
build: prettyprinting cosmetics
13 years ago
Martin Storsjö
efd29844eb
mpegvideo: Add ff_ prefix to nonstatic functions
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
9cf0841ef3
dsputil: Add ff_ prefix to the dsputil*_init* functions
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Diego Biurrun
0bba26466f
cosmetics: Delete empty lines at end of file.
13 years ago
Diego Biurrun
f36b390275
Replace some forgotten FFmpeg references by Libav.
13 years ago
Michael Niedermayer
2aaf32f52f
mpegvideo: support encoding with chroma intra tables that differ from luma.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
a617c6aaa3
dsputil: update per-arch init funcs for non-h264 high bit depth
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
874f1a901d
dsputil: template get_pixels() for different bit depths
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago