Michael Niedermayer
410bf2731d
av_noinline
...
Originally committed as revision 7992 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
François Revol
8fa36ae09d
This fixes error handling for BeOS, removing the need for some ifdefs.
...
AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h.
Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed.
Please from now on use return AVERROR(EFOO) instead of the ugly return -EFOO in your code.
This also removes the need for berrno.h.
Originally committed as revision 7965 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Carl Eugen Hoyos
034ef0e8c3
Move base64.[ch] to libavutil.
...
patch by Carl Eugen Hoyos, cehoyos ag.or at
Originally committed as revision 7963 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
9b0dfb27ab
slightly improve *_TIMER
...
Originally committed as revision 7948 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
François Revol
ea65a753eb
Remove unused ENODATA define
...
Originally committed as revision 7943 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
57d7b036ea
make key parameter const
...
Originally committed as revision 7935 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
80a289b9bf
mxf aes decryption support, patch by Reimar, simplified to only look for first crypto context, will be extended once we get files with multiple cryptocontext, and hope that they won't have broken container ul
...
Originally committed as revision 7925 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
fbabf1e0b6
av_random() by Ryan Martell rdm4 name-server-seperator martellventures d0t com
...
Originally committed as revision 7885 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
a264a081b2
special-case AES-128 decrypter is no longer necessary, the more general
...
AES-implementation works at least as well in all case I tested.
Originally committed as revision 7884 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
4e960d0a5e
1000l: Revert accidentally committed change.
...
Originally committed as revision 7868 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
71e445fca3
Replace deprecated PIX_FMT names by the newer variants.
...
Originally committed as revision 7867 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
7d4495dafe
simplify and remove useless index in AV_W*
...
Originally committed as revision 7852 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
4302963daa
Move lzo decompression to libavutil
...
Originally committed as revision 7789 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Abeni
434f2c18e8
Increase the av_log() levels, and add some documentation for them
...
Originally committed as revision 7614 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alex Beregszaszi
a3550abd08
add AV_WB/WL for lswriting, similar to AV_RB/RL (also increment version)
...
Originally committed as revision 7588 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alex Beregszaszi
fead30d444
rename BE/LE_8/16/32 to AV_RL/B_8/16/32
...
Originally committed as revision 7587 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
50b4468598
change while loops to do-while as the condition is true the first time and the check just wastes cpu cycles
...
Originally committed as revision 7576 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
4497712f09
simpler branch structure in init (16 bytes smaller object file)
...
Originally committed as revision 7575 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
be65b41f90
doxygenize
...
Originally committed as revision 7574 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
3da97cfdfc
avoid code duplication
...
Originally committed as revision 7573 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
0726982cdb
better to set things to NULL instead of random in case of out of mem
...
Originally committed as revision 7572 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
96e39edc59
simplify av_fifo_realloc()
...
Originally committed as revision 7571 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
765d4f3b4a
remove near duplicate function
...
Originally committed as revision 7570 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
870a12d1c2
simplify
...
Originally committed as revision 7569 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
f81b99b82b
simplify
...
Originally committed as revision 7568 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
ca2560dff6
10l (aes_crypt -> av_aes_crypt)
...
Originally committed as revision 7559 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
97f6d1545e
fix CONFIG_SMALL again
...
Originally committed as revision 7554 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
5d1b539348
30byte smaller object file
...
Originally committed as revision 7553 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
519773e3a5
10l typo
...
Originally committed as revision 7552 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
6eb7df5c6d
public API
...
Originally committed as revision 7551 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
97e3458c46
cbc support
...
Originally committed as revision 7550 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
2d3475ae6a
avoid memcpy()
...
Originally committed as revision 7549 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
7465619af8
give crypt a src and dst
...
same speed, 100bytes larger object file
Originally committed as revision 7548 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
b0642c7409
change subshift a little, this reduces the object size a litlle
...
Originally committed as revision 7546 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
298dd6b7c8
use 2 state arrays so that fewer temporary variables are needed
...
Originally committed as revision 7545 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
cc6b4da83a
remove useless parameter
...
Originally committed as revision 7544 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
14bc38498a
unused variable
...
Originally committed as revision 7543 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
1aa72a703c
merge shift into mix
...
this need -fno-strict-aliasing to work (needs to be fixed of course)
Originally committed as revision 7534 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
1f83576b48
make aes_en/decrypt() static until we decided on the public API
...
Originally committed as revision 7533 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
0d80bd2f56
move #include log.h into the selftesting code where it belongs
...
Originally committed as revision 7529 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
6572e1a4d2
remove dependancy on *malloc()
...
Originally committed as revision 7528 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
347c27988d
check the last? entry written for detecting already initalized tables
...
Originally committed as revision 7527 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
96b103086e
replace / by >> this makes the .o ~150 bytes smaller
...
Originally committed as revision 7525 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
e42244e9df
cosmetic
...
Originally committed as revision 7524 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
f32f5122ce
av_aes_init()
...
Originally committed as revision 7521 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
6287dc9aae
the missing header ...
...
Originally committed as revision 7520 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
597e3232ef
simplify
...
Originally committed as revision 7504 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
7200f5d054
simplify multiply table init
...
Originally committed as revision 7503 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
d65dc0cdc6
simplify selftest
...
Originally committed as revision 7501 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
f25b650a5b
revert simplification (broke 192 bit keys)
...
Originally committed as revision 7500 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago