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
16 years ago
Stefano Sabatini
1cee4eafa3
Make the PIX_FMT_NE() macro more generic.
...
Originally committed as revision 18173 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Stefano Sabatini
31a79497b7
Use PIX_FMT_NE() macro.
...
Originally committed as revision 18132 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
a1a05abebd
Implement PIX_FMT_NE() macro.
...
Originally committed as revision 18131 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
ee6624ef4a
Remove deprecated and now unused Mersenne Twister PRNG.
...
Originally committed as revision 18116 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
Diego Biurrun
294eaa2643
Replace random() usage in test programs by av_lfg_*().
...
Originally committed as revision 18070 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
578f90a8d5
Align test program output columns.
...
Originally committed as revision 18068 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
Michael Niedermayer
8e3d8a82e6
typedef int x86_reg on non x86
...
Originally committed as revision 18043 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
Stefano Sabatini
323a8230fb
Fix typo: 'conjuction' -> 'conjunction'.
...
Originally committed as revision 17989 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
9bceffef3a
Fix ff_random_get_seed() prototype
...
Originally committed as revision 17970 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
8358c03479
Fix typos.
...
Originally committed as revision 17927 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Michael Niedermayer
c900635fd9
indent
...
Originally committed as revision 17897 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
fe4032b66a
Remove more functions disabled by major version bump.
...
Originally committed as revision 17876 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
3fb1084306
Remove/replace code disabled by major version bump.
...
Originally committed as revision 17875 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Michael Niedermayer
a936475949
Comments to indicate where memory barriers may be needed.
...
Originally committed as revision 17867 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Måns Rullgård
35690321a7
ARM: disable inline asm for armcc
...
Originally committed as revision 17831 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
1e65f62e2b
ARM: armcc versions of bswap_16/32
...
Originally committed as revision 17830 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Gwenole Beauchesne
f06ce1ce89
Add VA API pixel formats.
...
Patch by Gwenole Beauchesne.
Originally committed as revision 17634 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
b9c353fff2
Compact repeated messages to "Last message repeated x times".
...
Originally committed as revision 17531 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Michael Niedermayer
50ded3fdb6
Add note about big vs. little endian.
...
Originally committed as revision 17525 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Peter Ross
88c21a6f14
Add PIX_FMT_RGB48BE and PIX_FMT_RGB48LE.
...
Originally committed as revision 17510 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
Måns Rullgård
28499cc8d8
Correct, portable definition of INT_BIT
...
Originally committed as revision 17480 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
22009729d7
Remove reference to renamed header file xvmc_render.h.
...
Originally committed as revision 17171 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
0dd8966638
Silence one icc warning:
...
variable "..." is used before its value is set
Originally committed as revision 17127 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
b7d3a8c13f
Use AV_GCC_VERSION_AT_LEAST instead of complicated __GNUC__ version check.
...
Originally committed as revision 17114 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
3b49f69077
av_flatten to make the similarly named attribute available.
...
Originally committed as revision 17105 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago