Commit Graph
1394 Commits
Author SHA1 Message Date
Glenn Maynard 073d9e5290 MovieDecoders shouldn't need TEXTUREMAN. 2005-10-21 01:32:39 +00:00
Glenn Maynard 99eb66b31b - if m_bWantRewind is true at the start of DecodeFrame (probably called Seek),
don't make spurious calls to GetFrame (waste of CPU)
 - fix DecodeFrame setting FRAME_DECODED without actually decoding a frame on EOF
   after loop
update comment
(probably not related to "movie not looping" problems)
2005-10-21 00:49:18 +00:00
Glenn Maynard 8b023b1d50 fix log 2005-10-20 21:09:09 +00:00
Glenn Maynard d17aaf31fb fix duration (seconds per frame, not frames per second) 2005-10-20 21:07:25 +00:00
Glenn Maynard 50d6089532 temp workaround 2005-10-20 20:47:01 +00:00
Glenn Maynard f4cb784da8 fix type 2005-10-20 20:46:41 +00:00
Glenn Maynard cffe83e32f fix wrong pixel formats used 2005-10-20 20:43:28 +00:00
Glenn Maynard a9e940560b fix warning 2005-10-20 20:39:23 +00:00
Glenn Maynard ee492d5284 work around namespace error 2005-10-20 20:38:57 +00:00
Glenn Maynard f500aac258 XIPH_LIB_DIR -> OGG_LIB_DIR 2005-10-20 11:11:26 +00:00
Glenn Maynard c00fa12e6c theora 2005-10-20 10:56:36 +00:00
Glenn Maynard 240d8d904b loader 2005-10-20 10:55:20 +00:00
Glenn Maynard 5209d7505b Add Ogg Theora decoder.
This still uses avcodec for YUV to RGB conversion.
2005-10-20 10:54:48 +00:00
Glenn Maynard 0baed8b4ce cleanup 2005-10-20 08:33:37 +00:00
Glenn Maynard e577a5bbab unneeded 2005-10-20 08:26:40 +00:00
Glenn Maynard 5476c7bf9e comments, cleanup 2005-10-20 08:16:48 +00:00
Glenn Maynard d196641baa Export format searching stuff, so other formats can use it. 2005-10-20 07:58:16 +00:00
Glenn Maynard e2151e0178 Split out generic parts of movie decoder, to make it easier to implement others.
We could make MovieDecoder the arch class, with MovieTexture_Generic
replacing RageMovieTexture, but it forces a pull-based API, and DShow
insists on being callback-based ...
2005-10-20 07:19:42 +00:00
Glenn Maynard edd8ea7a01 move HAVE_CRYPTOPP 2005-10-20 03:41:42 +00:00
Glenn Maynard 083119700c doesn't belong here; do in arch_setup 2005-10-20 03:38:53 +00:00
Glenn Maynard d9df0a769c better abstraction 2005-10-20 01:34:31 +00:00
Glenn Maynard 37029c2d0d cleanup 2005-10-19 23:52:16 +00:00
Glenn Maynard 68eac42eda not true 2005-10-19 23:44:55 +00:00
Glenn Maynard 34e63ee650 cleanup 2005-10-19 23:44:07 +00:00
Glenn Maynard f8d4610281 cleanup, abstract duration 2005-10-19 23:41:48 +00:00
Glenn Maynard 6f19f6f9ef push more stuff into FFMpeg_Helper (aiming for a generic helper class,
like RageSoundDriver_Generic_Software)
2005-10-19 23:27:00 +00:00
Glenn Maynard 7decd479ee cleanups 2005-10-19 23:06:23 +00:00
Glenn Maynard f28f2f3343 cleanups 2005-10-19 23:03:38 +00:00
Glenn Maynard 244af2a495 cleanup 2005-10-19 22:57:36 +00:00
Glenn Maynard f4064fe03c cleanup 2005-10-19 21:58:40 +00:00
Glenn Maynard 63314211fc cleanup 2005-10-19 21:57:25 +00:00
Steve Checkoway 268b4007f8 Finish InputHandler_Carbon and use it. 2005-10-19 21:12:18 +00:00
Steve Checkoway 298925586e oops. 2005-10-19 20:25:12 +00:00
Steve Checkoway 9d6b0890a5 Work on keyboard handler. Nearly there. 2005-10-19 11:23:21 +00:00
Steve Checkoway 85e0e3a1ec Prepare code for adding a KeyboardDevice by putting common code into a Device abstract class. 2005-10-18 09:00:53 +00:00
Steve Checkoway fd65b7e34e Cleanup, the carbon events aren't being dispatched so this will be done in the same way as the joysticks. 2005-10-18 07:48:02 +00:00
Steve Checkoway d070a41916 Cruft. 2005-10-17 11:53:20 +00:00
Steve Checkoway 19631fe280 Add Input thread. Remove DictValue since I managed to break it converting from a macro to a static inline function. That took about an hour to track down. 2005-10-17 11:04:31 +00:00
Steve Checkoway 944b1dd231 Cleanup. 2005-10-17 07:04:26 +00:00
Steve Checkoway 849980cf74 Uglify. Ignore 80 column rule without going too far past.
Use inline functions instead of the two macros. No other nonspacing changes.
2005-10-16 23:09:00 +00:00
Steve Checkoway a0c117cd52 Initial input manager. The HID code works (so joysticks work) but the Carbon event handler is not being called. I might need to completely remove SDL first, or I might need to use some other API.
I'd rather not do this with HID, for fairly obvious reasons.
2005-10-15 07:30:16 +00:00
Steve Checkoway c7891c158b Fix memory leak. 2005-10-15 03:39:14 +00:00
Glenn Maynard 491e97d0ac cleanup 2005-10-13 02:26:17 +00:00
Ben Anderson f83eb0a2ca Send key off when disabled only once. (fixes space bar not responding) 2005-10-13 01:34:06 +00:00
Chris Danford e80dcafbdd tracking down volume related assert 2005-10-07 05:29:33 +00:00
Glenn Maynard f0998a1dc5 store /sys/block name in Linux 2005-10-03 07:17:09 +00:00
Chris Danford 7b345b5c75 make volume changes affect playing sounds 2005-10-02 08:35:46 +00:00
Chris Danford 4f44d6591f FindPixelFormat returns PixelFormat_INVALID, not NUM_PixelFormat 2005-10-02 04:55:27 +00:00
Chris Danford bc6c7c89bc move PixelFormat outside of RageDisplay because so many classes outside of RageDisplay use it.
Log PixelFormat strings instead of numbers for easier to read logs.
2005-09-29 17:15:12 +00:00
Ben Anderson 622293b6eb JOY_1 -> JOY_BUTTON_1 2005-09-21 21:09:27 +00:00