mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-26 23:05:38 +00:00
adresses C4189 warnings ('identifier' : local variable is initialized but not referenced)
This commit is contained in:
parent
5fa8504568
commit
76fe7937ce
8 changed files with 8 additions and 51 deletions
|
|
@ -420,7 +420,7 @@ void OggTheoraDecoder::_transcode( th_ycbcr_buffer ycbcr, U8* buffer, const U32
|
|||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#if defined( TORQUE_CPU_X86 )
|
||||
void OggTheoraDecoder::_transcode420toRGBA_SSE2( th_ycbcr_buffer ycbcr, U8* buffer, U32 width, U32 height, U32 pitch )
|
||||
{
|
||||
AssertFatal( width % 2 == 0, "OggTheoraDecoder::_transcode420toRGBA_SSE2() - width must be multiple of 2" );
|
||||
|
|
@ -692,3 +692,4 @@ void OggTheoraDecoder::_transcode420toRGBA_SSE2( th_ycbcr_buffer ycbcr, U8* buff
|
|||
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
|
@ -172,10 +172,10 @@ class OggTheoraDecoder : public OggDecoder,
|
|||
/// Generic transcoder going from any of the Y'CbCr pixel formats to
|
||||
/// any RGB format (that is supported by GFXFormatUtils).
|
||||
void _transcode( th_ycbcr_buffer ycbcr, U8* buffer, U32 width, U32 height );
|
||||
|
||||
/// Transcoder with fixed 4:2:0 to RGBA conversion using SSE2 assembly.
|
||||
#if defined( TORQUE_CPU_X86 )
|
||||
/// Transcoder with fixed 4:2:0 to RGBA conversion using SSE2 assembly. Unused on 64 bit archetecture.
|
||||
void _transcode420toRGBA_SSE2( th_ycbcr_buffer ycbcr, U8* buffer, U32 width, U32 height, U32 pitch );
|
||||
|
||||
#endif
|
||||
// OggDecoder.
|
||||
virtual bool _detect( ogg_page* startPage );
|
||||
virtual bool _init();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue