C# Class BitMiracle.LibJpeg.Classic.Internal.JpegUtils

Datei anzeigen Open project: prepare/HTML-Renderer Class Usage Examples

Public Properties

Property Type Description
jpeg_aritab int[]
jpeg_natural_order int[]
jpeg_natural_order2 int[]
jpeg_natural_order3 int[]
jpeg_natural_order4 int[]
jpeg_natural_order5 int[]
jpeg_natural_order6 int[]
jpeg_natural_order7 int[]

Public Methods

Method Description
DESCALE ( int x, int n ) : int
RIGHT_SHIFT ( int x, int shft ) : int
jcopy_sample_rows ( ComponentBuffer input_array, int source_row, ComponentBuffer output_array, int dest_row, int num_rows, int num_cols ) : void
jcopy_sample_rows ( ComponentBuffer input_array, int source_row, byte output_array, int dest_row, int num_rows, int num_cols ) : void

Copy some rows of samples from one place to another. num_rows rows are copied from input_array[source_row++] to output_array[dest_row++]; these areas may overlap for duplication. The source and destination arrays must be at least as wide as num_cols.

jcopy_sample_rows ( byte input_array, int source_row, byte output_array, int dest_row, int num_rows, int num_cols ) : void
jdiv_round_up ( long a, long b ) : long

Compute a/b rounded up to next integer, ie, ceil(a/b) Assumes a >= 0, b > 0

jround_up ( int a, int b ) : int

Compute a rounded up to next multiple of b, ie, ceil(a/b)*b Assumes a >= 0, b > 0

Method Details

DESCALE() public static method

public static DESCALE ( int x, int n ) : int
x int
n int
return int

RIGHT_SHIFT() public static method

public static RIGHT_SHIFT ( int x, int shft ) : int
x int
shft int
return int

jcopy_sample_rows() public static method

public static jcopy_sample_rows ( ComponentBuffer input_array, int source_row, ComponentBuffer output_array, int dest_row, int num_rows, int num_cols ) : void
input_array ComponentBuffer
source_row int
output_array ComponentBuffer
dest_row int
num_rows int
num_cols int
return void

jcopy_sample_rows() public static method

Copy some rows of samples from one place to another. num_rows rows are copied from input_array[source_row++] to output_array[dest_row++]; these areas may overlap for duplication. The source and destination arrays must be at least as wide as num_cols.
public static jcopy_sample_rows ( ComponentBuffer input_array, int source_row, byte output_array, int dest_row, int num_rows, int num_cols ) : void
input_array ComponentBuffer
source_row int
output_array byte
dest_row int
num_rows int
num_cols int
return void

jcopy_sample_rows() public static method

public static jcopy_sample_rows ( byte input_array, int source_row, byte output_array, int dest_row, int num_rows, int num_cols ) : void
input_array byte
source_row int
output_array byte
dest_row int
num_rows int
num_cols int
return void

jdiv_round_up() public static method

Compute a/b rounded up to next integer, ie, ceil(a/b) Assumes a >= 0, b > 0
public static jdiv_round_up ( long a, long b ) : long
a long
b long
return long

jround_up() public static method

Compute a rounded up to next multiple of b, ie, ceil(a/b)*b Assumes a >= 0, b > 0
public static jround_up ( int a, int b ) : int
a int
b int
return int

Property Details

jpeg_aritab public_oe static_oe property

public static int[] jpeg_aritab
return int[]

jpeg_natural_order public_oe static_oe property

public static int[] jpeg_natural_order
return int[]

jpeg_natural_order2 public_oe static_oe property

public static int[] jpeg_natural_order2
return int[]

jpeg_natural_order3 public_oe static_oe property

public static int[] jpeg_natural_order3
return int[]

jpeg_natural_order4 public_oe static_oe property

public static int[] jpeg_natural_order4
return int[]

jpeg_natural_order5 public_oe static_oe property

public static int[] jpeg_natural_order5
return int[]

jpeg_natural_order6 public_oe static_oe property

public static int[] jpeg_natural_order6
return int[]

jpeg_natural_order7 public_oe static_oe property

public static int[] jpeg_natural_order7
return int[]