annotate TOOLS/c @ 4218:3931c41f740a

Added new syncengine thanks to a new previously undocumented feature of the em8300, this might fix playback on both slow and fast machines (more testing needed). This also requires users to get the em8300 driver from cvs until the next version is released (will probably happen this weekend) Added lots of comments, should be pretty easy to understand most of the internals now Added lots of brackets to if's for's while's etc, this is not a cosmetical thing but rather due to the fact I got some very odd bugs with else's since I didn't properly use brackets (and it's the K&R standard to have brackets everywhere) Fixed some bugs that would occur when disabling libmp1e Switched to default to the new naming scheme of device nodes, the driver will slowly switch over to this state, if it can't find devices under the new name it will try the old naming scheme I stopped opening devices in non-blocking mode, it would break the new syncengine which tries to burst data to the device (alot of times meaning it will fill the fifo pretty fast which would previously result in jerkyness on fast machines) The device now sets the initial state of the pts and speed (probably not needed, but assumption is the mother of all fuckups =) Keep the control interface open during the entire duration of the libvo device, we might need this to flush video buffers on seeking (currently not implemented, therefore seeking is broken) This is beta stuff to the driver, I will get some users to test it for me and do my best to fix seeking as soon as possible...
author mswitch
date Thu, 17 Jan 2002 10:33:47 +0000
parents 04c80ace9581
children 94cab66a5d07
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2355
77d81e5c186d re-eng tool
nick
parents: 573
diff changeset
1 gcc bios2dump.c -o bios2dump
2356
04c80ace9581 re-eng tool
nick
parents: 2355
diff changeset
2 gcc mem2dump.c -o mem2dump
223
7b7c7e26c3a7 added subreader by laaz
arpi_esp
parents: 119
diff changeset
3 gcc subreader.c -o subreader
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4 gcc movinfo.c -o movinfo
223
7b7c7e26c3a7 added subreader by laaz
arpi_esp
parents: 119
diff changeset
5
119
e5d07da09f9b added audio driver debug tools
arpi_esp
parents: 1
diff changeset
6 gcc audio-select.c -o audio-select
e5d07da09f9b added audio driver debug tools
arpi_esp
parents: 1
diff changeset
7 gcc audio-block.c -o audio-block
366
00e10ede5234 png->raw image converter
arpi_esp
parents: 223
diff changeset
8
00e10ede5234 png->raw image converter
arpi_esp
parents: 223
diff changeset
9 gcc png2raw.c -o png2raw -lpng
573
548aa1c31d21 added compilation of fastmem test progs
arpi_esp
parents: 366
diff changeset
10
548aa1c31d21 added compilation of fastmem test progs
arpi_esp
parents: 366
diff changeset
11 gcc -g -DNAME=\"mmx\" -DHAVE_MMX fastmemcpybench.c -o fastmem-mmx
548aa1c31d21 added compilation of fastmem test progs
arpi_esp
parents: 366
diff changeset
12 gcc -g -DNAME=\"k6\ \" -DHAVE_3DNOW -DHAVE_MMX fastmemcpybench.c -o fastmem-k6
548aa1c31d21 added compilation of fastmem test progs
arpi_esp
parents: 366
diff changeset
13 gcc -g -DNAME=\"k7\ \" -DHAVE_MMX2 -DHAVE_3DNOW -DHAVE_MMX fastmemcpybench.c -o fastmem-k7
548aa1c31d21 added compilation of fastmem test progs
arpi_esp
parents: 366
diff changeset
14 gcc -g -DNAME=\"sse\" -DHAVE_MMX2 -DHAVE_SSE -DHAVE_MMX fastmemcpybench.c -o fastmem-sse
548aa1c31d21 added compilation of fastmem test progs
arpi_esp
parents: 366
diff changeset
15
548aa1c31d21 added compilation of fastmem test progs
arpi_esp
parents: 366
diff changeset
16 gcc -g -DNAME=\"mga-mmx\" -DHAVE_MGA -DHAVE_MMX fastmemcpybench.c -o fastmem2-mmx
548aa1c31d21 added compilation of fastmem test progs
arpi_esp
parents: 366
diff changeset
17 gcc -g -DNAME=\"mga-k6\ \" -DHAVE_MGA -DHAVE_3DNOW -DHAVE_MMX fastmemcpybench.c -o fastmem2-k6
548aa1c31d21 added compilation of fastmem test progs
arpi_esp
parents: 366
diff changeset
18 gcc -g -DNAME=\"mga-k7\ \" -DHAVE_MGA -DHAVE_MMX2 -DHAVE_3DNOW -DHAVE_MMX fastmemcpybench.c -o fastmem2-k7
548aa1c31d21 added compilation of fastmem test progs
arpi_esp
parents: 366
diff changeset
19 gcc -g -DNAME=\"mga-sse\" -DHAVE_MGA -DHAVE_MMX2 -DHAVE_SSE -DHAVE_MMX fastmemcpybench.c -o fastmem2-sse