C# Class org.diracvideo.Jirac.Cache

Show file Open project: mono/csdirac Class Usage Examples

Public Methods

Method Description
Add ( int n, Block refs ) : void
Cache ( int n )
Get ( int n, bool upscaled ) : Block[]
Has ( int n ) : bool
Remove ( int n ) : void

Private Methods

Method Description
GetIndex ( int n ) : int
ShiftFrom ( int i ) : void

Method Details

Add() public method

public Add ( int n, Block refs ) : void
n int
refs Block
return void

Cache() public method

public Cache ( int n )
n int

Get() public method

public Get ( int n, bool upscaled ) : Block[]
n int
upscaled bool
return Block[]

Has() public method

public Has ( int n ) : bool
n int
return bool

Remove() public method

public Remove ( int n ) : void
n int
return void