beveloper
16611de7ce
spelling fix
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 16:26:55 +00:00
Axel Dörfler
a0a20160cd
Updated all decoders to the changed codec API (from meta_descriptions to
...
BMediaFormats based detection).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 07:55:01 +00:00
shatty
cd6a9248db
adjust framecount/duration for mono/stereo, add channel_mask to vorbis header parsing, compute a "convenient" buffer size for speex decoding
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 22:59:28 +00:00
shatty
194748a1ba
speex output length multiply by channel count
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 22:25:13 +00:00
shatty
43ffdb6608
sound production.. somewhat mangled
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 22:21:21 +00:00
shatty
f785208b00
added extern "C" protect for speex_stereo.h, bug submitted back to author
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 20:00:23 +00:00
shatty
67ab3b5bed
removed extra ogg lib link but still having link failure
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 11:34:36 +00:00
shatty
f9df549e6f
stupid linker bug... why?
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 11:21:49 +00:00
shatty
18bffde638
no need for ogg header
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 10:30:27 +00:00
shatty
955c0efddc
makes noise in nplay, MediaPlayer will not use it, nothing sounds good
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 10:51:41 +00:00
shatty
59ad518ef7
speex parsing tweaks including copy of SpeexHeader from speex_header.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 09:58:35 +00:00
shatty
8000f68ada
code cleanup based on speex
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 09:55:07 +00:00
shatty
e248c06496
add speex codec shell and lib
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 07:21:16 +00:00
shatty
7aca40c2c3
reverse encoding order
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 07:21:03 +00:00
shatty
ec9c7fd2fc
fix quoting error
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 07:19:27 +00:00
shatty
3b8d4ddc65
incorporated my private dprintf patches, avcodec now building
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 06:46:42 +00:00
shatty
830ac450b6
ogg complete parsing of speex, tobias video, vorbis headers, including "friendly" strings for MediaPlayer missing codec errors
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 06:10:42 +00:00
shatty
c084ed96f3
separate out codec id and properties into a different file, add identification and format setup for tobias video (typically mpeg4) and speex codec (by observation, not spec)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 04:03:23 +00:00
shatty
2b1709d4df
remove antiquated fOutput, improve bitrate checks, re-order initialization, added frame_size = sizeof(ogg_packet)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 01:35:03 +00:00
Axel Dörfler
09d31e11ec
Now sets the mediaHeader->start_time in Decode() (hopefully correct).
...
Also fixed a crashing bug if the decoder was not setup with data from
the MusePackReader.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 01:06:43 +00:00
shatty
e2b605b45c
ogg/vorbis update to MetaData. ogg update to do codec identification for vorbis, and to meta-data all header packets for each stream
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 00:29:53 +00:00
Axel Dörfler
9aa7863ddb
Added some missing pieces to get the engine to work with our codec API.
...
It's even working a bit (you hear something that's at least similar to
what you should hear :).
Since the underlying engine doesn't differentiate between container and
contents, this looks like a hack, too.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 23:38:44 +00:00
Axel Dörfler
af18100b2f
Fixed class inheritance so that the decoder will be found as well.
...
RegisterPlugin() didn't return B_OK.
Removed unused headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 23:13:31 +00:00
Axel Dörfler
e74116611d
The MPC_decoder class now contains a pointer to the StreamInfo set by
...
SetStreamInfo() (because MusePackDecoder can use this data).
Removed some other unused lines.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 23:10:29 +00:00
beveloper
ac4bd49716
added missing newlines
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 21:33:31 +00:00
shatty
21290602d8
better Seek failure handling, use MetaData to pass information to decoder, do not use infoBuffer
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 19:13:29 +00:00
shatty
e065a2e0e7
divide GetNextChunk and non-const media_format behavior into new member function InitializeInput
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 19:11:44 +00:00
Axel Dörfler
3b3284c27f
Implemented some basic functionality (namely Sniff() and GetStreamInfo()).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-18 04:43:54 +00:00
Axel Dörfler
9216785b33
Missed some changes; compiled well as long as nobody tried to use it :)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-18 04:42:22 +00:00
Axel Dörfler
1cf1e4e9d2
Added MusePack media file add-on to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-18 03:21:55 +00:00
Axel Dörfler
434ee6c260
Added clean and empty decoder/reader add-on code :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-18 03:17:30 +00:00
Axel Dörfler
ed8ce55582
Add the license information for the MPC package.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-18 03:11:16 +00:00
Axel Dörfler
8267ce8bbc
Added the MusePack (MPC) engine to our repository - it's the one use in the
...
WinAMP plugin and is licensed under the LGPL. I've already ported it to BeOS,
so it does compile without warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-18 03:04:27 +00:00
beveloper
54348708ae
suggest buffer size of 50 ms
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-15 18:05:23 +00:00
shatty
632673435d
bye bye xvid_decoder
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-05 02:41:11 +00:00
shatty
fe738f96ca
fix error in trace string
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 07:38:37 +00:00
shatty
bbeea88122
bail if error on seek
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 07:38:00 +00:00
beveloper
1e078f747a
bugfix
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 02:09:31 +00:00
beveloper
b0763800c1
removed a little debug output
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 00:44:45 +00:00
shatty
f339b6e0b5
clean vorbis seek requires discarding pending samples from the dsp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 12:19:37 +00:00
shatty
7bbf8af761
clean ogg seeking. goes to next ogg page start.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 11:48:38 +00:00
shatty
07e5dd5b93
ogg_sync_reset is better than ogg_sync_clear
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 07:21:33 +00:00
shatty
e6fb4d8f4d
yay for fake seeking
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 06:44:25 +00:00
shatty
c68b568d9b
capture BPositionIO if available. use it to compute a duration estimate. [estimate only for right now]
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 04:34:26 +00:00
shatty
8f54fc7b8a
remove unused fields
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 04:33:43 +00:00
shatty
b52b0133da
handle B_LAST_BUFFER_ERROR from GetNextChunk. properly return a non-full buffer if we got anything decoded. if the buffer has no data, set framecount to zero, and return B_LAST_BUFFER_ERROR.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 01:34:42 +00:00
shatty
a6eabaff96
remove tight loop in GetPage, and return B_LAST_BUFFER_ERROR properly from GetNextChunk instead
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 01:15:58 +00:00
shatty
819b668c92
optimizations
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-28 00:04:54 +00:00
shatty
efbf8d83ed
sounds good :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-27 23:43:18 +00:00
shatty
a2b3fc7c80
new Decode implementation
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-27 23:00:38 +00:00