Steve Checkoway
dacca25190
Silence gcc warnings by making explicit the cast from 64 bits to 32 bits.
2008-11-24 07:53:47 +00:00
Vecais Dumais Laacis
61b5308e56
removed unnecessary libmingwex reference
2008-03-23 16:08:09 +00:00
Vecais Dumais Laacis
9421835499
additional building notes
2007-08-09 19:37:59 +00:00
Vecais Dumais Laacis
14ab97b2f7
now MovieTexture_FFMpeg can be used in xbox build
2007-08-09 19:18:25 +00:00
Glenn Maynard
d1a78c315d
fix m_fTimestampOffset
2007-03-27 06:17:37 +00:00
Glenn Maynard
813432c98d
Split decode and convert, and do them on alternating frames.
2007-03-25 07:46:20 +00:00
Glenn Maynard
0161b65ada
Detect when movies have no B-frames, and set CODEC_FLAG_LOW_DELAY
...
on the next loop. FFMpeg can't do this automatically, and it
avoids inconsistent CPU use caused by FFMpeg buffering the first
frame in case of B-frames.
2007-03-25 07:42:40 +00:00
Glenn Maynard
7c8691d661
fix timestamps
2007-03-25 04:26:18 +00:00
Glenn Maynard
3f5d83cb9c
fix initializer
2007-03-25 04:04:23 +00:00
Glenn Maynard
ca73913007
use endianless format names
...
add but comment out a few types; these are crashing ffmpeg, need to
find out why
prefer BGRA; faster for nVidia cards
2007-03-22 21:53:30 +00:00
Glenn Maynard
3a0ebd82a6
renamed in ffmpeg (incorrectly, this is ARGB, not RGB or RGBA)
2007-03-22 21:16:17 +00:00
Glenn Maynard
0cb0394ad1
handle PIX_FMT_BGR32_1; nVidia cards prefer this format
2007-03-22 05:26:09 +00:00
Glenn Maynard
ace3a66e36
- ffmpeg API update
...
- Add support for doing YUV colorspace conversion in hardware,
using a fragment shader. This speeds up high-resolution movies
substantially, and provides 32-bit color depth with the data
cost of 16-bit textures.
- optimize rewinding
2007-03-21 05:27:53 +00:00
Glenn Maynard
da708702ca
Theora fixup
2006-12-17 08:02:19 +00:00
Glenn Maynard
3124b25ad0
make MovieTexture act more like other drivers: MovieTexture itself
...
is a factory for RageTexture objects, not a RageTexture itself. The
actual RageTexture objects don't need to be exposed in the headers
(DShow still does it for DShow_Helpers), so we don't need to expose
the headers of the movie API to user code. (We could also eliminate
reconstructing the factory driver each time we make a movie, but
there's no real reason to currently.)
2006-12-17 07:54:34 +00:00
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