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
Glenn Maynard
8684b02479
update to ffmpeg-0.4.9-pre1
...
This fixes problems with some XviD videos containing B-frames playing
too fast.
2004-08-06 20:22:48 +00:00
Glenn Maynard
f8cc7beb11
fix spurious warnings
2004-07-22 23:04:44 +00:00
Steve Checkoway
a613d4d9fa
s/RAGE_ASSERT/ASSERT/
2004-06-16 00:38:31 +00:00
Glenn Maynard
4459d84a17
use RageSemaphore
2004-06-14 05:36:42 +00:00
Glenn Maynard
66fb9eece6
use RageSurface
2004-06-14 01:09:11 +00:00
Glenn Maynard
9b7eeaf1af
endian update
2004-06-13 07:36:15 +00:00
Glenn Maynard
4c74f84447
cleanup
2004-06-11 07:12:36 +00:00
Chris Danford
483573c709
clean up RageTextureManager prefs, ModelManager prefs
...
add pref DelayedModelDelete
2004-05-26 07:20:38 +00:00
Glenn Maynard
1d9e4c4658
SDL_Delay -> usleep
2004-05-21 03:31:26 +00:00
Glenn Maynard
564eea2ade
license update
2004-05-15 22:07:41 +00:00
Steve Checkoway
20a8bab45c
Clean up includes.
2004-04-05 05:22:32 +00:00
Glenn Maynard
707ed2b4f7
fix assert
2004-04-04 23:16:17 +00:00
Glenn Maynard
4213bb2b72
ffmpeg non-threaded fixes
2004-04-04 00:39:23 +00:00