C# Class Axiom.RenderSystems.Xna.XnaCodec

Inheritance: Axiom.Media.ImageCodec
Show file Open project: WolfgangSt/axiom

Public Methods

Method Description
Decode ( Stream input, Stream output ) : object

Codes the data from the input chunk into the output chunk.

Encode ( Stream input, Stream output ) : void

Encodes the data in the input stream and saves the result in the output stream.

EncodeToFile ( Stream input, string fileName, object codecData ) : void

Encodes data to a file.

XnaCodec ( string extension ) : System

Method Details

Decode() public method

Codes the data from the input chunk into the output chunk.
public Decode ( Stream input, Stream output ) : object
input Stream Input stream (encoded data).
output Stream Output stream (decoded data).
return object

Encode() public method

Encodes the data in the input stream and saves the result in the output stream.
public Encode ( Stream input, Stream output ) : void
input Stream Input stream (decoded data).
output Stream Output stream (encoded data).
return void

EncodeToFile() public method

Encodes data to a file.
public EncodeToFile ( Stream input, string fileName, object codecData ) : void
input Stream Stream containing data to write.
fileName string Filename to output to.
codecData object Extra data to use in order to describe the codec data.
return void

XnaCodec() public method

public XnaCodec ( string extension ) : System
extension string
return System