Måns Rullgård
77753f874a
ARM: fix j_rev_dct_ARM
...
This is a bugfix for ARMv4 assembly implementation of 'j_rev_dct'
function.
The problem was in the incorrect partially empty row detection. Even
if the first two coefficients in the row were nonzero, it handled this
just like the case with only the first nonzero coefficient.
Now this function produces exactly the same output as the stripped
down reference C version of 'j_rev_dct' (with the nested checks like
'if (d6) { if (d2) { ...' always evaluated as true, avoiding shortcut
branches).
Originally committed as revision 15805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-12 20:23:36 +00:00
Måns Rullgård
e3b07e1a74
OGG: correct PTS with old theora streams
...
Originally committed as revision 15785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:57:17 +00:00
Måns Rullgård
77be08eeb1
OGG: untypedef demuxer structs
...
Originally committed as revision 15784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:50:56 +00:00
Måns Rullgård
d00e8b83f1
ARM: change MUL16() macro to inline function
...
Originally committed as revision 15783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:33:28 +00:00
Måns Rullgård
b911711571
ARM: prettify MAC16() macro
...
Originally committed as revision 15782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:33:26 +00:00
Måns Rullgård
73c1c96b83
ARM: change MULH() macro to inline function
...
Originally committed as revision 15781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:33:23 +00:00
Måns Rullgård
8f4d0d48b9
ARM: change MULL() macro to inline function
...
Originally committed as revision 15780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:33:20 +00:00
Måns Rullgård
96dea17a1d
ARM: mathops.h whitespace cosmetics
...
Originally committed as revision 15779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:33:17 +00:00
Måns Rullgård
1a220bcde3
Remove forgotten ASM_OBJS in libswscale
...
Originally committed as revision 27887 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-11-03 21:49:54 +00:00
Måns Rullgård
d2d398590d
ARM: move add_pixels_clamped_ARM() to dsputil_arm_s.S
...
Originally committed as revision 15728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-27 00:25:19 +00:00
Måns Rullgård
83ad74e708
ARM: move VFP DSP functions to dsputils_vfp.S
...
Originally committed as revision 15727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-27 00:25:16 +00:00
Måns Rullgård
a648516b95
ARM: move prefetch_arm to dsputil_arm_s.S
...
Originally committed as revision 15726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-27 00:25:12 +00:00
Måns Rullgård
c130bedc99
ARM: use new macros for assembler function labels
...
Originally committed as revision 15725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-27 00:25:09 +00:00
Måns Rullgård
c72ab30188
ARM: add some assembler convenience macros
...
Originally committed as revision 15724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-27 00:25:06 +00:00
Måns Rullgård
ede725104b
cosmetic: align backslashes in makefiles
...
Originally committed as revision 15717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-26 15:21:45 +00:00
Måns Rullgård
864ac5d648
Merge OBJS-$(FOO) lists with same FOO
...
Originally committed as revision 15716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-26 14:26:28 +00:00
Måns Rullgård
b98f10c08a
ARM: faster ARMv6 FASTDIV()
...
Originally committed as revision 15712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 18:54:23 +00:00
Måns Rullgård
c87348a922
Use OBJS variable for all object files
...
There is no longer any need to differentiate the object files
by source type.
Originally committed as revision 15708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 14:00:28 +00:00
Måns Rullgård
0ca1656a2b
Remove unused SRCS make variable
...
Originally committed as revision 15707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 14:00:26 +00:00
Måns Rullgård
4f03499329
Add CONFIG_GOLOMB and auto-select when needed
...
Originally committed as revision 15706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 13:51:47 +00:00
Måns Rullgård
47a158cb8b
Auto-enable CONFIG_MDCT when needed
...
Originally committed as revision 15705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 13:51:43 +00:00
Måns Rullgård
1091c959b1
AC3 encoder doesn't need FFT
...
Originally committed as revision 15704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 13:51:39 +00:00
Måns Rullgård
b6bb00b07d
Build MMX/SSE FFT only if CONFIG_FFT is set
...
Originally committed as revision 15692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 23:18:21 +00:00
Måns Rullgård
3c69e5d3de
DCA decoder needs FFT
...
Originally committed as revision 15691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 23:18:16 +00:00
Måns Rullgård
c510c7b5d9
configure: add foo_suggest facility
...
This is like foo_select, except the selected options being disabled
does not disable foo.
Originally committed as revision 15690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 23:18:12 +00:00
Måns Rullgård
72a436687c
configure: add enable_weak and disable_weak
...
These functions enable/disable their options if these are unset,
leaving their old values otherwise.
Originally committed as revision 15689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 23:18:08 +00:00
Måns Rullgård
f9d328da8f
configure: allow recursive foo_select options
...
Originally committed as revision 15688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 23:18:04 +00:00
Måns Rullgård
1848f7d9f9
Auto-enable CONFIG_FFT for codecs that need it
...
Originally committed as revision 15686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 21:44:54 +00:00
Måns Rullgård
6a702d4c7d
configure: cosmetics
...
Originally committed as revision 15685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 21:44:49 +00:00
Måns Rullgård
7ef3425f0a
configure: add foo_select facility
...
If an option 'foo' is enabled, all options listed in foo_select
are automatically enabled, unless explicitly disabled. In the
latter case, foo is also disabled.
Originally committed as revision 15684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 21:44:45 +00:00
Måns Rullgård
f7b230a761
configure: fix disabled_any to return false for empty list
...
Originally committed as revision 15683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 21:44:39 +00:00
Måns Rullgård
3a90480ac4
split bswap.h into per-arch files
...
Originally committed as revision 15663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-21 22:29:57 +00:00
Måns Rullgård
0223bd6f52
ARM: allow --cpu=armvN in configure
...
Originally committed as revision 15659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-21 01:01:55 +00:00
Måns Rullgård
ec0bd3b93a
Allow target name on every line in dependency postprocessing
...
Some compilers output a new rule for each dependency. We must prefix
each one with the directory name.
Originally committed as revision 15658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-21 00:57:23 +00:00
Måns Rullgård
13c7df3dc0
Do not add $cross_prefix to compiler name given with --cc option
...
Originally committed as revision 15657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-21 00:57:20 +00:00
Måns Rullgård
884a36a78b
configure: fix handling of option arguments containing = sign
...
Originally committed as revision 15656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-21 00:57:17 +00:00
Måns Rullgård
e80b267536
ARM: Kill warning in bswap_32()
...
Originally committed as revision 15648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-20 00:03:25 +00:00
Måns Rullgård
57f0ec6eee
fix configure with libx264 disabled
...
Originally committed as revision 15647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-19 11:44:44 +00:00
Måns Rullgård
f2e49553de
Enable FAST_UNALIGNED on ARM variants that support it
...
Originally committed as revision 15609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-12 23:10:48 +00:00
Måns Rullgård
aa8bc0f10f
Enable FAST_UNALIGNED on PPC
...
Originally committed as revision 15608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-12 23:10:45 +00:00
Måns Rullgård
53bd9d923a
Revert "Replace sed trickery in the gcc dependency generation command"
...
This made dependencies entirely non-functional, and also the syntax is
not supported by gcc 2.95.
Originally committed as revision 15607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-12 22:52:42 +00:00
Måns Rullgård
5eb39de901
configure: simplify PPC dcbzl check
...
Originally committed as revision 15606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-12 21:15:59 +00:00
Måns Rullgård
57bb0da679
aac_parser: fix strict aliasing violation
...
Originally committed as revision 15595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-11 11:21:45 +00:00
Måns Rullgård
94cdcece91
ARM: add prefetch function using ARMv5 PLD instruction
...
Originally committed as revision 14962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-25 02:29:04 +00:00
Måns Rullgård
f1424cfd6d
ARM: set STRIDE_ALIGN and DECLARE_ALIGNED_8 to 16 for NEON
...
Originally committed as revision 14961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-25 01:59:06 +00:00
Måns Rullgård
aa6ed60895
Add myself as ARM maintainer
...
Originally committed as revision 14773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-15 00:28:36 +00:00
Måns Rullgård
5c5b1731b7
Maintain pointer to end of AVFormatContext.packet_buffer list
...
This changes add_to_pktbuf() to maintain a pointer to the last entry
in the list, avoiding a linear walk-through on each call. Before this
change, add_to_pktbuf() could take a significant amount of time (10%
of total decoding time), even with input files of several minutes.
After the change, the time spent in this function is barely measurable
with oprofile.
Originally committed as revision 14654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-06 22:17:38 +00:00
Måns Rullgård
c8fd5da42f
fix ARMv6 FASTDIV for divisor <=2
...
Originally committed as revision 14481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 02:38:40 +00:00
Måns Rullgård
b7b38fb28a
intreadwrite: support DEC compiler __unaligned type qualifier
...
Originally committed as revision 14275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-18 01:18:59 +00:00
Måns Rullgård
c6002ea14d
MPEGTS: Improve probe function
...
When a sync byte is found, check that transport_error_indicator is zero,
and adaptation_field_control is valid (non-zero).
Originally committed as revision 14274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-18 01:07:17 +00:00
Måns Rullgård
fbbea48eb3
Rearrange AV_[RW][BL]*() macros
...
Originally committed as revision 14265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-17 18:42:19 +00:00
Måns Rullgård
b0367ef00a
ARM: optimised MAC64 and MLS64
...
Originally committed as revision 14245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 19:06:32 +00:00
Måns Rullgård
6865e04620
ARM: optimised MUL64
...
Originally committed as revision 14244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 19:06:29 +00:00
Måns Rullgård
7995962d4b
ARM: ARMv6 optimised MULH
...
Originally committed as revision 14243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 19:06:25 +00:00
Måns Rullgård
6651ce17b8
ARM: ARMv6 optimised FASTDIV
...
Originally committed as revision 14242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 19:06:18 +00:00
Måns Rullgård
de0e19cc38
ARM: disable use of system byteswap.h
...
Our bswap functions are better than those in glibc, which has
no ARM-optimised versions.
Originally committed as revision 14241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 19:06:09 +00:00
Måns Rullgård
c696a863d4
ARM: fix ARCH_ARM -> ARCH_ARMV4L test in bswap_32()
...
Originally committed as revision 14240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 19:06:03 +00:00
Måns Rullgård
ea66f252a8
ARM: ARMv6 optimised bswap_16/32
...
Originally committed as revision 14239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 19:05:49 +00:00
Måns Rullgård
29c8b6263a
Remove dead code in bitstream.h
...
Originally committed as revision 14238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 18:43:26 +00:00
Måns Rullgård
e1f15d3836
H264: fix index range assert() in remove_short_at_index()
...
Originally committed as revision 14233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-14 19:17:13 +00:00
Måns Rullgård
8effdce0e7
dvdsubdec: allow compilation with -DDEBUG
...
Originally committed as revision 14212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 19:41:13 +00:00
Måns Rullgård
e8420626d0
RTP: use dprintf(), allow compilation with -DDEBUG
...
Originally committed as revision 14211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 19:41:10 +00:00
Måns Rullgård
f94981ea6a
ASF: use dprintf(), allow compilation with -DDEBUG
...
Originally committed as revision 14210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 19:41:07 +00:00
Måns Rullgård
9ea583e1f6
mpegaudio: use MAC/MLS macros in ff_mpa_synth_filter
...
Originally committed as revision 14199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 12:23:02 +00:00
Måns Rullgård
ffa978f157
mathops: add MAC64, MLS64, and MLS16
...
MAC64: 64 += 32 x 32 (bits)
MLS64: 64 -= 32 x 32
MLS16: 32 -= 16 x 16
Originally committed as revision 14198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 12:22:57 +00:00
Måns Rullgård
71c465a151
Bitstream: use AV_RB16() in LIBMPEG2_BITSTREAM_READER
...
This makes LIBMPEG2_BITSTREAM_READER_HACK redundant, so remove it.
Originally committed as revision 14197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 00:07:43 +00:00
Måns Rullgård
1b71f04586
configure: simplify negative dependencies
...
Originally committed as revision 14195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-12 20:55:07 +00:00
Måns Rullgård
3250003c79
configure: allow !foo as argument to enabled/disabled and *_deps lists
...
Originally committed as revision 14194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-12 20:55:04 +00:00
Måns Rullgård
18c640054c
regenerate dependencies when building object files
...
Originally committed as revision 14143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-09 19:09:50 +00:00
Måns Rullgård
dce292bb35
Revert "add libmpeg2 permutation to dct-test"
...
10l to me for not noticing that dct-test.c calls this
permutation MMX. Note to self: don't code after 2am.
Originally committed as revision 13991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-26 17:20:26 +00:00
Måns Rullgård
fb9464e807
add libmpeg2 permutation to dct-test
...
Originally committed as revision 13985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-26 01:13:16 +00:00
Måns Rullgård
edc724b8b8
fix dependency generation
...
Originally committed as revision 13820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 18:40:04 +00:00
Måns Rullgård
9e6165b53e
enable version.h to be created from subdirs
...
Originally committed as revision 13819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 16:57:38 +00:00
Måns Rullgård
6b18d2780e
check for ARM NEON assembler support
...
Originally committed as revision 13667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-05 19:51:15 +00:00
Måns Rullgård
265de66542
accept --cpu=cortex*
...
Originally committed as revision 13666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-05 19:51:13 +00:00
Måns Rullgård
40c13fecfa
alloc_size attribute is new to gcc 4.3; don't use it with lesser versions
...
Originally committed as revision 13665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-05 19:49:47 +00:00
Måns Rullgård
c9d1924884
improve installation path selection
...
Originally committed as revision 13638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 23:51:36 +00:00
Måns Rullgård
968ae1d9cc
fix servertest in out of tree builds
...
Originally committed as revision 13631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 22:56:58 +00:00
Måns Rullgård
0147b92ea5
Revert "Add version information to DLLs."
...
Revert "Forgot to commit changes to subdir.mak in last revision."
Originally committed as revision 13426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 06:34:57 +00:00
Måns Rullgård
bcea99bb44
set $logfile before use
...
Originally committed as revision 13178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 23:34:43 +00:00
Måns Rullgård
40a655e306
acelp_filters.h needs stdint.h
...
Originally committed as revision 13150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-13 18:10:15 +00:00
Måns Rullgård
e4e69e0b8b
set temporary filenames before using them
...
Originally committed as revision 13148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-13 17:25:04 +00:00
Måns Rullgård
0852e30b53
fix checkheaders when libdirac not installed
...
Originally committed as revision 13044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 13:29:44 +00:00
Måns Rullgård
7c43009358
add necessary #includes in headers
...
Originally committed as revision 13043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 13:29:39 +00:00
Måns Rullgård
7622778ed7
Revert "Adjust pkg-config files to include files residing in separate subdirectories."
...
Originally committed as revision 12947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-25 07:56:15 +00:00
Måns Rullgård
f55b299ae6
check for ARM VFP support
...
Originally committed as revision 12911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-20 16:14:06 +00:00
Måns Rullgård
bf237413f3
fix make tests in subdirs
...
Originally committed as revision 12893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-18 19:28:40 +00:00
Måns Rullgård
b153c68b8a
fix building of test programs (make tests)
...
Originally committed as revision 12867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 21:50:41 +00:00
Måns Rullgård
54381d7557
clear TESTS variable between subdirs
...
Originally committed as revision 12866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 21:50:39 +00:00
Måns Rullgård
d1300235b9
ffplay.d needs SDL_CFLAGS
...
Originally committed as revision 12787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-10 22:34:37 +00:00
Måns Rullgård
49e37ca9bd
remove unused MAKE variable
...
Originally committed as revision 12786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-10 20:00:21 +00:00
Måns Rullgård
9987769a8b
correct soname for vhooks
...
Originally committed as revision 12785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-10 19:44:29 +00:00
Måns Rullgård
791a3fc8ec
save DEP_LIBS before processing subdirs
...
Originally committed as revision 12784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-10 19:44:26 +00:00
Måns Rullgård
76ca42a8a0
move DEP_LIBS to common.mak
...
Originally committed as revision 12777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-09 21:11:39 +00:00
Måns Rullgård
8a03404d4f
fix build with --build-suffix
...
Originally committed as revision 12776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-09 21:11:35 +00:00
Måns Rullgård
caec74dd65
generate separate dependency files per object file
...
Originally committed as revision 12775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-09 20:48:17 +00:00
Måns Rullgård
8e255b8bda
replace some ifeq with prettier ifdef
...
Originally committed as revision 12764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-07 22:17:47 +00:00
Måns Rullgård
dbe6c6ff00
append TESTS-yes to TESTS; one ifeq less
...
Originally committed as revision 12763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-07 22:17:44 +00:00
Måns Rullgård
465d9b1f7a
collect vhook-related makefile lines in one place
...
Originally committed as revision 12762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-07 22:17:42 +00:00
Måns Rullgård
7669899bdf
non-recursive makefiles
...
Originally committed as revision 26346 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-04-07 21:16:50 +00:00