1542 Commits

Author SHA1 Message Date
shatty
eaa176da6c fixes for start_time returned from vorbis/speex, makes nplay work better in seeking. I note that this also made MediaPlayer stop reporting a bunch of dropped frames at every seek.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-18 10:12:50 +00:00
shatty
3f71285861 seeking in ogg
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-18 09:46:13 +00:00
beveloper
91a3abc0dc Then the video fourcc is 0 or 'fake', the compression ID is used instead. This fixes problems with a few AVI files.
Disabled most debugging output.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-17 22:37:52 +00:00
beveloper
7be5d9c6ad disabled most debugging output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-17 22:36:25 +00:00
shatty
56b91b1a41 streaming detection based on SEEK_END, tested and working in MediaPlayer for ogg streams from SoundPlay live encoder (oggenc)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-17 09:56:53 +00:00
beveloper
8a8f7088fe removed dead code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-16 20:53:13 +00:00
beveloper
745f0912e6 removed AC-3
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-16 20:51:14 +00:00
shatty
da249551cb fix for expiration date bug. need to mod by blkmod and also use mod by blkmod in curaddr. new TRACE variant (commented out since it is a heavy cpu hog).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-16 09:14:27 +00:00
DarkWyrm
747e75bf8d Updated decorators to reflect the removal of _layerdata
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 20:31:40 +00:00
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
Axel Dörfler
1ea4458dda Fixed two warnings, dunno why they slipped through the other time.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 18:58:41 +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
Michael Pfeiffer
6647639ac6 Fixed memory leak
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 00:07:55 +00:00
Michael Pfeiffer
3b6882f17c Added ink density and dither type to halftone constructor
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 00:07:17 +00:00
Michael Pfeiffer
342f6eb938 Added argument to JobData constructor
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 00:01:48 +00:00
Michael Pfeiffer
329e4f9a7b Allow selection of ink density
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 00:00:18 +00:00
Michael Pfeiffer
e2d8351ac4 Added HalftoneView.cpp and PrinterDriver.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:58:49 +00:00
Michael Pfeiffer
7f5627dae3 Allow selection of halftone method and ink density
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:56:14 +00:00
Michael Pfeiffer
7566478beb Added InkDensity and DitherType; distinguish between page and job settings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:54:17 +00:00
Michael Pfeiffer
ef68644905 Shows a halftone preview.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:53:45 +00:00
Michael Pfeiffer
53045bc61b Use class PrinterDriver of libprint.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:46:35 +00:00
Michael Pfeiffer
69512fac34 Page and job setup dialogs remember latest settings. Simplified creation of a libprint printer driver. The printer add-on hook functions are implemented here. The libprint printer driver has to implement the function instantiate_printer_driver() where it creates an object of an inherited class from class PrinterDriver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:46:07 +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
92b105418d working for playback on R5 and openbeos media servers!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-11 11:03:31 +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
Philippe Houdoin
fb12e401e9 Moving back under src/tests/kits/net/new_stack memory_pool kernel module as
he's not ready for prime time yet.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-11 00:09:20 +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
Axel Dörfler
9d37202871 Don't throw away any blocks at the end of the disk (we also support truncated
allocation groups).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 00:11:31 +00:00
Axel Dörfler
7a791c897c blocks_per_ag has to be doubled in each iteration (was messing up the
initialization of bigger volumes).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 00:01:11 +00:00
Rudolf Cornelissen
1f6a1c0197 fixed 'typo'.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-08 19:43:11 +00:00
Rudolf Cornelissen
5a0b9c6b0e v0.16 final
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-08 16:27:14 +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
Rudolf Cornelissen
8c30698233 fixed CRTC1 DPMS fault!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 16:03:09 +00:00