Commit Graph

3903 Commits

Author SHA1 Message Date
Diego Biurrun
4bef236ba8 Fix quantiSer --> quantiZer typo.
Originally committed as revision 6523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 10:23:59 +00:00
Oded Shimon
bec5fc5ffb add vorbis_enc_data.h, remove codebook data from vorbis_enc.c
Originally committed as revision 6520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:56:39 +00:00
Oded Shimon
8c37516af0 Add vorbis encoder to ffmpeg
Originally committed as revision 6519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:18:02 +00:00
Oded Shimon
007574482a Original Commit: r114 | ods15 | 2006-10-01 21:38:37 +0200 (Sun, 01 Oct 2006) | 2 lines
blocksize -> log2_blocksize

Originally committed as revision 6518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:52 +00:00
Oded Shimon
631941441d Original Commit: r113 | ods15 | 2006-10-01 21:35:47 +0200 (Sun, 01 Oct 2006) | 2 lines
some more static consts

Originally committed as revision 6517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:49 +00:00
Oded Shimon
2613f6c156 Original Commit: r112 | ods15 | 2006-10-01 20:48:39 +0200 (Sun, 01 Oct 2006) | 3 lines
psy change. -aq param about the same, and behaves more consistently with
different content.

Originally committed as revision 6516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:47 +00:00
Oded Shimon
c83637b965 Original Commit: r111 | ods15 | 2006-10-01 19:40:50 +0200 (Sun, 01 Oct 2006) | 2 lines
update to use ff_vorbis_floor1_render_list

Originally committed as revision 6515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:45 +00:00
Oded Shimon
2eb3db5f69 Original Commit: r110 | ods15 | 2006-10-01 19:17:32 +0200 (Sun, 01 Oct 2006) | 2 lines
slight simlification for residue division by floor

Originally committed as revision 6514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:43 +00:00
Oded Shimon
f8a6a56a75 Original Commit: r109 | ods15 | 2006-10-01 19:14:52 +0200 (Sun, 01 Oct 2006) | 2 lines
5% speed improovement by changing put_vector

Originally committed as revision 6513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:41 +00:00
Oded Shimon
ac0057f3a6 Original Commit: r108 | ods15 | 2006-10-01 18:46:06 +0200 (Sun, 01 Oct 2006) | 2 lines
prevent division/modulo

Originally committed as revision 6512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:39 +00:00
Oded Shimon
0c4630f244 Original Commit: r107 | ods15 | 2006-10-01 18:13:12 +0200 (Sun, 01 Oct 2006) | 2 lines
give proper error message for channels!=2

Originally committed as revision 6511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:36 +00:00
Oded Shimon
a88de9682f Original Commit: r106 | ods15 | 2006-10-01 18:11:55 +0200 (Sun, 01 Oct 2006) | 2 lines
window -> apply_window_and_mdct

Originally committed as revision 6510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:33 +00:00
Oded Shimon
64c82a7411 Original Commit: r105 | ods15 | 2006-10-01 18:09:55 +0200 (Sun, 01 Oct 2006) | 2 lines
slight simplification for channel coupling

Originally committed as revision 6509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:30 +00:00
Oded Shimon
c2ee47ac06 Original Commit: r104 | ods15 | 2006-10-01 18:04:08 +0200 (Sun, 01 Oct 2006) | 2 lines
somewhat cosmetic formatting, use FFMAX

Originally committed as revision 6508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:28 +00:00
Oded Shimon
cc767a8969 Original Commit: r103 | ods15 | 2006-10-01 18:00:43 +0200 (Sun, 01 Oct 2006) | 2 lines
slight optimization, don't calculate average twice

Originally committed as revision 6507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:24 +00:00
Oded Shimon
7e46045784 Original Commit: r102 | ods15 | 2006-10-01 17:58:38 +0200 (Sun, 01 Oct 2006) | 2 lines
remove ready_floor()

Originally committed as revision 6506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:22 +00:00
Oded Shimon
5f3de4b86b Original Commit: r101 | ods15 | 2006-10-01 14:15:00 +0200 (Sun, 01 Oct 2006) | 2 lines
some cleanup

Originally committed as revision 6505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:20 +00:00
Oded Shimon
f11329e461 Original Commit: r100 | ods15 | 2006-10-01 14:01:27 +0200 (Sun, 01 Oct 2006) | 2 lines
update to global functions now shared in vorbis.h

Originally committed as revision 6504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:18 +00:00
Oded Shimon
cbf306f328 Original Commit: r99 | ods15 | 2006-10-01 11:12:44 +0200 (Sun, 01 Oct 2006) | 2 lines
codebook init data cleanup

Originally committed as revision 6503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:14 +00:00
Oded Shimon
ccc0fbf3c4 Original Commit: r98 | ods15 | 2006-10-01 10:15:33 +0200 (Sun, 01 Oct 2006) | 2 lines
switch to int8_t for residue codebook numbers, use memcpy in residue init

Originally committed as revision 6502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:12 +00:00
Oded Shimon
8d38e5e5f0 Original Commit: r97 | ods15 | 2006-09-30 23:32:19 +0300 (Sat, 30 Sep 2006) | 2 lines
don't assert fail for channels != 2, exit cleanly instead...

Originally committed as revision 6501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:10 +00:00
Oded Shimon
7a82a10a09 Original Commit: r96 | ods15 | 2006-09-30 23:25:18 +0300 (Sat, 30 Sep 2006) | 2 lines
even though it doesn't do anything, use flush_put_bits()

Originally committed as revision 6500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:08 +00:00
Oded Shimon
6fde6305b1 Original Commit: r95 | ods15 | 2006-09-30 22:11:08 +0300 (Sat, 30 Sep 2006) | 3 lines
scale user settable quality for more fine-grainablity
now sane values for -aq is 10-30

Originally committed as revision 6499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:06 +00:00
Oded Shimon
39d0567737 Original Commit: r94 | ods15 | 2006-09-30 22:09:33 +0300 (Sat, 30 Sep 2006) | 2 lines
prevent c++ decleration

Originally committed as revision 6498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:04 +00:00
Oded Shimon
ddf217ba14 Original Commit: r93 | ods15 | 2006-09-30 22:02:21 +0300 (Sat, 30 Sep 2006) | 2 lines
update to change made in vorbis.h/vorbis_data.c

Originally committed as revision 6497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:02 +00:00
Oded Shimon
4000774d8f Original Commit: r92 | ods15 | 2006-09-30 12:13:47 +0300 (Sat, 30 Sep 2006) | 3 lines
user settable audio quality, with -aq. values between 0.1 to 0.3 are sane.
the higher the better.

Originally committed as revision 6496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:59 +00:00
Oded Shimon
b002eec985 Original Commit: r91 | ods15 | 2006-09-30 10:05:16 +0300 (Sat, 30 Sep 2006) | 4 lines
even better psy.
My encoder officially kicks ass :) same bitrate to libvorbis, and (IMO)
same quality! :)

Originally committed as revision 6495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:57 +00:00
Oded Shimon
68e75e4dec Original Commit: r90 | ods15 | 2006-09-29 22:14:40 +0300 (Fri, 29 Sep 2006) | 3 lines
much better magic for floor, the first psychoacoustic in this encoder!
now creates valid, 175kbps audio, which sounds good! :)

Originally committed as revision 6494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:55 +00:00
Oded Shimon
9b9941bee6 Original Commit: r88 | ods15 | 2006-09-29 21:10:36 +0300 (Fri, 29 Sep 2006) | 2 lines
slight similification

Originally committed as revision 6493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:53 +00:00
Oded Shimon
40b6c72133 Original Commit: r87 | ods15 | 2006-09-29 21:10:05 +0300 (Fri, 29 Sep 2006) | 2 lines
prevent valgrind warning

Originally committed as revision 6492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:51 +00:00
Oded Shimon
8b33748c45 Original Commit: r86 | ods15 | 2006-09-29 21:08:42 +0300 (Fri, 29 Sep 2006) | 2 lines
make put_vector ignore unused codebook entries

Originally committed as revision 6491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:48 +00:00
Oded Shimon
5e93d002e5 Original Commit: r85 | ods15 | 2006-09-29 21:07:58 +0300 (Fri, 29 Sep 2006) | 2 lines
bad array decleration

Originally committed as revision 6490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:46 +00:00
Oded Shimon
866bfee373 Original Commit: r84 | ods15 | 2006-09-29 21:07:07 +0300 (Fri, 29 Sep 2006) | 2 lines
dangling piece from last commit

Originally committed as revision 6489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:44 +00:00
Oded Shimon
a2cf16fe03 Original Commit: r83 | ods15 | 2006-09-29 21:06:13 +0300 (Fri, 29 Sep 2006) | 2 lines
add real_len to residue codebooks, which are smaller than supposed to be

Originally committed as revision 6488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:41 +00:00
Oded Shimon
0e9bf4a296 Original Commit: r82 | ods15 | 2006-09-29 21:03:43 +0300 (Fri, 29 Sep 2006) | 2 lines
fix channels to be correct for rc->type==2 before classes[] decleration

Originally committed as revision 6487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:39 +00:00
Oded Shimon
7f44dfe264 Original Commit: r81 | ods15 | 2006-09-29 21:02:09 +0300 (Fri, 29 Sep 2006) | 2 lines
make residue_encode decide good classification per partition

Originally committed as revision 6486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:36 +00:00
Oded Shimon
840d157323 Original Commit: r80 | ods15 | 2006-09-29 15:44:22 +0300 (Fri, 29 Sep 2006) | 2 lines
import libvorbis codebooks for residue

Originally committed as revision 6485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:33 +00:00
Oded Shimon
6f5be556dd Original Commit: r79 | ods15 | 2006-09-29 15:15:26 +0300 (Fri, 29 Sep 2006) | 2 lines
cosmetic reindent

Originally committed as revision 6484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:31 +00:00
Oded Shimon
9127d7c3d4 Original Commit: r78 | ods15 | 2006-09-29 15:14:28 +0300 (Fri, 29 Sep 2006) | 2 lines
improove floor codebooks

Originally committed as revision 6483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:28 +00:00
Oded Shimon
dac7b2f6dd Original Commit: r77 | ods15 | 2006-09-29 15:12:56 +0300 (Fri, 29 Sep 2006) | 2 lines
fix for book==-1 in floor

Originally committed as revision 6482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:25 +00:00
Oded Shimon
7e4221fd6b Original Commit: r76 | ods15 | 2006-09-29 13:16:37 +0300 (Fri, 29 Sep 2006) | 2 lines
switch to 2048 block size

Originally committed as revision 6481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:23 +00:00
Oded Shimon
a9ce92679d Original Commit: r75 | ods15 | 2006-09-29 13:03:51 +0300 (Fri, 29 Sep 2006) | 2 lines
remove debugging printf

Originally committed as revision 6480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:21 +00:00
Oded Shimon
a277ad842e Original Commit: r74 | ods15 | 2006-09-29 13:03:31 +0300 (Fri, 29 Sep 2006) | 2 lines
support multiple codebooks for floor

Originally committed as revision 6479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:19 +00:00
Oded Shimon
899124aa38 Original Commit: r73 | ods15 | 2006-09-28 21:01:59 +0300 (Thu, 28 Sep 2006) | 2 lines
almost cosmetic, remove redundant variable

Originally committed as revision 6478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:16 +00:00
Oded Shimon
4c588d8e9f Original Commit: r72 | ods15 | 2006-09-28 21:00:47 +0300 (Thu, 28 Sep 2006) | 2 lines
cosmetic

Originally committed as revision 6477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:14 +00:00
Oded Shimon
e3df7fc64c Original Commit: r71 | ods15 | 2006-09-28 21:00:24 +0300 (Thu, 28 Sep 2006) | 2 lines
residue type 2

Originally committed as revision 6476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:11 +00:00
Oded Shimon
9d74ff0e55 Original Commit: r70 | ods15 | 2006-09-28 19:07:36 +0300 (Thu, 28 Sep 2006) | 2 lines
channel coupling

Originally committed as revision 6475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:09 +00:00
Oded Shimon
90a09b69d7 Original Commit: r69 | ods15 | 2006-09-27 20:27:50 +0300 (Wed, 27 Sep 2006) | 2 lines
prevent buffer overflow

Originally committed as revision 6474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:07 +00:00
Oded Shimon
65c7236929 Original Commit: r68 | ods15 | 2006-09-25 21:15:09 +0300 (Mon, 25 Sep 2006) | 2 lines
slightly more compressing, 50% compression now :)

Originally committed as revision 6473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:03 +00:00
Oded Shimon
af1cb7ee4c Original Commit: r67 | ods15 | 2006-09-25 20:33:06 +0300 (Mon, 25 Sep 2006) | 2 lines
horrible off-by-one causing lots of troubles...

Originally committed as revision 6472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:01 +00:00
Oded Shimon
cbb834afa1 Original Commit: r66 | ods15 | 2006-09-25 18:42:13 +0300 (Mon, 25 Sep 2006) | 2 lines
some different values for higher accuracy

Originally committed as revision 6471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:59 +00:00
Oded Shimon
4fa29073eb Original Commit: r65 | ods15 | 2006-09-25 18:40:19 +0300 (Mon, 25 Sep 2006) | 2 lines
cosmetic

Originally committed as revision 6470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:57 +00:00
Oded Shimon
63fc901ec9 Original Commit: r64 | ods15 | 2006-09-25 18:39:30 +0300 (Mon, 25 Sep 2006) | 2 lines
some fixes to floor

Originally committed as revision 6469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:55 +00:00
Oded Shimon
09a0d8b3c9 Original Commit: r63 | ods15 | 2006-09-25 13:51:44 +0300 (Mon, 25 Sep 2006) | 3 lines
last step to improoving floor code-wise - now the floor data needs to be
improved..

Originally committed as revision 6468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:53 +00:00
Oded Shimon
6e8ef5ae6f Original Commit: r62 | ods15 | 2006-09-25 13:12:07 +0300 (Mon, 25 Sep 2006) | 2 lines
api change for floor_encode

Originally committed as revision 6467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:51 +00:00
Oded Shimon
cf0f2642f4 Original Commit: r61 | ods15 | 2006-09-25 13:10:56 +0300 (Mon, 25 Sep 2006) | 2 lines
step 2, floor_fit, decides on the values to be encoded

Originally committed as revision 6466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:49 +00:00
Oded Shimon
62ca51b3fa Original Commit: r60 | ods15 | 2006-09-25 12:46:30 +0300 (Mon, 25 Sep 2006) | 2 lines
first step to improoving floor

Originally committed as revision 6465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:46 +00:00
Oded Shimon
6f17618af9 Original Commit: r59 | ods15 | 2006-09-24 17:40:40 +0300 (Sun, 24 Sep 2006) | 2 lines
cosmetic, reorganize

Originally committed as revision 6464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:44 +00:00
Oded Shimon
8a202cb3a7 Original Commit: r58 | ods15 | 2006-09-24 17:35:28 +0300 (Sun, 24 Sep 2006) | 2 lines
add ability to use codebook dimentions in residue

Originally committed as revision 6463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:42 +00:00
Oded Shimon
4132242dfc Original Commit: r56 | ods15 | 2006-09-24 13:55:01 +0300 (Sun, 24 Sep 2006) | 2 lines
oggvorbis_encoder => vorbis_encoder

Originally committed as revision 6462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:40 +00:00
Oded Shimon
91f64941d3 Original Commit: r55 | ods15 | 2006-09-24 13:54:43 +0300 (Sun, 24 Sep 2006) | 2 lines
bug fixes for residue with no books in all passes

Originally committed as revision 6461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:38 +00:00
Oded Shimon
b8d5b161ae Original Commit: r54 | ods15 | 2006-09-24 13:54:12 +0300 (Sun, 24 Sep 2006) | 2 lines
change floor value to lower residue

Originally committed as revision 6460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:36 +00:00
Oded Shimon
36e09a5144 Original Commit: r52 | ods15 | 2006-09-23 17:38:43 +0300 (Sat, 23 Sep 2006) | 2 lines
correct rangebits for floor

Originally committed as revision 6459 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:34 +00:00
Oded Shimon
4fb432e743 Original Commit: r51 | ods15 | 2006-09-23 16:32:30 +0300 (Sat, 23 Sep 2006) | 2 lines
deobfuscate a bit

Originally committed as revision 6458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:32 +00:00
Oded Shimon
a7849cc90e Original Commit: r50 | ods15 | 2006-09-23 16:24:51 +0300 (Sat, 23 Sep 2006) | 2 lines
ilog => av_log2

Originally committed as revision 6457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:30 +00:00
Oded Shimon
0e6fd0f12f Original Commit: r49 | ods15 | 2006-09-23 12:52:21 +0300 (Sat, 23 Sep 2006) | 3 lines
fix off-by-one in both encoder and decoder.
libvorbis and tremor work now, ffvorbis still doesn't

Originally committed as revision 6456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:28 +00:00
Oded Shimon
33592a633f Original Commit: r48 | ods15 | 2006-09-23 12:45:25 +0300 (Sat, 23 Sep 2006) | 2 lines
small fix for residue header

Originally committed as revision 6455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:26 +00:00
Oded Shimon
174476cd7d Original Commit: r47 | ods15 | 2006-09-23 12:34:48 +0300 (Sat, 23 Sep 2006) | 2 lines
make ffvorbis happy about init stuff, still can't play correctly

Originally committed as revision 6454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:24 +00:00
Oded Shimon
2278783547 Original Commit: r46 | ods15 | 2006-09-23 11:36:32 +0300 (Sat, 23 Sep 2006) | 2 lines
fix normalization, output is (roughly?) same volume as input

Originally committed as revision 6453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:40 +00:00
Oded Shimon
f4e5e657b8 Original Commit: r44 | ods15 | 2006-09-23 10:54:43 +0300 (Sat, 23 Sep 2006) | 2 lines
some bug fixes for window()

Originally committed as revision 6452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:37 +00:00
Oded Shimon
19b00cf16e Original Commit: r43 | ods15 | 2006-09-23 10:53:46 +0300 (Sat, 23 Sep 2006) | 2 lines
change residue codebook dimentions

Originally committed as revision 6451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:35 +00:00
Oded Shimon
4317306f34 Original Commit: r42 | ods15 | 2006-09-23 10:53:16 +0300 (Sat, 23 Sep 2006) | 2 lines
fix for residue end

Originally committed as revision 6450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:32 +00:00
Oded Shimon
b452ee42f5 Original Commit: r41 | ods15 | 2006-09-23 10:52:34 +0300 (Sat, 23 Sep 2006) | 4 lines
residue packet encode

ACTUALLY ENCODES NOW!! still some bugs to fix :)

Originally committed as revision 6449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:30 +00:00
Oded Shimon
6fbf5855b1 Original Commit: r40 | ods15 | 2006-09-23 09:36:30 +0300 (Sat, 23 Sep 2006) | 2 lines
fix frame_size, we need input of half the mdct

Originally committed as revision 6448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:27 +00:00
Oded Shimon
f71b6d7072 Original Commit: r39 | ods15 | 2006-09-23 09:36:11 +0300 (Sat, 23 Sep 2006) | 2 lines
add window function

Originally committed as revision 6447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:25 +00:00
Oded Shimon
6b03d096dc Original Commit: r38 | ods15 | 2006-09-23 09:02:34 +0300 (Sat, 23 Sep 2006) | 2 lines
buffer related struct variables

Originally committed as revision 6446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:23 +00:00
Oded Shimon
1b34d5737d Original Commit: r37 | ods15 | 2006-09-23 08:43:43 +0300 (Sat, 23 Sep 2006) | 2 lines
cosmetic

Originally committed as revision 6445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:21 +00:00
Oded Shimon
b9b040236e Original Commit: r36 | ods15 | 2006-09-23 08:43:09 +0300 (Sat, 23 Sep 2006) | 2 lines
starting point for packet encode, writing floor

Originally committed as revision 6444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:18 +00:00
Oded Shimon
e3bbb5910f Original Commit: r35 | ods15 | 2006-09-22 18:53:22 +0300 (Fri, 22 Sep 2006) | 4 lines
another off by one

header writing seems compliant now!

Originally committed as revision 6443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:16 +00:00
Oded Shimon
9da6847deb Original Commit: r34 | ods15 | 2006-09-22 18:46:57 +0300 (Fri, 22 Sep 2006) | 2 lines
off by one in codebook header

Originally committed as revision 6442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:14 +00:00
Oded Shimon
be01eec6c7 Original Commit: r32 | ods15 | 2006-09-22 18:37:50 +0300 (Fri, 22 Sep 2006) | 2 lines
add framing bit

Originally committed as revision 6441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:12 +00:00
Oded Shimon
22c72a08df Original Commit: r31 | ods15 | 2006-09-22 18:33:17 +0300 (Fri, 22 Sep 2006) | 2 lines
use my own bitpacker

Originally committed as revision 6440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:10 +00:00
Oded Shimon
b4b6ff3a55 Original Commit: r30 | ods15 | 2006-09-22 18:24:04 +0300 (Fri, 22 Sep 2006) | 2 lines
remove some old defines, use ALT_BITSTREAM_WRITER

Originally committed as revision 6439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:07 +00:00
Oded Shimon
b1f6c8b120 Original Commit: r27 | ods15 | 2006-09-22 14:19:51 +0300 (Fri, 22 Sep 2006) | 2 lines
better frame_size, depending on blocksize

Originally committed as revision 6438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:05 +00:00
Oded Shimon
2d06ce4c87 Original Commit: r26 | ods15 | 2006-09-22 14:18:22 +0300 (Fri, 22 Sep 2006) | 2 lines
crash fix

Originally committed as revision 6437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:03 +00:00
Oded Shimon
ae9b187ab2 Original Commit: r25 | ods15 | 2006-09-22 14:06:04 +0300 (Fri, 22 Sep 2006) | 2 lines
add proper uninit/free to all vorbis encoder context

Originally committed as revision 6436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:01 +00:00
Oded Shimon
fb5eba8c2d Original Commit: r24 | ods15 | 2006-09-22 13:57:09 +0300 (Fri, 22 Sep 2006) | 2 lines
last and least, modes generation

Originally committed as revision 6435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:59 +00:00
Oded Shimon
8e59b82db1 Original Commit: r23 | ods15 | 2006-09-22 13:55:48 +0300 (Fri, 22 Sep 2006) | 2 lines
mapping generation

Originally committed as revision 6434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:57 +00:00
Oded Shimon
0df46aa216 Original Commit: r22 | ods15 | 2006-09-22 13:49:56 +0300 (Fri, 22 Sep 2006) | 2 lines
add residue generation

Originally committed as revision 6433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:55 +00:00
Oded Shimon
e185750ab7 Original Commit: r21 | ods15 | 2006-09-22 13:40:31 +0300 (Fri, 22 Sep 2006) | 2 lines
placeholders for reisudes, mappings and modes

Originally committed as revision 6432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:52 +00:00
Oded Shimon
491d4dfd6c Original Commit: r20 | ods15 | 2006-09-22 13:12:48 +0300 (Fri, 22 Sep 2006) | 2 lines
cosmetic

Originally committed as revision 6431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:49 +00:00
Oded Shimon
b9db113d6d Original Commit: r19 | ods15 | 2006-09-22 12:54:18 +0300 (Fri, 22 Sep 2006) | 2 lines
floor generation

Originally committed as revision 6430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:47 +00:00
Oded Shimon
faf7f0ce7e Original Commit: r18 | ods15 | 2006-09-22 12:29:26 +0300 (Fri, 22 Sep 2006) | 2 lines
add ability to run encoder for testing purposes...

Originally committed as revision 6429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:45 +00:00
Oded Shimon
128c0dfe9a Original Commit: r17 | ods15 | 2006-09-22 12:28:28 +0300 (Fri, 22 Sep 2006) | 2 lines
bug fixes in codebook header syntax

Originally committed as revision 6428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:43 +00:00
Oded Shimon
1495689c5b Original Commit: r16 | ods15 | 2006-09-22 12:27:17 +0300 (Fri, 22 Sep 2006) | 2 lines
minimum size for a huffman table is 2 entries, 1bit

Originally committed as revision 6427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:41 +00:00
Oded Shimon
53261080b9 Original Commit: r15 | ods15 | 2006-09-22 12:26:42 +0300 (Fri, 22 Sep 2006) | 2 lines
bug fix in main header function, 0 -> i

Originally committed as revision 6426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:39 +00:00
Oded Shimon
e08d964df6 Original Commit: r14 | ods15 | 2006-09-22 12:26:17 +0300 (Fri, 22 Sep 2006) | 2 lines
use several codebooks and passes to prevent header from being several MB...

Originally committed as revision 6425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:37 +00:00
Oded Shimon
3c83828ca4 Original Commit: r13 | ods15 | 2006-09-22 09:29:38 +0300 (Fri, 22 Sep 2006) | 2 lines
better comment

Originally committed as revision 6424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:35 +00:00
Oded Shimon
73acc51cd2 Original Commit: r12 | ods15 | 2006-09-22 09:28:30 +0300 (Fri, 22 Sep 2006) | 5 lines
entry_t -> cb_entry_t
add float * dimentions, it will be needed for deciding the correct codebook entry
document blocksize
first steps to creating the context to be used

Originally committed as revision 6423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:33 +00:00
Oded Shimon
8016c73f4c Original Commit: r11 | ods15 | 2006-09-17 19:41:28 +0300 (Sun, 17 Sep 2006) | 4 lines
modes header syntax

that's the last of the headers! woo

Originally committed as revision 6422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:30 +00:00
Oded Shimon
beaec74a94 Original Commit: r10 | ods15 | 2006-09-17 19:37:17 +0300 (Sun, 17 Sep 2006) | 2 lines
mappings header syntax

Originally committed as revision 6421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:28 +00:00
Oded Shimon
6f133df1ea Original Commit: r9 | ods15 | 2006-09-17 18:56:41 +0300 (Sun, 17 Sep 2006) | 2 lines
add residue header syntax

Originally committed as revision 6420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:26 +00:00
Oded Shimon
d2d5c89d34 Original Commit: r8 | ods15 | 2006-09-17 09:43:38 +0300 (Sun, 17 Sep 2006) | 2 lines
floor header syntax

Originally committed as revision 6419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:24 +00:00
Oded Shimon
d52480b40d Original Commit: r7 | ods15 | 2006-09-17 08:50:47 +0300 (Sun, 17 Sep 2006) | 2 lines
skeleton for residue/floor/mappings header

Originally committed as revision 6418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:22 +00:00
Oded Shimon
1f7e7464e9 Original Commit: r6 | ods15 | 2006-09-16 20:36:31 +0300 (Sat, 16 Sep 2006) | 2 lines
add correct and working put_float ...

Originally committed as revision 6417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:20 +00:00
Oded Shimon
3112124154 Original Commit: r5 | ods15 | 2006-09-16 17:29:04 +0300 (Sat, 16 Sep 2006) | 4 lines
more "surrounding" stuff, main header. some cleanup.

actually compiles now! doesn't do anything though

Originally committed as revision 6416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:18 +00:00
Oded Shimon
0688b89c6d Original Commit: r4 | ods15 | 2006-09-16 15:36:03 +0300 (Sat, 16 Sep 2006) | 3 lines
codebook header syntax
small simplification for encode_init()

Originally committed as revision 6415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:16 +00:00
Oded Shimon
3a5fdf92f5 Original Commit: r3 | ods15 | 2006-09-16 11:49:07 +0300 (Sat, 16 Sep 2006) | 2 lines
cosmetics

Originally committed as revision 6414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:14 +00:00
Oded Shimon
504d195260 skeleton for vorbis_enc.c
Originally committed as revision 6413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:54:55 +00:00
Loren Merritt
2833fc4646 approximate qpel functions: sacrifice some quality for some decoding speed. enabled on B-frames with -lavdopts fast.
Originally committed as revision 6412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 21:25:17 +00:00
Alexander Strange
eacad59e03 Fix compilation with --disable-encoders.
patch by Alexander Strange, astrange at ithinksw dot com

Originally committed as revision 6410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 18:19:49 +00:00
Oded Shimon
7f09a56091 remove render_line from vorbis.h, add ff_vorbis_floor1_render_list instead
Originally committed as revision 6409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 17:38:07 +00:00
Oded Shimon
e8f42cc0f5 prevent warning in vorbis_data.c
Originally committed as revision 6404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 13:53:08 +00:00
Oded Shimon
ded515b241 100l, broke ffmpeg compilation, ABS() and uint* types not defined in vorbis_data.c
Originally committed as revision 6403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 13:45:17 +00:00
Oded Shimon
6c29d7c8f3 make some more functions global so they can be shared with vorbis_enc.c
Originally committed as revision 6402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 11:59:33 +00:00
Oded Shimon
9f963af5a0 make ready_floor1_list() shared for vorbis_enc.c
Originally committed as revision 6401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 11:11:30 +00:00
Kostya Shishkov
429914a330 1l: correct argument order in avcodec_check_dimensions
Originally committed as revision 6400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 05:09:20 +00:00
Michael Niedermayer
3129f3bd0f palette (if we memcpy it into AVFrame) must be uint32_t
Originally committed as revision 6399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-30 23:49:09 +00:00
Oded Shimon
cc0ba5a58f vorbis.h -> vorbis_data.c
move tables from vorbis.h to a C file so they can be used later in
vorbis_enc.c

Originally committed as revision 6398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-30 18:47:15 +00:00
Michael Niedermayer
18239edfa9 marking AVPaletteControl as deprecated due to thread saftey amongth other issues (it doesnt work if theres any delay between demuxer and decoder)
Originally committed as revision 6397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-30 18:16:38 +00:00
Michael Niedermayer
0d415b2dd7 seems only 3 bits are used for the number of resolutions, some rv30 files have this set to 10 even though there are just 2 resolutions in the extradata
Originally committed as revision 6395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-30 16:00:27 +00:00
Michael Niedermayer
f457965c20 ignore sub_id
Originally committed as revision 6392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-30 11:45:09 +00:00
Michael Niedermayer
fb3d155c31 big endian fix
Originally committed as revision 6391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-30 11:35:14 +00:00
Michael Niedermayer
113533a582 support resolution switching, fixes rv20errors.rm
Originally committed as revision 6390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-30 11:31:15 +00:00
Michael Niedermayer
78a5ec27aa simplify
Originally committed as revision 6389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 23:57:03 +00:00
Michael Niedermayer
6d3124961b fix rv20 b frames (broke since r5264 Mon Apr 3 07:52:24 2006 UTC 2x faster ff_mpeg4_set_direct_mv)
Originally committed as revision 6388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 23:34:42 +00:00
Panagiotis Issaris
b2f86c170d Add forgotten eval.h...
Originally committed as revision 6387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 19:48:27 +00:00
Panagiotis Issaris
0de9926f62 Move the ratecontrol related code from mpegvideo.h to a separate header file.
Originally committed as revision 6386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 19:39:19 +00:00
Panagiotis Issaris
d70ef6d761 Reformat the output of the list of available AVOptions, by indenting the
parameters of certain options and displaying them _right after_ the actual
option taking the parameter.

Originally committed as revision 6385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 19:36:12 +00:00
Panagiotis Issaris
6d6f42d202 Remove the override of lmin and lmax, so the actual option value provided will
be used.

Originally committed as revision 6384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 19:34:53 +00:00
Panagiotis Issaris
4d7b4613a1 Pull out the ff_eval* from the mpegvideo header, as it doesn't belong there and
put it in a separate file.

Originally committed as revision 6383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 19:33:04 +00:00
Måns Rullgård
f28748e671 remove extraneous #ifdef CONFIG_ENCODERS/DECODERS
Originally committed as revision 6375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-28 22:03:52 +00:00
Panagiotis Issaris
720442981b Remove the "mblmax" OptionDef. The equally named AVOption takes over its
function. A unit change is involved, but as AVOption parameters are now parsed
with ff_eval2(), you can use the QP2LAMBDA constant to ease the change.

Originally committed as revision 6370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-28 17:46:25 +00:00
Panagiotis Issaris
93b26b6381 Remove the "mblmin" OptionDef. The equally named AVOption takes over its
function. A unit change is involved, but as AVOption parameters are now parsed
with ff_eval2(), you can use the QP2LAMBDA constant to ease the change.

Originally committed as revision 6369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-28 17:45:51 +00:00
Kostya Shishkov
8db0c25d95 Handle case of get_bits(0)
Originally committed as revision 6365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-28 05:01:02 +00:00
Måns Rullgård
b86216de4c dc_val should be signed
Originally committed as revision 6364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 22:13:44 +00:00
Måns Rullgård
bca99b47bf return 0 from encode_picture() and estimate_qp() on success
Originally committed as revision 6363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 22:12:08 +00:00
Panagiotis Issaris
0ec6065a34 Break compatibility only when first part of version number changes, in this
specific case for ff_eval deprecation.

Originally committed as revision 6358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 20:08:36 +00:00
Panagiotis Issaris
95c9943081 Make AVOption parsign code use ff_eval2()
Originally committed as revision 6357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 20:01:39 +00:00
Måns Rullgård
62bb489b13 add some #ifdef CONFIG_ENCODERS/DECODERS
Originally committed as revision 6356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 19:54:07 +00:00
Måns Rullgård
191e8ca752 fix some signedness warnings
Originally committed as revision 6355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 19:47:39 +00:00
Panagiotis Issaris
d80f243ae9 Make ratecontrol use ff_eval2().
Originally committed as revision 6354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 19:46:19 +00:00
Panagiotis Issaris
a2eb288ac7 Fix compilation by postponing deprecation of ff_eval() until the next version
increment.

Originally committed as revision 6352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 11:09:35 +00:00
Kostya Shishkov
050b60b2cc free memory before return
Originally committed as revision 6351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 04:37:57 +00:00
Kostya Shishkov
1dbb339db3 bump lavc version for WavPack decoder
Originally committed as revision 6350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 04:31:39 +00:00
Michael Niedermayer
c38a29a448 fix decoding of bastard3.rm (ver=0x10003001 ver0=0x9000000)
Originally committed as revision 6349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 22:23:33 +00:00
Panagiotis Issaris
ae41e29b5b Introduce ff_eval2 which is equivalent to ff_eval but does not log anything.
Instead, error messages are passed upward by means of a struct member variable.

Originally committed as revision 6348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 22:01:33 +00:00
Måns Rullgård
a0403006f8 ARMv5TE optimized IDCT
Originally committed as revision 6347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 20:26:22 +00:00
Michael Niedermayer
e2887363e1 fix decoding of bastard1.rm (rv ver=0x10003001 ver0=0x8000000)
Originally committed as revision 6346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 20:24:13 +00:00
Måns Rullgård
89cba1bd7d fix MUL16 macro
Originally committed as revision 6344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 18:31:43 +00:00