Diego Biurrun
f9279ee749
dsputil: Move ff_zigzag_direct and ff_crop_tab declarations to mathops.h
2014-03-22 06:17:29 -07:00
Diego Biurrun
600b854ad8
imgconvert: Move ff_deinterlace_line_*_mmx declarations out of dsputil
2014-03-22 06:17:29 -07:00
Diego Biurrun
1a8d0cf77e
x86: dsputil: Move inline assembly macros to a separate header
2014-03-22 06:17:29 -07:00
Diego Biurrun
1df0b06162
nuv: Reuse the DSPContext from RTJpegContext
...
There is no point in populating NuvContext with another DSPContext.
Also split static and dynamic initialization bits to avoid running the
static initialization parts over and over.
2014-03-22 06:17:29 -07:00
Diego Biurrun
46caba4a65
float_dsp: Replace arch optimization ifdefs by if cascade
...
Arch-specific optimizations are handled this way everywhere else.
2014-03-22 14:11:22 +01:00
Diego Biurrun
cc8163e1a3
avcodec: more correct printf specifiers
2014-03-22 14:08:20 +01:00
Diego Biurrun
7513234bdd
avfilter: more correct printf format specifiers
2014-03-22 13:21:16 +01:00
Diego Biurrun
82bb304801
dsputil: Use correct type in me_cmp_func function pointer
2014-03-20 05:03:23 -07:00
Diego Biurrun
0e083d7e43
build: Group general components separate from de/encoders in arch Makefiles
...
This is in line with how the top-level libavcodec Makefile is structured.
2014-03-20 05:03:23 -07:00
Diego Biurrun
54a6e08a65
dsputil: Conditionally compile dsputil code on all architectures
2014-03-20 05:03:23 -07:00
Diego Biurrun
5169e68895
dsputil: Propagate bit depth information to all (sub)init functions
...
This avoids recalculating the value over and over again.
2014-03-20 05:03:23 -07:00
Diego Biurrun
cf7a216757
arm: dsputil: K&R formatting cosmetics
2014-03-20 05:03:23 -07:00
Diego Biurrun
1675975216
ppc: dsputil: Drop trailing semicolon from macros
...
This allows for a more natural macro usage.
2014-03-20 05:03:22 -07:00
Diego Biurrun
b7d24fd4b2
ppc: dsputil: Merge some declarations and initializations
2014-03-20 05:03:22 -07:00
Diego Biurrun
b045283f21
ppc: dsputil: Simplify some ifdeffed function definitions
2014-03-20 05:03:22 -07:00
Diego Biurrun
8bd6f88266
ppc: dsputil: Drop some unnecessary parentheses
2014-03-20 05:03:22 -07:00
Diego Biurrun
022184a646
ppc: dsputil: more K&R formatting cosmetics
2014-03-20 05:03:22 -07:00
Diego Biurrun
30f3f95987
ppc: dsputil: K&R formatting cosmetics
2014-03-20 05:03:22 -07:00
Diego Biurrun
82ee14d2ce
ppc: dsputil: comment formatting and wording/grammar improvements
2014-03-20 05:03:22 -07:00
Diego Biurrun
cce791b17b
hpeldsp_template: Merge some declarations and initializations
2014-03-20 05:03:22 -07:00
Diego Biurrun
2539cf1c81
hpeldsp_template: K&R formatting cosmetics
2014-03-20 05:03:22 -07:00
Diego Biurrun
2972087e39
hpel_template: Drop some unnecessary parentheses
2014-03-20 05:03:22 -07:00
Diego Biurrun
e8eace3276
hpel_template: K&R formatting cosmetics
2014-03-20 05:03:22 -07:00
Diego Biurrun
606cc8afa1
configure: ppc: Disable ldbrx instruction by default
...
Only enable it for CPUs that support it.
This restores the behavior prior to 7a650caf .
2014-03-19 17:14:11 +01:00
Diego Biurrun
7a650caf64
configure: Split some logical blocks off from HAVE_LIST
2014-03-14 13:45:40 +01:00
Diego Biurrun
d0adf55c05
configure: Split some logical blocks off from CONFIG_LIST
2014-03-14 13:45:40 +01:00
Diego Biurrun
07ea8a7e94
configure: Group and sort function/struct/type checks
...
Group checks into logical groups and sort alphabetically within those groups
unless checks have close coupling. Keep closely coupled checks together.
2014-03-14 13:45:40 +01:00
Diego Biurrun
36b822b8be
arm: dsputil: Drop restrict keyword from add_pixels_clamped_armv6 prototype
...
The function is assigned to a function pointer that does not have the
restrict keyword for that parameter.
This fixes compilation for MSVC builds that don't recognize "restrict",
broken since ed9625eb62 .
2014-03-14 13:45:40 +01:00
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.
2014-03-13 08:15:53 -07:00
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.
2014-03-13 08:15:53 -07:00
Diego Biurrun
a7cc4ac9d9
bfin: dsputil: Unconditionally compile hpel pixels code
...
The functions it contains are used from unconditionally compiled code.
2014-03-13 08:15:53 -07:00
Diego Biurrun
13ae97b210
bfin: hpeldsp: "nornd" ---> "no_rnd" function name suffix for consistency
2014-03-13 08:15:53 -07:00
Diego Biurrun
bbf0ef57e9
bfin: Move all assembly declarations only used within one .c file there
...
This is done similarly for all other architectures.
2014-03-13 08:15:53 -07:00
Diego Biurrun
80173c71ba
bfin: hpeldsp: K&R formatting cosmetics
2014-03-13 08:15:52 -07:00
Diego Biurrun
da785231ea
bfin: Refactor duplicated assembly-related macros
2014-03-13 08:15:52 -07:00
Diego Biurrun
e99af2a3b1
bfin: Refactor duplicated l1_text/l1_data_B macros
2014-03-13 08:15:52 -07:00
Diego Biurrun
a3e7562621
bfin: dsputil: K&R formatting cosmetics
...
Also add a few #endif comments.
2014-03-13 08:15:52 -07:00
Diego Biurrun
1e33095b83
bfin: dsputil: Drop broken and trivial profiling code
2014-03-13 08:15:52 -07:00
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.
2014-03-13 08:15:52 -07:00
Diego Biurrun
14efbe694a
bfin: dsputil: Drop broken vsad bits
...
They were marked as broken and disabled in 2009 and will never get fixed.
2014-03-13 08:15:52 -07:00
Diego Biurrun
671c878559
bfin: dsputil: Remove unused global variable
2014-03-13 08:15:51 -07:00
Diego Biurrun
db3f61a04f
x86: dsputil_init: Drop some unnecessary parentheses
2014-03-13 08:15:51 -07:00
Diego Biurrun
441b093915
x86: dsputil_init: K&R formatting cosmetics
2014-03-13 08:15:51 -07:00
Diego Biurrun
4cb4680c10
x86: dsputil_x86.h: K&R formatting cosmetics
2014-03-13 08:15:51 -07:00
Diego Biurrun
f8bbebecfd
x86: motion_est: K&R formatting cosmetics
2014-03-13 08:15:51 -07:00
Diego Biurrun
a36947c167
dsputilenc_mmx: K&R formatting cosmetics
2014-03-13 08:15:51 -07:00
Diego Biurrun
38675229a8
dsputil_mmx: K&R formatting cosmetics
2014-03-13 08:15:51 -07:00
Diego Biurrun
6a8b35dc88
dsputilenc_mmx: Merge two assignment blocks with identical conditions
2014-03-13 08:15:51 -07:00
Diego Biurrun
945673f792
dsputil_template: K&R formatting cosmetics
2014-03-13 08:15:50 -07:00
Diego Biurrun
acd2b8e42d
rnd_avg.h: K&R formatting cosmetics
2014-03-13 08:15:50 -07:00
Diego Biurrun
05563ccacc
dsputil: cosmetics: Lose camelCase on ff_cropTbl and ff_squareTbl names
...
Also switch from "tbl" to "tab" name suffixes.
2014-03-13 08:12:44 -07:00
Diego Biurrun
635ec127d4
dsputil: Merge variable declarations and initializations
2014-03-13 08:12:44 -07:00
Diego Biurrun
bb12c2e9c0
dsputil: K&R formatting cosmetics
2014-03-13 08:12:39 -07:00
Diego Biurrun
503dda7d4f
dsputil.h: K&R formatting cosmetics
2014-03-13 08:11:00 -07:00
Diego Biurrun
8199bb7be0
dsputil.h: Clean up comments
2014-03-13 08:11:00 -07:00
Diego Biurrun
0a8f91b1fb
dsputil: Remove disabled avg_no_rnd_qpel leftovers
2014-03-13 08:10:52 -07:00
Diego Biurrun
55519926ef
x86: Make function prototype comments in assembly code consistent
...
This helps grepping for functions, among other things.
2014-03-13 05:50:29 -07:00
Diego Biurrun
edd1f833fa
x86: h264_idct_10_bit: Use proper type in function prototype comments
2014-03-13 05:50:29 -07:00
Diego Biurrun
831a118078
Update dsputil- and SIMD-related comments to match reality more closely
2014-03-13 05:50:29 -07:00
Diego Biurrun
d1184b8110
arm: dsputil: Add a bunch of missing #includes
2014-03-13 05:50:28 -07:00
Diego Biurrun
17608f6ee3
x86: Add some more missing headers
2014-03-13 05:50:28 -07:00
Diego Biurrun
fd9e2221bd
ppc: Add some missing headers
2014-03-13 05:50:28 -07:00
Diego Biurrun
ed9625eb62
dsputil: Move intreadwrite.h #include from header file to .c files
2014-03-13 05:50:28 -07:00
Diego Biurrun
9103185bd1
dsputil: Drop ff_check_alignment() function
...
The function is supposed to confirm that the compiler provided enough
alignment, but in practice it is only run in certain code paths and
insufficient alignment problems are restricted to legacy compilers.
2014-03-13 05:50:28 -07:00
Diego Biurrun
49676eb730
dsputil: Remove prototypes for nonexisting optimization functions
2014-03-13 05:50:28 -07:00
Diego Biurrun
08dba0e1c3
x86: mpegvideoenc: Remove some remnants of the long-gone libmpeg2 IDCT
2014-03-13 05:50:28 -07:00
Diego Biurrun
b4dd424d96
Remove all SPARC architecture optimizations
...
SPARC is no longer being used in any multimedia-related fields and the
VIS optimizations only represent a maintenance burden.
2014-03-13 05:50:28 -07:00
Diego Biurrun
d6096a6742
Remove all SH4 architecture optimizations
...
SH4 has been end-of-lifed and no more test machines are available.
2014-03-13 05:50:28 -07:00
Diego Biurrun
bbb64356cc
build: Record dependency of eatqi decoder on dsputil
2014-03-13 05:50:27 -07:00
Diego Biurrun
b5f112d820
configure: Add explicit dsputil dependency to mpegvideoenc
...
Previously, it was an implicit dependency through mpegvideo. Change
this, as implicit dependencies can cause all sorts of trouble.
2014-03-13 05:50:27 -07:00
Diego Biurrun
cd832f032f
ffv1: Drop bogus dependency on dsputil
...
ffv1 does not use any part of the dsputil framework.
2014-03-13 05:50:27 -07:00
Diego Biurrun
0e29c5e128
build: Drop stray LPC dependency on dsputil
2014-03-13 05:50:27 -07:00
Diego Biurrun
6cd76e5412
build: Drop stray MJPEG encoder dependency on dsputil
2014-03-13 05:50:27 -07:00
Diego Biurrun
9ecf1b62f3
build: Drop stray MLP decoder dependency on dsputil
2014-03-13 05:50:27 -07:00
Diego Biurrun
7d7be44f3e
build: Drop stray PNG decoder dependency on dsputil
2014-03-13 05:50:27 -07:00
Diego Biurrun
88b240646f
build: Drop stray mpc8 decoder dependency on dsputil
2014-03-13 05:50:27 -07:00
Diego Biurrun
b3c6ee199e
configure: Group toolchain options together in help output
2014-03-12 14:00:19 +01:00
Diego Biurrun
d92024f18f
lavf: more correct printf format specifiers
2014-03-11 13:13:41 +01:00
Diego Biurrun
7caf48e036
configure: miscellaneous cosmetics
...
Sort lists of components. Add some whitespace where it helps readability.
Consistently use double instead of single quotes around component lists.
2014-03-10 23:52:52 +01:00
Diego Biurrun
a801453423
g2meet: K&R formatting cosmetics
2014-03-08 16:35:20 +01:00
Diego Biurrun
f69befe5ee
matroskadec: cosmetics: Fix "attachement" vs. "attachment" typo
2014-03-07 13:54:18 +01:00
Diego Biurrun
d48430c367
build: Let the SVQ3 decoder depend on the H.264 decoder
...
The SVQ3 decoder reuses large parts of the H.264 decoder so it
makes no sense to enable the former but not the latter.
Also drop unnecessary h263.o object from SVQ3 decoder object list.
2014-03-06 18:23:41 +01:00
Diego Biurrun
84bf881720
configure: Split x86 SIMD architecture extensions into separate list
...
This avoids checking inline/external assembly dependencies for x86
extensions that do not play a role in inline/external assembly.
2014-03-06 13:29:00 +01:00
Diego Biurrun
3bfdee00cd
x86: dcadsp: Fix linking with yasm and optimizations disabled
...
Some optimized functions reference optimized symbols, so the functions
must be explicitly disabled when those symbols are unavailable.
2014-03-05 23:16:21 +01:00
Diego Biurrun
3741aa37c2
x86: cabac: Use correct #includes to make header compile standalone
2014-03-05 13:32:25 +01:00
Diego Biurrun and Martin Storsjö
fb3b2f5d92
configure: Set the thread type after resolving dependencies
...
A threading type might be detected originally, but later disabled
if one of its dependencies is unavailable.
This makes sure that the threading support item in the configure
output is right for setups where w32threads are available but
native atomics aren't.
Signed-off-by: Martin Storsjö <martin@martin.st >
2014-02-28 22:27:05 +02:00
Diego Biurrun
2f02bbcca0
build: Let the ffvhuff decoder/encoder depend on the huffyuv decoder/encoder
...
Almost all of the code is shared so there is little point in
enabling one decoder/encoder without the other.
2014-02-28 21:17:01 +01:00
Diego Biurrun
34150be515
build: Let the iac decoder depend on the imc decoder
...
Almost all of the code is shared so there is little point in
enabling one decoder without the other.
2014-02-28 21:11:53 +01:00
Diego Biurrun
8e0cf39faf
build: Let all MJPEG-related decoders depend on the MJPEG decoder
...
These codecs compile all of the MJPEG code anyway, so there is little
point in not enabling the MJPEG decoder directly. This also simplifies
the dependency declarations for the MJPEG codec family.
2014-02-28 20:51:10 +01:00
Diego Biurrun
0a36988e48
build: Let AMV decoder depend on the SP5X decoder
...
This codec compiles all of the SP5X code anyway, so there is little
point in not enabling the decoder directly. This also simplifies the
dependency declaration for the AMV decoder.
2014-02-28 20:44:53 +01:00
Diego Biurrun
a55546f48d
proresenc: Reuse proper dsputil infrastructure for FDCT
2014-02-28 11:19:47 +01:00
Diego Biurrun
92e598a57a
prores: Drop DSP infrastructure for prores encoder bits
...
None of the encoder bits are arch-optimized.
2014-02-28 11:17:25 +01:00
Diego Biurrun
d6acefe058
proresenc: Drop unnecessary DCT permutation bits
...
No permutation is necessary for the FDCT.
2014-02-28 11:00:24 +01:00
Diego Biurrun
b23650491f
prores: Use consistent names for DSP arch initialization functions
2014-02-28 10:34:55 +01:00
Diego Biurrun
f2408ec9d7
Give IDCT matrix transpose macro a more descriptive name
...
This also avoids a macro name clash and related warning on ARM.
2014-02-27 13:38:00 -08:00
Diego Biurrun
a63ac1106d
build: Do not redundantly specifiy H.263-related object files for MSMPEG4v*
...
These are already covered through dependencies specified in configure.
2014-02-26 19:44:55 +01:00
Diego Biurrun
4ec336484d
parser: cosmetics: Drop some unnecessary parentheses
2014-02-25 13:40:47 +01:00
Diego Biurrun
ed61f3ca8a
parser: Remove commented-out cruft
2014-02-25 11:59:05 +01:00
Diego Biurrun
dc9e05e279
libvorbis: Give consistent names to all functions, structs, and defines
2014-02-21 11:08:09 +01:00
Diego Biurrun
2b0bb69997
configure: Move cpunop into ARCH_EXT_LIST_X86
...
It is a processor feature, so it belongs there.
2014-02-20 18:20:08 +01:00