Commit Graph
453 Commits
Author SHA1 Message Date
beveloper 5bfdcec505 Using lookup tables for saturation and to avoid multiplications. About 20% faster.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 19:26:02 +00:00
beveloper 39d2157739 slightly faster again. amazing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 16:21:30 +00:00
beveloper 93d87149dc slightly faster saturation checking
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 15:51:39 +00:00
beveloper e443332206 removed debug printf
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 02:58:40 +00:00
beveloper 2d73b791c8 performance optimization, the code is finally correct
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 02:17:12 +00:00
beveloper 2e09ab5db5 simplified
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 22:22:56 +00:00
beveloper 0a66a3e039 wrote a optimized C conversation from yuv420p (which is really YCbCr to RGB32)
I'm not sure if I really understood the 420p format, so the conversion might
be wrong. But it really looks nice


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 21:24:55 +00:00
beveloper bc3e91dcb6 added video image format conversation stuff, derived from mmu_man's ffmpeg decoder, with heavy modifications
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 18:02:22 +00:00
beveloper 5524db596f fixed duration calculation for compressed data. The three .au test file with muLaw compression that I have play ok now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 01:27:47 +00:00
beveloper 39be96dee0 support for non stereo data (like mono, or 4 channel)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 01:09:03 +00:00
shatty 53d4f7cf34 FindLastPage fix for reading broken cd files (weird case where you can get 0 bytes read even if you seek in front of the end of the file). also some performance check on FindLastPages performance. print frame count/duration computed in GetStreamInfo.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 08:16:22 +00:00
shatty 95c8060a66 quiet readpage only speaks on errors. also invokes debugger if sync is lost
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 08:14:04 +00:00
shatty 2e8a6e27d0 speex codec changed to use unpacked packets (more generic)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-11 04:22:45 +00:00
shatty e23d6a15a6 speedy duration computation, seek to zero, still missing the samples from the initial packet though?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-10 11:01:47 +00:00
beveloper bf3a9e7597 added something, but it doesn't work well
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 23:11:10 +00:00
shatty 7eef05968f seekable version 0 [not seekable lol]
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 09:17:08 +00:00
beveloper 94261db3a6 some support for aLaw and muLaw audio decompression
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 02:44:57 +00:00
shatty 3914c20b70 purposeful default 5 min length for ogg vorbis streams
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 02:04:53 +00:00
shatty 59c2f096b7 no noisy AddPage. AddPage hack for OggTobiasStream dumps subtitles to stderr
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 01:30:44 +00:00
beveloper 350710ea5e return an error when Seek is called
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 00:38:24 +00:00
shatty 68d9b851e8 good sync in nplay
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-08 11:30:48 +00:00
shatty d897b15019 improved info extraction.. plays as fast as possible in MediaPlayer, not well in nplay
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-08 11:13:38 +00:00
shatty b8827c3055 new separation of streams from seekables - first view of ogm video!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-08 09:53:22 +00:00
beveloper b6fed4cfc9 fixed calculation of encoded audio duration
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 12:12:43 +00:00
beveloper 02d71913c4 fixed duration calculation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 12:00:30 +00:00
beveloper f7295bb445 Cleanup of code. License added.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 11:30:07 +00:00
beveloper 82c11c1153 Fixed WMA support.
Frame rate, bit rate and other calculations improved.
Audio stream frame count and duration broken now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 01:37:29 +00:00
beveloper 5ee3807fdc fixed WMA support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 01:35:51 +00:00
shatty 46eb57b150 undo accidental commit of video_util.h comment out
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 09:42:52 +00:00
shatty cce6e4c938 build patches
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 07:13:30 +00:00
shatty 8d32e5c625 more avcodec files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 05:45:31 +00:00
shatty fa8dbc019d new MediaFormats. node monitoring codec plugin loading. codec mods to support new codec api to retrieve supported formats.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 05:26:40 +00:00
shatty a3fd835dad add lcl vmdav
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 01:05:21 +00:00
shatty a96f066c38 updated to cvs : February 1, 2004
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 00:42:25 +00:00
beveloper ae5fe0d26e pass full wave format, including extra data, as meta data
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 22:33:40 +00:00
beveloper ec7ba455ed removed non working assembly
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 16:20:16 +00:00
beveloper cc95481e0e Lets do the TIME WARP again
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 14:51:26 +00:00
beveloper 6e04e144d6 minor api changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 12:39:55 +00:00
beveloper 13e3339edc force decoding as int16 to fix SoundPlay compatibility
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 00:56:52 +00:00
shatty d7f45f5855 NegotiateOutputFormat can not error in any situation -- really
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 09:21:22 +00:00
shatty ba47158dc9 stereo outputs twice as much data. now it works!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 09:00:11 +00:00
shatty 619fa324f4 step by step, to a better stereo decode
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 08:41:06 +00:00
shatty 82175b7177 sweet speex.. at least for mono
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 08:27:32 +00:00
shatty 1f82f2a416 stereo decode fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 08:17:50 +00:00
shatty 8db90088c9 more strict check on blocksizes in the header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 06:43:47 +00:00
beveloper d7a5db30d1 report something for audio, too (doesn't work well)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 23:44:53 +00:00
beveloper e9fe0b2203 Properly report video track information.
Moved infromation gathering into AllocateCookie.
Report proper data in GetNextChunk media_header.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 23:32:10 +00:00
beveloper 1689f0e346 make MediaPlayer recognize the video track, plus small cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 23:34:08 +00:00
beveloper 0e1505b5f4 more support for video tracks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 23:04:52 +00:00
beveloper 507f09d364 added standard avi index parsing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 23:01:46 +00:00