Måns Rullgård
439ccc4e0e
Split libavutil/timer.h per architecture
...
Originally committed as revision 18304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-01 22:56:22 +00:00
Benoit Fouet
168fffdf01
Fix warnings in tree.c test code.
...
Originally committed as revision 18267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-31 14:00:46 +00:00
Diego Biurrun
504ffed19f
Mark non-exported functions in test and example programs as static.
...
Originally committed as revision 18259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-31 09:32:59 +00:00
Diego Biurrun
3344cf851c
Use a wildcard match instead of a list to remove test programs.
...
This is robust against renames and also removes test programs not
(yet) hooked up in the main Makefiles.
Originally committed as revision 18193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-26 10:12:21 +00:00
Diego Biurrun
7304c2c4ce
Move adding the '-test$(EXESUF)' suffix to test programs into common.mak.
...
Originally committed as revision 18189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-25 18:19:20 +00:00
Stefano Sabatini
77544e5b91
Use PIX_FMT_NE() for defining the PIX_FMT_RGB32 variants macros.
...
Originally committed as revision 18174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-23 23:01:11 +00:00
Stefano Sabatini
1cee4eafa3
Make the PIX_FMT_NE() macro more generic.
...
Originally committed as revision 18173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-23 22:57:55 +00:00
Diego Biurrun
661ce28996
Rename 'tests' target to 'testprogs'. It is too easily confused with the
...
'test' target and a directory named tests exists.
Originally committed as revision 18165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-22 23:13:21 +00:00
Stefano Sabatini
6e08ca9c51
Make the pixel formats which were defined as macros:
...
PIX_FMT_ARGB
PIX_FMT_RGBA
PIX_FMT_ABGR
PIX_FMT_BGRA
defined as enum PixelFormat values, and viceversa make:
PIX_FMT_RGB32
PIX_FMT_RGB32_1
PIX_FMT_BGR32
PIX_FMT_BGR32_1
defined as macros, also resort accordingly the enum PixelFormat
list.
Also make avcodec_get_pix_fmt() recognize the "rgb32" and "bgr32"
aliases, in order to make ffmpeg pass regressions test.
This change breaks ABI backward compatibility.
Originally committed as revision 18163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-22 22:50:19 +00:00
Stefano Sabatini
f82674e584
Change the RGB5X5/BGR5X5 pixel format defines so that we have little
...
endian and big endian variants instead of native-endian ones.
This patch breaks API/ABI backward-compatibility.
Originally committed as revision 18133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 23:08:20 +00:00
Stefano Sabatini
31a79497b7
Use PIX_FMT_NE() macro.
...
Originally committed as revision 18132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 22:50:29 +00:00
Stefano Sabatini
a1a05abebd
Implement PIX_FMT_NE() macro.
...
Originally committed as revision 18131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 22:48:48 +00:00
Diego Biurrun
ee6624ef4a
Remove deprecated and now unused Mersenne Twister PRNG.
...
Originally committed as revision 18116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 17:28:38 +00:00
Diego Biurrun
9f5da4d189
When warning about forbidden pseudo random number generation functions,
...
suggest the correct replacement functions.
Originally committed as revision 18114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 16:16:04 +00:00
Diego Biurrun
0e4cb6cbad
Fix reference to av_random where av_lfg_get was meant.
...
Originally committed as revision 18112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 16:14:21 +00:00
Diego Biurrun
294eaa2643
Replace random() usage in test programs by av_lfg_*().
...
Originally committed as revision 18070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-20 11:48:27 +00:00
Diego Biurrun
578f90a8d5
Align test program output columns.
...
Originally committed as revision 18068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-20 11:40:05 +00:00
Diego Biurrun
7349392535
Make softfloat test program compile again: Setting the av_log_level variable
...
needs to be replaced by a call to av_log_set_level().
Originally committed as revision 18056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-20 00:23:13 +00:00
Diego Biurrun
b56e34c5e9
Make AES test program compile again: Setting the av_log_level variable
...
needs to be replaced by a call to av_log_set_level().
Originally committed as revision 18055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-20 00:18:46 +00:00
Michael Niedermayer
8e3d8a82e6
typedef int x86_reg on non x86
...
Originally committed as revision 18043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-19 14:49:47 +00:00
Diego Biurrun
bb504ac45e
Fix compilation of adler32 test program: Use av_log_set_level()
...
instead of assigning a value to the av_log_level variable.
Originally committed as revision 18040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-19 01:10:30 +00:00
Diego Biurrun
3cf6adaf64
Remove code that was disabled by the recent major version bump.
...
Originally committed as revision 17990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-15 17:20:24 +00:00
Stefano Sabatini
323a8230fb
Fix typo: 'conjuction' -> 'conjunction'.
...
Originally committed as revision 17989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-15 16:36:36 +00:00
Måns Rullgård
9bceffef3a
Fix ff_random_get_seed() prototype
...
Originally committed as revision 17970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-14 23:00:57 +00:00
Stefano Sabatini
8358c03479
Fix typos.
...
Originally committed as revision 17927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-10 21:41:31 +00:00
Reimar Döffinger
3898eed890
Reorder arguments for av_fifo_generic_read to be more logical and
...
consistent with av_fifo_generic_write.
Originally committed as revision 17914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 17:47:47 +00:00
Gwenole Beauchesne
2500d8bea6
Update VA API pixfmts documentation: struct vaapi_render_state
...
shall now be copied to Picture.data[3].
Originally committed as revision 17912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 15:52:45 +00:00
Diego Biurrun
082dea8e40
Remove all remaining code that was disabled through the major version bump.
...
Originally committed as revision 17903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 10:24:47 +00:00
Reimar Döffinger
32b936d0c3
Add av_fifo_reset function to completely reset fifo state, which makes
...
it easier to reuse the fifo.
Originally committed as revision 17901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 09:26:32 +00:00
Michael Niedermayer
c900635fd9
indent
...
Originally committed as revision 17897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 03:39:58 +00:00
Reimar Döffinger
fe4032b66a
Remove more functions disabled by major version bump.
...
Originally committed as revision 17876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 15:02:12 +00:00
Reimar Döffinger
3fb1084306
Remove/replace code disabled by major version bump.
...
Originally committed as revision 17875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 14:51:25 +00:00
Michael Niedermayer
52a6632a2b
Deprecate the Mersenne Twister.
...
Please use an ALFG, MLFG, LCG or KISS99 generator, MLFG&KISS99 provide higher quality
numbers and all should be faster.
Originally committed as revision 17874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 14:46:10 +00:00
Reimar Döffinger
c957c85426
Replace all uses of the replaced av_fifo_read by av_fifo_generic_read
...
Originally committed as revision 17873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 14:42:11 +00:00
Michael Niedermayer
792e467904
Remove the Mersenne Twister from the public API/ABI.
...
We provide better PRNGs.
Originally committed as revision 17872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 14:35:13 +00:00
Michael Niedermayer
49ceb58bf6
Bump major version of libavutil due to FIFO fixes.
...
The current API/ABI should not be considered stable yet, further ABI/API
breakage is possible without major bumps.
Originally committed as revision 17871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 14:33:30 +00:00
Reimar Döffinger
cddcf8c60f
Remove av_fifo_read, API is already broken and major version will be bumped soon.
...
Originally committed as revision 17870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 14:21:56 +00:00
Michael Niedermayer
41dd680dd8
Allocate AVFifoBuffer through the fifo API to reduce future API/ABI issues.
...
Yes this breaks ABI/API but ive already broken it and will bump avutil major
soon.
Originally committed as revision 17869 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 14:16:55 +00:00
Baptiste Coudurier
48d58e592a
add ff_random_get_seed to be used in conjunction with random functions
...
Originally committed as revision 17868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 01:28:14 +00:00
Michael Niedermayer
a936475949
Comments to indicate where memory barriers may be needed.
...
Originally committed as revision 17867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 00:45:45 +00:00
Michael Niedermayer
0a71e78ce4
Try to fix the 1 byte cannot be used issue.
...
Originally committed as revision 17865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-07 21:02:08 +00:00
Måns Rullgård
35690321a7
ARM: disable inline asm for armcc
...
Originally committed as revision 17831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 21:20:13 +00:00
Måns Rullgård
1e65f62e2b
ARM: armcc versions of bswap_16/32
...
Originally committed as revision 17830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 21:20:10 +00:00
Gwenole Beauchesne
f06ce1ce89
Add VA API pixel formats.
...
Patch by Gwenole Beauchesne.
Originally committed as revision 17634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 08:12:41 +00:00
Michael Niedermayer
b9c353fff2
Compact repeated messages to "Last message repeated x times".
...
Originally committed as revision 17531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 17:53:14 +00:00
Stefano Sabatini
04331dea2a
Split avutil.h, move all the pixel format definitions to the new
...
dedicated file pixfmt.h.
Originally committed as revision 17528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 14:27:50 +00:00
Michael Niedermayer
50ded3fdb6
Add note about big vs. little endian.
...
Originally committed as revision 17525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 13:48:25 +00:00
Peter Ross
88c21a6f14
Add PIX_FMT_RGB48BE and PIX_FMT_RGB48LE.
...
Originally committed as revision 17510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 00:55:49 +00:00
Måns Rullgård
03bc0f3744
Avoid warnings from AV_GCC_VERSION_AT_LEAST with some non-gcc compilers
...
Originally committed as revision 17508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 00:13:23 +00:00
Patrik Kullman
a90de11dba
Check return value of posix_memalign and explicitly set pointer to NULL if it
...
fails, patch by Patrik Kullman, patrik yes nu.
Originally committed as revision 17495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 20:38:27 +00:00