fca0f0e59f* removed MANGLE from macros for setting constants * using MOVQ_WONE/MOVQ_BFE as two instruction instead of static memory value access as its always faster * PAVGB_MMX macro is using now mm6 -> mm7 is unmodified * replaced original pixels_xy2_mmx with new faster and equal implementation * replaced usage of mm7 for other then ZERO contstant in _rnd & _avg file with mm6
Zdenek Kabelac
2002-05-30 15:14:56 +00:00
4e33b83b18Added Launch, FaviconURL and Redirect examples
Philip Gladstone
2002-05-30 02:54:25 +00:00
cde25790ec* New stuff and bug fixes: * Change to dynamically allocated buffers. Should reduce memory footprint significantly as well as eliminate a call to av_abort! * Better version of WMP rate switching infrastructure. Currently turned off till the PTS fixes are in. * Added a Redirect type feature. This allows URLs served by ffserver to just redirect to somewhere else. You might want to do this. Really this needs to be enhanced -- say to handle all 404 pages. * Add mechanism to automatically fire up ffmpeg on ffserver start. This is turned on by adding the Launch keyword to the <feed> definition. * Add logic to take care of non-wmp user agents requesting .asf files. They now get a [reference] file with an appropriate mime type. This fixes the mplayer problem. * Make sure that we have a large buffer for the stats page. * Add a FaviconURL keyword to the status stream definition. If set, then it generates the appropriate HTML so that IE and Mozilla will display the favicon as appropriate. OK -- this is a pretty random feature. * If the ffmpeg is running as a child of ffserver, then report it's CPU usage on the status page. [This is linux only -- maybe somebody could do the work for another OS. The tricky thing is getting the 'ps' command right.]
Philip Gladstone
2002-05-30 02:49:07 +00:00
cb09b2ed92* Go faster stripes: don't check to see if the user presses 'q' if stdin returns EOF -- e.g. it is connected to /dev/null * Make the 1MB video buffer only allocated once rather than on each frame. The allocation and deallocation causes significant performance loss as the kernel remaps the address space each time.
Philip Gladstone
2002-05-30 02:38:57 +00:00
3a2d04473dMake sure that the http_proxy environment variable starts with http:// If not, then ignore it's value.
Philip Gladstone
2002-05-29 21:18:06 +00:00
5845431a86* added dependency on dsputil_mmx_rnd.h for dsputil test
Zdenek Kabelac
2002-05-29 20:55:16 +00:00
ff9657069a* using unrolled loops seems to help to MMX Celerons * calculating average in parallel to use two MMX units * disabled xy2 put code - it's producing rouding errors
Zdenek Kabelac
2002-05-29 20:00:10 +00:00
6aa6ea8e11* reenabled original xy2 put routine - rounding error is really bad with the new code * added PAVGP macros for parallel processing to safe few more cycles on celerons
Zdenek Kabelac
2002-05-29 19:57:21 +00:00
91abb473fb* code with new PAVGB for MMX only CPU splited into separate file and being compiled in the same way as _avg.h * PAVG_MMX macros accept also output parameter * implemented faster put_pixels_xy2, but it has slightly smaller precission. But there is not visible difference in the image quality - might be eventualy easily switched back (#if 0 #endif)- please check
Zdenek Kabelac
2002-05-29 17:16:22 +00:00
def60345ad* new mmx code - based upon http://aggregate.org/MAGIC for now it's rather sneak preview (new functions are nearly 100% faster)
Zdenek Kabelac
2002-05-29 14:29:48 +00:00
541027e26a* cosmetic minor change
Zdenek Kabelac
2002-05-29 14:20:48 +00:00
c04643a2c2* Make video grabbing work again (if you are grabbing multiple streams at different frame rates). * Do the av_abort() change that is not otherwise worth checking in.
Philip Gladstone
2002-05-29 01:55:12 +00:00
e9c0a38ff0* optimized avg_* functions (except xy2) * minor speedup for put_pixels_x2 & cleanup
Zdenek Kabelac
2002-05-28 16:35:58 +00:00
33a1f1a3c1fixing stackoverflow
Michael Niedermayer
2002-05-27 19:47:57 +00:00
cd4af68ad5* started to cleanup name clashes for onetime compilation
Zdenek Kabelac
2002-05-27 16:42:14 +00:00
c0eb0bb717* more PIC friendly and faster code
Zdenek Kabelac
2002-05-27 14:09:10 +00:00
5f6230016a* removed TESTCPU_MAIN - not needed for testing
Zdenek Kabelac
2002-05-27 11:32:01 +00:00
8758f7e43c* for this moment bswap.h included ahead of HAVE_AV_CONFIG_H check as its functionality is used even in those parts which are being compiled without this flag - generaly this would require more complicated cleanup patch - for now leaving for the main author
Zdenek Kabelac
2002-05-27 09:17:21 +00:00
6fea8454ac* yet a bit more extended * fixed busy loop test bug on mmx-only machine
Zdenek Kabelac
2002-05-27 08:39:04 +00:00
e5f3d22d35* undefine local defines when they are no longer needed
Zdenek Kabelac
2002-05-27 08:37:13 +00:00
f0ca2e1b0a* compatibilized declaration with its original definition (though I'm not sure which one is correct - but they should match)
Zdenek Kabelac
2002-05-27 08:34:24 +00:00
30eb039652* avoids double inclusion of this header (how about making all headers in ffmpeg working this way ?)
Zdenek Kabelac
2002-05-27 08:31:54 +00:00
74fc99894bdon't use inttypes.h - use inline function for bswap_64()
Fabrice Bellard
2002-05-26 15:24:32 +00:00
b13788c53fuse sys/soundcard.h for OSS audio
Fabrice Bellard
2002-05-26 15:09:58 +00:00
bbdadbda05untested generic bswap64
Nick Kurshev
2002-05-26 09:45:45 +00:00
3120d2a265* Add first cut of code to handle Windows Media Player rate switching requests. The current state is that at startup, WMP will get the best stream that it can handle. However, subsequent rate switching only puts a message in the log saying what the new stream ought to be. Solving this will be tricky. I guess that we would have to wait for key frames to appear in the new stream, and then switch over to it. Some care would be needed to deal with the PTS of the new stream versus the old stream.
Philip Gladstone
2002-05-26 03:36:34 +00:00
a8dbe9514fChange order of extensions and read_probe checking. This gives the read_probe a higher priority than extensions. This gives FFM a chance of working. Note that some of the other probe functions are bit optimistic, and can be confused by binary data (such as 0x00 0x00 0x01 0xzz) for some values of zz.
Philip Gladstone
2002-05-24 02:09:40 +00:00
07c4ed85f7* Add a probe function for FFM files
Philip Gladstone
2002-05-24 02:06:51 +00:00
b582f314f7* Added yet more output to the status page to try and track down a problem
Philip Gladstone
2002-05-24 02:06:15 +00:00
789bee1264* Fix a problem caused by a duplicate free of priv_data -- now uses av_freep * Make sure that the read buffer for the ffm file is allocated in the priv_data.
Philip Gladstone
2002-05-24 01:19:27 +00:00
ec3b22326d* Add support for time-limiting a live stream. (Some guy streamed one of my pondcam streams for 24 hours! I'll bet he wasn't watching. * Add code to allocate the priv_data so that the ffm header can be parsed again. [Fix crash]
Philip Gladstone
2002-05-24 01:18:19 +00:00
935cdf0902Add an av_abort macro that aborts, but also prints out the location of the abort. Helps track down bugs.
Philip Gladstone
2002-05-24 01:16:08 +00:00
52af45ad77* baling 8 seems to have the same speed
Zdenek Kabelac
2002-05-23 16:19:07 +00:00
fbdedc1704* always baling even though it seems to produce sometime worse results then for -fPIC compilation - don't ask me why...
Zdenek Kabelac
2002-05-23 15:57:28 +00:00
31ddcf9851* cleanup for put_pixels_mmx
Zdenek Kabelac
2002-05-23 15:48:30 +00:00
423d391bfe* minor update
Zdenek Kabelac
2002-05-23 15:46:07 +00:00
8cd91a44b8applied 64bit patch from Ulrich Hecht <uli at suse dot de>
Alex Beregszaszi
2002-05-23 15:40:08 +00:00
9e8098e72a* a little bit extended dsptest also suports dsptestpic target
Zdenek Kabelac
2002-05-23 14:57:11 +00:00
ec9a41f57d* somewhat more advanced test suit for dsp code - for now i386 only cd test ; make dsptest ; ./dsptest
Zdenek Kabelac
2002-05-23 13:34:22 +00:00
2bd978bdb8* fixed contrains and avoid usage of scale index access
Zdenek Kabelac
2002-05-23 10:10:14 +00:00
dcb9cd4b81* added simple test main - see comments about how to compile - should be probably made as a regression test
Zdenek Kabelac
2002-05-23 10:09:33 +00:00
ba0420d83eusing 1 operand less and slightly faster put_pixels_y2
Michael Niedermayer
2002-05-22 23:18:59 +00:00
a213d66486* fix for -fPIC compilation - compiles with 2.95.2 as well - any other compiler shows any problem here ??
Zdenek Kabelac
2002-05-22 20:46:24 +00:00
d7d267dfe0* minor cleanup
Zdenek Kabelac
2002-05-22 13:53:23 +00:00
92ba5ffbb5workaround dc_scale bug in old ffmpeg msmpeg4v3 encoder (set workaround_bugs=1 for this)
Michael Niedermayer
2002-05-21 23:13:57 +00:00
ddad77fade* oops - these are the midnight commits... removed -fPIC used for testing compilability
Zdenek Kabelac
2002-05-21 23:07:26 +00:00
c77b16ddba* restored previous behaviour for this moment users are supposed to supply proper SCR_PATH however
Zdenek Kabelac
2002-05-21 22:18:12 +00:00
8083185f88* restored previous non '..' version
Zdenek Kabelac
2002-05-21 21:50:05 +00:00
59d3e367a8fixed incorrect global gain - slightly increased precision of n^(4/3) table
Fabrice Bellard
2002-05-21 21:07:47 +00:00
777cc95fb4* using ../ for bswap.h
Zdenek Kabelac
2002-05-21 19:42:43 +00:00
49d71c7b05* avoid conflicts with non-ffmpeg config.h and also it's consistent with few other header files included from the main ffmpeg's dir
Zdenek Kabelac
2002-05-21 18:56:03 +00:00
4a908fbc6cBSD/OS support by Steven M Schultz
Alex Beregszaszi
2002-05-21 15:43:00 +00:00
747a67fbabfixed one overflow problem
Fabrice Bellard
2002-05-20 21:15:53 +00:00
b5a40dc6d064bit incompatibility bug, patch by Artur Grabowski <art@blahonga.org>
Artur Grabowski
2002-05-20 04:00:25 +00:00
5eee1aedddbig cosmetics patch, cleanup of messages printed by mplayer and libs. some printf->mp_msg conversion, and some debug messages moved from warn/info to v/dbg2 mplayer's output is now shorter, readable and consistent
Arpi
2002-05-20 03:25:26 +00:00
2e04edb36eFix a segfault when handling errors or .asx or .ram files. Silly bug on my part.
Philip Gladstone
2002-05-20 03:02:09 +00:00
10fc842423fixing alignment for alignment picky cpus
Michael Niedermayer
2002-05-19 01:49:53 +00:00