Commit Graph

401 Commits

Author SHA1 Message Date
Diego Biurrun 3d44f15cfc Add proper license header.
Originally committed as revision 9444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-27 07:58:37 +00:00
Reimar Döffinger c08be350da intreadwrite.h needs bswap.h if HAVE_FAST_UNALIGNED is set, so include it.
Originally committed as revision 9414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 14:29:52 +00:00
Reimar Döffinger 272605c73e more av_strl* adjustments
Originally committed as revision 9412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 12:23:34 +00:00
Luca Barbato 3565e10b44 bump micro version: new string functions
Originally committed as revision 9405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 09:18:20 +00:00
Måns Rullgård fc78ce803b add some string functions
Originally committed as revision 9400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-23 23:10:26 +00:00
Michel Bardiaux 4fc3d23ffe Clarify comments about PIX_FMT_MONOWHITE/MONOBLACK
Thread: PIX_FMT_MONOWHITE

Originally committed as revision 9373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-20 08:18:04 +00:00
Guillaume Poirier efb775777f add a comment to indicate which #endif belong to which #define
Originally committed as revision 9356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 18:59:28 +00:00
Måns Rullgård 699b3f99d0 add multiple inclusion guards to headers
Originally committed as revision 9345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 00:01:30 +00:00
Måns Rullgård 99545457bf include all prerequisites in header files
Originally committed as revision 9344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 22:59:13 +00:00
Marc Hoffman f70c273902 Blackfin - read_time primitive
note this primitive currently uses a union to concatenate 2x32bit registers because of poor compiler support
around DImode and asm.

Originally committed as revision 9302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-13 11:09:07 +00:00
Diego Biurrun 90b5b51eab misc typo fixes
Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 18:50:50 +00:00
Reimar Döffinger 6f74b71ef0 Part of MPlayer patch:
"Replace implicit use of fast_memcpy via macro by explicit use to allow
for future optimization."
This is not yet done for ffmpeg when compiled within MPlayer.

Originally committed as revision 9225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-05 14:33:27 +00:00
Carl Eugen Hoyos 154e30f6c2 rename attribute_unused to av_unused and moves its declaration to common.h
patch by Carl Eugen Hoyos cehoyos chez ag or at
original thread: [FFmpeg-devel] [PATCH] attribute_unused -> av_unused
date: 05/29/2007 01:23 PM

Originally committed as revision 9155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 09:32:25 +00:00
Diego Biurrun 605315248c Remove extern C declarations for C++.
FFmpeg is pure C and not all public headers have the declarations.

Originally committed as revision 9037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-16 12:25:54 +00:00
Michael Niedermayer 79d4c96a1a correct last element inited check
Originally committed as revision 9018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 19:14:18 +00:00
Jindřich Makovička 803ca89ca1 Proper fix for r8963
Patch by Jindrich Makovicka, makovick at gmail dot com
Reference thread:
Subject: Re: [PATCH] make libavcodec use bytestream functions
Date: Thu, 10 May 2007 07:49:43 +0200

Originally committed as revision 8982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 18:28:44 +00:00
Ivo van Poorten 9e010b41e6 add AV_[RW][BL]64 support
Originally committed as revision 8924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 13:12:33 +00:00
Michael Niedermayer 45221f7f61 reduce number of shifts
Originally committed as revision 8891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-04 22:35:56 +00:00
Michael Niedermayer fd735e4b77 simplify
Originally committed as revision 8890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-04 21:22:43 +00:00
Attila Kinali 69ae947874 add missing include of bswap.h
Originally committed as revision 8853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-27 20:22:01 +00:00
Diego Biurrun e69364b700 Mark code parts that cannot work on AMD64 due to broken relocations as such.
This allows building shared libraries on AMD64 again.
based on a patch by Diego 'Flameeyes' Pettenò and suggestions by Michael
original thread:
Date: Wed, 18 Apr 2007 11:26:12 +0200
Subject: [Ffmpeg-devel] [PATCH] (try 2) Build shared libraries on AMD64 again

Originally committed as revision 8849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-27 09:32:31 +00:00
Ramiro Polla bf5d7db5a0 reorder bswap functions into bit-depth, special-casing inside the functions.
patch by Ramiro Polla ramiro lisha ufsc br

Originally committed as revision 8823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 08:20:21 +00:00
Ramiro Polla 853d15c2f8 make 2 functions "return x;" to simplify next patch
patch by Ramiro Polla ramiro lisha ufsc br

Originally committed as revision 8822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 08:15:39 +00:00
Ramiro Polla 7b829d2ab6 "fast unaligned" bytestream functions
patch by Ramiro Polla ramiro lisha ufsc br
original thread:
date: 03/11/2007 03:06 AM
subject: [Ffmpeg-devel] [PATCH] Machine endian bytestream functions

Originally committed as revision 8803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-25 08:47:15 +00:00
Marc Hoffman 20d45dc2a8 Faster 32 bit byteswaping code for Blackfin.
200% faster on BF537 compiled with gcc 4.1.
patch by Marc Hoffman, mmh pleasantst com

Originally committed as revision 8802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-24 23:21:29 +00:00
Diego Biurrun 85b1a7222d cosmetics: Reorder endianness macros by bit depth, alignment prettyprinting.
Originally committed as revision 8796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-24 07:16:47 +00:00
Diego Biurrun 245626d045 Move ebx_available and ebp_available from CONFIG_LIST to HAVE_LIST,
it's not configurable by the user.

Originally committed as revision 8795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-24 07:06:30 +00:00
Alex Beregszaszi 61bc79ec9c remove possibly broken wince cruft
Originally committed as revision 8763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-20 23:45:53 +00:00
Ramiro Polla 8c2e2040aa Add first and second output to earlyclobbers in COPY3_IF_LT macro.
patch by Ramiro Ribeiro Polla, ramiro lisha.ufsc br
Original thread:
date: Mar 27, 2007 11:21 PM
subject: [Ffmpeg-devel] [PATCH] fix build for --cpu=i686

Originally committed as revision 8604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 11:21:16 +00:00
Panagiotis Issaris 449659919c Fix compilation when using the --disable-opts parameter. This to help those
interested in using a debugger to debug FFmpeg.

Original thread:
Subject: [PATCH] Fix compilation when using --disable-opts
Date: 2007-03-15 16:58:35 GMT

Originally committed as revision 8549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 14:20:30 +00:00
Michael Niedermayer c367d06702 prevent exit missuse
Originally committed as revision 8536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-27 21:47:03 +00:00
Luca Barbato bd03c380ce expose av_base64_decode and av_base64_encode
Originally committed as revision 8448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-19 00:48:47 +00:00
Michael Niedermayer ad73e79cab 160 bytes smaller object file, ask gcc devels why
Originally committed as revision 8407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 19:47:58 +00:00
Michael Niedermayer f1505ce3bc explain where the T table comes from
Originally committed as revision 8406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 19:43:31 +00:00
Michael Niedermayer 08cb195020 kill 3 more av_mallocz_static()
Originally committed as revision 8397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 01:59:53 +00:00
Michael Niedermayer e057461dac cosmetic (order context variables like in sha1)
Originally committed as revision 8386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 12:40:13 +00:00
Michael Niedermayer 248b25f878 s/context/ctx/
Originally committed as revision 8385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 12:26:11 +00:00
Michael Niedermayer e657aa3415 #undef printf under #ifdef TEST (needed for testing)
Originally committed as revision 8384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 12:20:04 +00:00
Michael Niedermayer ef3c7c3328 borrow finalization algo from sha1 (100byte smaller)
Originally committed as revision 8383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 12:19:20 +00:00
Michael Niedermayer e1b62250ac get rid of b_used variable (same size with CONFIG_SMALL)
Originally committed as revision 8382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 11:57:26 +00:00
Michael Niedermayer 36c7fa7ea5 smaller av_sha1_update()
Originally committed as revision 8381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 11:25:57 +00:00
Michael Niedermayer 104c30ee06 use CONFIG_SMALL
Originally committed as revision 8380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 10:53:15 +00:00
Michael Niedermayer 2001304500 put state[5] last so no padding is needed on arch where uint64_t needs 8byte alignment
Originally committed as revision 8379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 10:48:22 +00:00
Michael Niedermayer 5fd7f87b8d cosmetic
Originally committed as revision 8378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 10:46:18 +00:00
Michael Niedermayer 15b6cae245 dont memcpy() simpler and same speed
Originally committed as revision 8377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 10:45:41 +00:00
Michael Niedermayer 476f9b74ec simplify
Originally committed as revision 8376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 10:40:59 +00:00
Michael Niedermayer f6a3477bb5 remove middle variant (keep fastest and smallest)
Originally committed as revision 8375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 10:36:49 +00:00
Michael Niedermayer 965ea9ba66 10l
Originally committed as revision 8374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 10:34:52 +00:00
Michael Niedermayer fca447a911 double ;;
Originally committed as revision 8373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 01:25:59 +00:00
Michael Niedermayer 2fa3a22d23 factorize VARIANT2 (smaller and slower)
Originally committed as revision 8372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 01:13:38 +00:00
Michael Niedermayer d6cf780419 revert 2% speed loss change (r8360)
so VARIANT0 will be big and a few % faster, VARIANT1/2 are unaffected

Originally committed as revision 8371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:35:18 +00:00
Michael Niedermayer cb496e1f12 zero byte idea by rich
Originally committed as revision 8368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:19:26 +00:00
Michael Niedermayer 6573578d7b 2 other variants of how to implement the core part
benchmarks welcome ...

Originally committed as revision 8367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:17:55 +00:00
Michael Niedermayer 20bd4e0799 cosmetic cleanup
Originally committed as revision 8362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 22:23:30 +00:00
Michael Niedermayer 3884689bd5 cosmetic cleanup
Originally committed as revision 8361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 22:14:33 +00:00
Michael Niedermayer 913cbde41a 10% smaller object file, 2% slower
Originally committed as revision 8360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 22:12:36 +00:00
Michael Niedermayer c6fd617aea very slightly smaller object file
Originally committed as revision 8358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:33:38 +00:00
Michael Niedermayer 11bf0eb69a make count count bytes not bits (this is simpler and leads to a very slightly smaller object file)
Originally committed as revision 8357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:29:39 +00:00
Michael Niedermayer de953b6b67 remove bigger and slower code
Originally committed as revision 8356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:23:33 +00:00
Michael Niedermayer 82da03f717 dont recommand testing with -O3
Originally committed as revision 8355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:21:57 +00:00
Michael Niedermayer aa59433af6 avoid silly ring buffer logic (faster with -O2, -O3 is always slower then -O2)
Originally committed as revision 8354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:21:12 +00:00
Michael Niedermayer 3479b72bc2 its faster to copy the data to the stack it seems ...
Originally committed as revision 8353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:14:33 +00:00
Michael Niedermayer ae76034cbb explain how to test it
Originally committed as revision 8352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:07:38 +00:00
Michael Niedermayer 7c60e55bff simple SHA-1 implementation
Originally committed as revision 8351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:05:56 +00:00
Panagiotis Issaris 43cd2d3225 Install mem.h on "make install" as:
* the mem.h functions are part of the public API
* common.h includes mem.h and common.h is installed

Originally committed as revision 8345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 15:23:18 +00:00
Panagiotis Issaris 792098c2ec Move the memory related functions out of common.h into their own header file
mem.h.

Originally committed as revision 8342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 14:45:49 +00:00
Michel Bardiaux 318c5e0524 Give context to dprintf
Originally committed as revision 8338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 12:36:41 +00:00
Panagiotis Issaris 0d8f16acf9 Fix typo in Doxygen comments.
Originally committed as revision 8307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-09 15:18:07 +00:00
Michel Bardiaux bdb4b698d8 Corrections so that builds with DEBUG work
Originally committed as revision 8295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 14:49:43 +00:00
Alex Beregszaszi 1586238717 add little endian 24bit read/write
Originally committed as revision 8269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-06 13:04:47 +00:00
Panagiotis Issaris d7f654692a Move unaltered av_freep() comments to the header file.
Originally committed as revision 8253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:51:03 +00:00
Panagiotis Issaris f690ee715d Move unaltered av_free() comments to the header file.
Originally committed as revision 8252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:50:03 +00:00
Panagiotis Issaris d6def91a3b Move unaltered av_realloc() comments to the header file.
Originally committed as revision 8251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:46:47 +00:00
Panagiotis Issaris 9a07029916 Move unaltered av_malloc() comments to the header file.
Originally committed as revision 8250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:45:52 +00:00
Panagiotis Issaris 395722ba67 Move av_log2_i()'s unaltered comments to the header file.
Originally committed as revision 8232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:26:53 +00:00
Panagiotis Issaris 37b2f1d073 Move av_i2int()'s unaltered comments to the header file.
Originally committed as revision 8231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:26:01 +00:00
Panagiotis Issaris c1f567875a Move av_int2i()'s unaltered comments to the header file.
Originally committed as revision 8230 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:25:00 +00:00
Panagiotis Issaris fb7d4f7908 Move av_cmp_i()'s unaltered comment to the header file.
Originally committed as revision 8229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:20:54 +00:00
Panagiotis Issaris 886368e989 Move av_shr_i()'s unaltered comments to the header file.
Originally committed as revision 8228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:18:44 +00:00
Panagiotis Issaris 9375cdd5ab Move av_div_i()'s comments to the header file. The comments are unaltered.
Originally committed as revision 8227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:14:12 +00:00
Panagiotis Issaris 607da27c64 Move av_mod_i()'s comment to the header file. The moved comment is unmodified.
Originally committed as revision 8226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:10:38 +00:00
Panagiotis Issaris 3ec9a7873f Move the unaltered Doxygen docs from the log source code to the accompanying
header file.

Originally committed as revision 8225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:04:49 +00:00
Baptiste Coudurier 626b7c0f1a add R/WB24 functions
Originally committed as revision 8216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 02:48:32 +00:00
Diego Biurrun 82ffe1919a Improve Doxygen documentation, inspired by Michael's description.
Originally committed as revision 8187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 10:09:51 +00:00
Luca Barbato 558b86a5d0 Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
Originally committed as revision 8158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 03:40:23 +00:00
Luca Barbato 9fca9c0316 Reverting stray commit part I
Originally committed as revision 8157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 03:37:54 +00:00
Luca Barbato bb0eb714bd get_packetheader() forgot to read the header_checksum in big packets
patch from Clemens Ladisch cladisch AT fastmail dot net
(stray base64 patch reverted in the next commits)

Originally committed as revision 8156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 03:28:31 +00:00
Dujardin Bernard 1faf7dc807 Doxygen documentation for all functions, patch by Dujardin Bernard,
dujardin.iut numericable fr with some further changes by me.

Originally committed as revision 8151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 17:49:00 +00:00
Diego Biurrun f5a90186d7 Add missing license headers.
Originally committed as revision 8149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 16:05:19 +00:00
Diego Biurrun 32bbf7f70a Remove superfluous comment.
Originally committed as revision 8148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 15:58:38 +00:00
Diego Biurrun e4a4c870cb Add Doxygen author and file description, rephrase a Doxygen comment.
Originally committed as revision 8147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 14:41:03 +00:00
Diego Biurrun 3cee76e6c9 Remove useless conditional.
Originally committed as revision 8139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 00:18:38 +00:00
Diego Biurrun 876e4194c2 spelling/grammar fixes for the Doxygen comments
Originally committed as revision 8138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 00:16:39 +00:00
Diego Biurrun 7122f7c771 Revert previous commit that contained an unrelated hunk.
Originally committed as revision 8137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 00:11:14 +00:00
Diego Biurrun a93575fa3d spelling/grammar fixes for a Doxygen comment
Originally committed as revision 8136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-26 22:59:16 +00:00
Diego Biurrun 549b2c0cc3 Remove unused #define.
Originally committed as revision 8135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-26 22:56:02 +00:00
Guillaume Poirier ca9049efc8 fix 2 mistakes in doxy comments, spotted by Michael
Originally committed as revision 8133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-26 14:53:42 +00:00
Dujardin Bernard 0b0065992e move doxy comments from rational.c to rational.h and add some new comments
patch by Dujardin Bernard %dujardin P iut A numericable P fr%

Originally committed as revision 8132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-26 14:27:29 +00:00
Dujardin Bernard 1c95ef8b97 Doxygenize some comments
Patch by Dujardin Bernard % dujardin P iut A numericable P fr %

Originally committed as revision 8131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-26 08:52:21 +00:00
Måns Rullgård 738940e802 remove [U]INT64_C definition
Originally committed as revision 8127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-25 19:30:55 +00:00