C# Класс BitMiracle.LibJpeg.Classic.Internal.JpegUtils

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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[]

Открытые методы

Метод Описание
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

Описание методов

DESCALE() публичный статический Метод

public static DESCALE ( int x, int n ) : int
x int
n int
Результат int

RIGHT_SHIFT() публичный статический Метод

public static RIGHT_SHIFT ( int x, int shft ) : int
x int
shft int
Результат int

jcopy_sample_rows() публичный статический Метод

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
Результат void

jcopy_sample_rows() публичный статический Метод

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
Результат void

jcopy_sample_rows() публичный статический Метод

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
Результат void

jdiv_round_up() публичный статический Метод

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
Результат long

jround_up() публичный статический Метод

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
Результат int

Описание свойств

jpeg_aritab публичное статическое свойство

public static int[] jpeg_aritab
Результат int[]

jpeg_natural_order публичное статическое свойство

public static int[] jpeg_natural_order
Результат int[]

jpeg_natural_order2 публичное статическое свойство

public static int[] jpeg_natural_order2
Результат int[]

jpeg_natural_order3 публичное статическое свойство

public static int[] jpeg_natural_order3
Результат int[]

jpeg_natural_order4 публичное статическое свойство

public static int[] jpeg_natural_order4
Результат int[]

jpeg_natural_order5 публичное статическое свойство

public static int[] jpeg_natural_order5
Результат int[]

jpeg_natural_order6 публичное статическое свойство

public static int[] jpeg_natural_order6
Результат int[]

jpeg_natural_order7 публичное статическое свойство

public static int[] jpeg_natural_order7
Результат int[]