|
Nestopia Core API | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Base
|
+--Nes::Api::Video
Video interface.
Inner Classes, Typedefs, and Enums | |
struct |
Nes::Api::Video::Decoder
YUV decoder context. |
enum |
Nes::Api::Video::DecoderPreset
YUV decoder presets. |
typedef |
Nes::Api::Video::Output
Video output context. |
class |
Nes::Api::Video::Palette
Palette interface. |
struct |
Nes::Api::Video::RenderState
Render state context. |
Constructor Summary | |
Video( T& instance )
Interface constructor. |
Method Summary | |
bool |
AreUnlimSpritesEnabled() const
Checks if the PPU sprite software extension is enabled. |
Result |
Blit( Nes::Api::Video::Output& output )
Performs a manual blit to the video output object. |
void |
EnableFieldMerging( bool state )
Enables field merging for the NTSC filter. |
Result |
EnableUnlimSprites( bool state )
Allows the PPU to render more than eight sprites per line. |
int |
GetBrightness() const
Returns the current brightness. |
int |
GetColorArtifacts() const
Returns the current color artifacts for the NTSC filter. |
int |
GetColorBleed() const
Returns the current color bleed for the NTSC filter. |
int |
GetColorFringing() const
Returns the current color fringing for the NTSC filter. |
int |
GetColorResolution() const
Returns the current color resolution for the NTSC filter. |
int |
GetContrast() const
Returns the current contrast. |
const Nes::Api::Video::Decoder& |
GetDecoder() const
Returns the current YUV decoder. |
int |
GetHue() const
Returns the current hue. |
Nes::Api::Video::Palette |
GetPalette()
Returns the palette interface. |
Result |
GetRenderState( Nes::Api::Video::RenderState& state ) const
Returns the current render state. |
int |
GetSaturation() const
Returns the current saturation. |
int |
GetSharpness() const
Returns the current sharpness for the NTSC filter. |
bool |
IsFieldMergingEnabled() const
Checks if NTSC filter field merging is enabled. |
Result |
SetBrightness( int value )
Sets the brightness. |
Result |
SetColorArtifacts( int value )
Sets the color artifacts for the NTSC filter. |
Result |
SetColorBleed( int value )
Sets the color bleed for the NTSC filter. |
Result |
SetColorFringing( int value )
Sets the color fringing for the NTSC filter. |
Result |
SetColorResolution( int value )
Sets the color resolution for the NTSC filter. |
Result |
SetContrast( int value )
Sets the contrast. |
Result |
SetDecoder( const Nes::Api::Video::Decoder& decoder )
Sets the YUV decoder. |
Result |
SetHue( int value )
Sets the hue. |
Result |
SetRenderState( const Nes::Api::Video::RenderState& state )
Sets the render state. |
Result |
SetSaturation( int value )
Sets the saturation. |
Result |
SetSharpness( int value )
Sets the sharpness for the NTSC filter. |
Constructor Detail |
public Video( T& instance );
instance
- emulator instanceMethod Detail |
public bool AreUnlimSpritesEnabled() const throw();
public Result Blit( Nes::Api::Video::Output& output ) throw();
output
- video output object to blit topublic void EnableFieldMerging( bool state ) throw();
state
- true to enablepublic Result EnableUnlimSprites( bool state ) throw();
state
- true to allow it, default is falsepublic int GetBrightness() const throw();
public int GetColorArtifacts() const throw();
public int GetColorBleed() const throw();
public int GetColorFringing() const throw();
public int GetColorResolution() const throw();
public int GetContrast() const throw();
public const Nes::Api::Video::Decoder& GetDecoder() const throw();
public int GetHue() const throw();
public Nes::Api::Video::Palette GetPalette();
public Result GetRenderState( Nes::Api::Video::RenderState& state ) const throw();
state
- object to be filledpublic int GetSaturation() const throw();
public int GetSharpness() const throw();
public bool IsFieldMergingEnabled() const throw();
public Result SetBrightness( int value ) throw();
value
- brightness in the range -100 to 100, default is 0public Result SetColorArtifacts( int value ) throw();
value
- color artifacts in the range -100 to 100, default is 0public Result SetColorBleed( int value ) throw();
value
- color bleed in the range -100 to 100, default is 0public Result SetColorFringing( int value ) throw();
value
- fringing in the range -100 to 100, default is 0public Result SetColorResolution( int value ) throw();
value
- color resolution in the range -100 to 100, default is 0public Result SetContrast( int value ) throw();
value
- contrast in the range -100 to 100, default is 0public Result SetDecoder( const Nes::Api::Video::Decoder& decoder ) throw();
decoder
- decoderpublic Result SetHue( int value ) throw();
value
- hue in the range -45 to 45, default is 0public Result SetRenderState( const Nes::Api::Video::RenderState& state ) throw();
state
- render state to be setpublic Result SetSaturation( int value ) throw();
value
- saturation in the range -100 to 100, default is 0public Result SetSharpness( int value ) throw();
value
- sharpness in the range -100 to 100, default is 0
|
Nestopia Core API | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |