beveloper
56676a8c4b
This is the real hard stuff!
...
FreeBSD compatibility layer that provides a struct ifnet interface,
all #defines that are used by the driver, the mbuf functions,
mbuf queues, etc.
Also some unused things are provided by empty macros.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 23:31:45 +00:00
beveloper
b567981843
A simple memory pool that is used the the mbuf support. Can be called
...
from within an interrupt handler, and wastes pretty much memory.
Knows only about two different block sizes, and implements them by
using a simple free list.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 23:29:46 +00:00
beveloper
07815bc520
The driver interface detects the cards and publishes defs entries.
...
util.* provide a convenience function to map physical memory.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 23:27:26 +00:00
beveloper
6ba61f712f
The device driver interface to the network stack, either BeOS R5, BONE, or OpenBeOS.
...
Initialized attaches and detaches the core driver, sends and receives packets
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 23:21:39 +00:00
beveloper
21482d71c1
a very simple debugging macro
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 23:17:40 +00:00
beveloper
46e6df0fc5
Reacting on a link change inside the interrupt handler is plain crazy,
...
as this involves some long delays like eeprom reading, etc.
Need to snooze() there, and this moved this into a separate thread.
Obviously, the FreeBSD driver isn't doing prober locking yet, so
it's not really save. But it's the correct way to do it, and it
doesn't crash. Inside the interrupt handler it did crash when reconnecting the cable...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 23:09:50 +00:00
beveloper
b8708997c5
the add_timer() function does panic, also it would call the hook in interrupt context, both it not acceptable. Commented it out
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 23:05:14 +00:00
beveloper
f8ce319207
removed some usec_delay() with spin(), since these functions are used inside the interrupt handler
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 22:55:46 +00:00
beveloper
2ec4faf00a
Removed device probing, it's now in driver.c
...
PCI id table, em_probe() and em_shutdown() are now gone.
Changed interrupt handler to use the BeOS calling convention, this avoid putting a wrapper around it.
em_attach() and em_detach() no longer link the adapter struct into a list.
When PCI io port access is configured, make sure that io address decoding is enabled in the PCI configuration.
replaced some offsetof() macros with #defiens to avoid importing all these structs.
Moved sysctl stuff into a #if 0 #endif wrapper.
Removed #include of FreeBSD header files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 22:48:04 +00:00
beveloper
5f1aaa70ce
added some BeOS compatiblity stuff for settings up resources, PCI access, Interrupt handling, etc...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 22:26:31 +00:00
beveloper
4543b62738
updated to most recent version
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 22:13:09 +00:00
beveloper
6acce18557
added phy configuration and some documentation
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 22:08:18 +00:00
beveloper
eeb57e873c
replaced LOG with TRACE
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 22:04:31 +00:00
beveloper
4ade280af9
added a lot of register bits and register offsets, all taken from the documentation
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 21:57:20 +00:00
beveloper
38f15423db
added info texts, init_hardware() now searches for hardware, replaced LOG with TRACE
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 21:53:42 +00:00
beveloper
c376689374
Removed REG*() macros and replaced them with read*() write*() macros.
...
Added chipset configuration, phy access, tx and rx interrupt handling, read and write hooks. Nearly working
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 21:50:29 +00:00
beveloper
45f9110d5c
added TRACE and ERROR macro, removed LOG macro
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 21:42:05 +00:00
beveloper
d5c64db1c5
First version of the:
...
Realtek RTL8169 Family Gigabit Ethernet Driver
Very basic, does only detection of the card and sets up some buffer descriptors.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 20:12:18 +00:00
beveloper
cf3d356127
Unfortunately, the original via-rhine driver is buggy and may hang during high traffic transfers.
...
These changes have been made by YellowTab and have been contributed to OpenBeOS.
While it might not fix every issue, things should be much better and more stable now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 19:34:04 +00:00
beveloper
e11301109a
A BeOS driver for the VIA Rhine chipset, written by Richard Houle.
...
Released under the BSD license.
===========================================
From: "Richard Houle" <[email protected] >
Subject: RE: License question regarding beos via rhine driver.
Date: Thu, 1 Apr 2004 08:48:02 -0500
Whoa. You talking about very old stuff. I don't even know if I kept a copy
of that source code... If you have a copy of it, then you can do what you
want. I don't have any objections or restrictions.
For the license question, the driver was directly inspired by the FreeBSD
driver's source code. Therefore, It's a BSD License.
Richard Houle
===========================================
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 19:17:53 +00:00
beveloper
6d0dfa0f7e
FreeBSD Driver for the Intel(R) PRO/1000 Family of Adapters
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 18:59:33 +00:00
beveloper
7164993bd6
Removed binaries from source tree. They shouldn't be here
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 23:39:08 +00:00
beveloper
efbf097f79
bugfixed and renamed stream parameter to stream_id
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 21:42:11 +00:00
beveloper
749003c7a0
another api change
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 20:04:19 +00:00
beveloper
9a424d11b4
another attempt, but still broken
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-02 22:21:46 +00:00
beveloper
f733cb88d8
This really needs some more work
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-01 21:54:53 +00:00
beveloper
56494946b4
cookie is no longer a parameter for attach/detach
...
renamed drv_t to audio_drv_t
added utility functions to framework
added memory io memory mapping to driver
added io access to driver
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-30 22:10:01 +00:00
beveloper
ce9f8277a1
no longer free the cookie inside the driver
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-29 23:48:38 +00:00
beveloper
40d8df50ed
the cookie is now allocated by the framework
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-29 23:44:47 +00:00
beveloper
bbd6936229
the cookie is now allocated by the framework
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-29 23:43:00 +00:00
beveloper
0b67beb4a1
does no longer crash, calles attach and detach
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-29 23:15:02 +00:00
beveloper
0dac193921
something is wrong and does crash
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-29 22:58:03 +00:00
beveloper
2aef37bf20
more experimenting
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-29 21:45:14 +00:00
beveloper
717659810b
experimental
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-29 20:10:38 +00:00
beveloper
672b768fdf
experimental
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-29 20:02:14 +00:00
beveloper
2fe87e7c58
Fixed handling of 0 byte large chunks.
...
Rewrote error checking during file parsing, parsing now aborts immediately after the first error.
Disabled all TRACEing, added ERROR fprintf for real errors.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 23:30:09 +00:00
beveloper
8bc2d39a23
Fixed broken disabling of realtime flags. Was reported by YellowTab, thanks!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 23:02:30 +00:00
beveloper
62ffde749f
No longer crash or exit(1) all open MediaPlayer windows when a bad mp3 file is played.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 02:08:51 +00:00
beveloper
44c1e167fc
gave mixer a non alpha version number for bebits release
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-06 23:32:55 +00:00
beveloper
fa53639792
Added liba52, a GPL licensed AC3-decoding library.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-06 22:48:00 +00:00
beveloper
1e6635acba
Added the AC3-decoding plugin. It must be treated as GPL licensed, as it'
...
using the GPL'ed liba52.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-06 22:46:49 +00:00
beveloper
194362d68b
included the ac3-decoder addon (when GPL add-ons are included)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-06 22:45:03 +00:00
beveloper
6341d53b82
changed buffer size handling
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-06 22:42:54 +00:00
beveloper
4fed4f5e43
added ac3-decoder to the MediaKit target
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-06 22:41:38 +00:00
beveloper
e91f3ca1a7
Added a new Jamfile rule, called SubIncludeGPL, which can be used to conditionally
...
include GPL licensed add-ons into the build. As GPL licensed add-ons may not be
used with non GPL compatible applications, this rule normally is not invoked when
building the tree. However, if the user is sure that he only uses GPL compatible
software, he can use the new ./configure option --include-gpl-addons to enable
the including of GPL licensed addons that are integrated by SubIncludeGPL instead
of SubInclude.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-06 22:39:28 +00:00
beveloper
7952c91445
updated to the files included in 1.7 release
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-06 20:07:41 +00:00
beveloper
6a5be5f36d
we have reached version 1.7
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-06 18:48:05 +00:00
beveloper
c119564cf0
changed reset behaviour
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-06 18:34:10 +00:00
beveloper
b1ad80c5f5
moved setup of register cache past the codec reset (which changes the registers to default values)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-06 18:33:09 +00:00
beveloper
4c7a07c0c6
added DEBUG_ONLY() macro
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-06 18:31:43 +00:00
beveloper
63ee851ddd
changed reset handling, we no longer perform a cold reset, as this disabled audio output on some notebooks
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6911 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-05 23:58:15 +00:00
beveloper
28d047182f
added logging of subsystem vendor and device id
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-05 23:19:05 +00:00
beveloper
4811cfb7ef
change AD1886 defaults
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-05 23:16:36 +00:00
beveloper
1ee25753d7
AC97 register 0x54 is used by ICH to control GPIOs, which we don't want to access
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-05 23:08:28 +00:00
beveloper
2ba990dd94
fixed comment
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-05 23:06:54 +00:00
beveloper
75a52c6151
switch to 2004
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-05 00:27:05 +00:00
beveloper
1f4114e74c
supposed to create two packages, but broken
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-04 23:53:58 +00:00
beveloper
b335aba0e1
a few files useful when creating installation packages of this driver
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-04 23:38:41 +00:00
beveloper
7a2702788f
fixed assigned BBuffer size, the size of a buffer is now the requested size, not the allocated size
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 22:25:05 +00:00
beveloper
c0df25dada
removed debug output
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 22:21:56 +00:00
beveloper
1e88e6620d
updated to match source file
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 20:09:42 +00:00
beveloper
bac2b3f15c
When the decoder doesn't support the requested format, the raw decoder is utilized
...
to provide a format conversion to the requested raw format.
Added a few workarounds for applications that don't requst the required format
but instead assume to get a specific one.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:53:57 +00:00
beveloper
94722b265c
removed debug output
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:50:56 +00:00
beveloper
c8f5115b32
call FreeCookie() on 0 cookies, too
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:50:23 +00:00
beveloper
93df7353db
simplified vorbis format negotiation and fixed buffer_size negotiation
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:48:22 +00:00
beveloper
e4e48cc279
crash fix for broken files
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:46:50 +00:00
beveloper
fd8c0a5cca
fixed buffer size format negotiation
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:46:09 +00:00
beveloper
fb3053bc25
removed int16 decoding (was a SoundPlay workaround)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 17:58:32 +00:00
beveloper
34cee003fb
fixed reporting of frameCount, removed truncation of reported duration
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 17:34:27 +00:00
beveloper
63dd01d5f2
added saturation to float conversion
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 17:33:36 +00:00
beveloper
d480685184
since GetStreamInfo is called multiple times, moved initialization into AllocateCookie
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 17:14:16 +00:00
beveloper
9e0c18a3e0
added new MIME types to allow playing OGG movies and mpc audio files from mounted FAT32 (windows) partitions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-28 23:50:08 +00:00
beveloper
6931679100
added side left and side right channels to default output mix for better 8 channel playback
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-20 01:09:13 +00:00
beveloper
5e88de2dea
fixed "`status_t status' might be used uninitialized in this function" error
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-18 19:03:38 +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
beveloper
fce6c4e478
start soundcard time source
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-16 23:33:36 +00:00
beveloper
ec276f43a0
bugfix
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-16 20:54:35 +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
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
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
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
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
beveloper
f2ca77a1b1
provide zero media_header, and let reader or decoder set up missing values
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 00:33:05 +00:00
beveloper
ffaa002659
use the correct value (reported by mmu_man)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 00:32:27 +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