Steve Checkoway
6365e3607f
Move stuff out of arch using a registration system modeled after Screen.
2006-11-18 19:34:28 +00:00
Glenn Maynard
eb9ab7382c
ConvertValue
2006-10-12 02:05:48 +00:00
Steve Checkoway
6fd4694b79
Simplify.
2006-10-11 11:12:09 +00:00
Steve Checkoway
8ef7317b57
Casting an rvalue to nonconst reference is illegal. I'm not positive why these are considered to be rvalues when they are cast.
2006-10-11 10:23:31 +00:00
Steve Checkoway
0600ff5a1c
Invalid.
2006-10-07 09:46:11 +00:00
Steve Checkoway
0c0609f46a
Tracking down crash.
2006-06-18 04:16:17 +00:00
Steve Checkoway
c50a28e434
Spacing cleanup.
2006-06-18 04:14:31 +00:00
Steve Checkoway
52371ff5f7
Revert. See stepmania-devs.
2006-06-10 21:49:51 +00:00
Mike Calfin
3b68311391
OptionRowHandler.h was changed (removing the class before the constructor definition on line 20) - it caused compilation failures with gcc 4.1.1. ffmpeg include files updated to 0.4.9 20060530.
2006-06-10 20:11:53 +00:00
Glenn Maynard
3def328a9a
spacing
2006-02-14 11:40:24 +00:00
Chris Danford
7f821e8cfc
CString -> RString
2006-01-22 01:00:06 +00:00
Glenn Maynard
034c7f4a41
bring back MovieTexture_FFMpeg::RegisterProtocols
2005-10-29 03:25:39 +00:00
Glenn Maynard
0ac45b8853
handle all frame decoding stuff in DecodePacket
2005-10-27 00:09:17 +00:00
Glenn Maynard
0bc413262d
Pass the surface directly to GetFrame, and a timestamp if frame skipping is
...
enabled.
- This is simpler--two fewer entry points, and a trivial decode path.
- Puts the mechanics of frame skipping in the decoder's control. Previously,
all we did was skip conversion and texture updates. Now, the decoder
can be smarter: skip B-frames, or skip to a keyframe.
- This allows for faster decodes, using slice-based conversion: YUV conversion
can be done at the same time as decoding.
2005-10-21 07:47:06 +00:00
Glenn Maynard
073d9e5290
MovieDecoders shouldn't need TEXTUREMAN.
2005-10-21 01:32:39 +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
0baed8b4ce
cleanup
2005-10-20 08:33:37 +00:00
Glenn Maynard
e577a5bbab
unneeded
2005-10-20 08:26:40 +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
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
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
Chris Danford
48ebc53549
return NULL -> return CString() for clarity and efficiency
2005-09-04 16:55:21 +00:00
Glenn Maynard
6aa187a695
cleanup
2005-09-03 20:57:58 +00:00
Renaud Lepage
eb0704bf41
Big defines patch : replace HAVE_XBOX with HAVE_XDK. In some cases where HAVE_DIRECTX was ambiguous, clarification was added. Another bug surfaced here : Who said FFMPEG was needed on xbox? In any case, investigation of ffmpeg-xbox will commence as soon as we can get SMX to boot again :)
2005-08-23 22:51:21 +00:00
Steve Checkoway
a430b09479
Gcc, be quiet!
2005-05-30 11:10:47 +00:00
Chris Danford
c1ab0fcdb3
hook up MonkeyInput and DebugLights to debug menu
2005-05-16 19:47:30 +00:00
Thad Ward
5949e5bc90
(this is possibly going to annoy some people, but..)
...
put all (obvious) MSVC lines in #if defined(_MSC_VER) blocks, primarilly
to allow alternative win32 compilers to be used.
2005-05-11 04:43:54 +00:00
Ryan Dortmans
6ed565681f
Fixed xbox compile errors.
2005-04-30 05:22:14 +00:00
Glenn Maynard
7d7c06eee4
exceptions
2004-11-30 21:17:13 +00:00
Glenn Maynard
b0c8f70c87
handle decoding multiple frames in one Update() when not threaded
2004-10-18 18:40:28 +00:00
Glenn Maynard
30ac0620ad
Movies no longer have playing/stopped/paused states; either they're
...
receiving DecodeSeconds calls or they're not.
2004-10-18 18:18:02 +00:00
Glenn Maynard
791fe80ef9
make MovieTexture_FFMpeg::RegisterProtocols available
2004-10-18 02:55:17 +00:00
Glenn Maynard
7d108e97e8
allow writing from RageProtocol
2004-10-18 02:54:15 +00:00
Glenn Maynard
5768cb8e5f
fix obscure rounding error
2004-10-18 02:51:53 +00:00
Glenn Maynard
384cdef3a6
drive the movie timer from DecodeSeconds(), instead of an internal
...
clock; this helps keep things synced to the music, and gives us more
control
2004-10-16 02:52:30 +00:00
Glenn Maynard
e1ae2d4f4b
fix crash at loop
2004-10-16 00:42:41 +00:00
Glenn Maynard
1616f9d5b4
fix decoding last frame
...
fix last decoded frame being skipped
2004-10-07 14:37:05 +00:00
Glenn Maynard
fd34d08ae0
fix some AVIs skipping frames
2004-10-07 04:55:31 +00:00
Glenn Maynard
832d47dfd4
don't time out on movie frame semaphores
2004-09-25 06:33:46 +00:00
Chris Danford
b2415f5c37
fix "frames still decode when m_Rate == 0"
2004-08-31 03:52:00 +00:00