C# 클래스 FluxJpeg.Core.Decoder.JpegComponent

파일 보기 프로젝트 열기: prepare/HTML-Renderer 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ACTable FluxJpeg.Core.HuffmanTable
DCTable FluxJpeg.Core.HuffmanTable
Decode DecodeFunction
factorH byte
previousDC float
spectralStart int
successiveLow int
width int

Private Properties

프로퍼티 타입 설명
EmitQuantize QuantizeDel
decode_ac_coefficients void
writeBlockScaled void

공개 메소드들

메소드 설명
DecodeACFirst ( JPEGBinaryReader stream, float zz ) : void
DecodeACRefine ( JPEGBinaryReader stream, float dest ) : void
DecodeBaseline ( JPEGBinaryReader stream, float dest ) : void
DecodeDCFirst ( JPEGBinaryReader stream, float dest ) : void
DecodeDCRefine ( JPEGBinaryReader stream, float dest ) : void
DecodeMCU ( JPEGBinaryReader jpegReader, int i, int j ) : void
JpegComponent ( JpegScan parentScan, byte id, byte factorHorizontal, byte factorVertical, byte quantizationID, byte colorMode ) : System
SetBlock ( int idx ) : void
decode_dc_coefficient ( JPEGBinaryReader JPEGStream ) : float

Generated from text on F-22, F.2.2.1 - Huffman decoding of DC coefficients on ISO DIS 10918-1. Requirements and Guidelines.

idctData ( ) : void

Run the Inverse DCT method on all of the block data

padMCU ( int index, int length ) : void

If a restart marker is found with too little of an MCU count (i.e. our Restart Interval is 63 and we have 61 we copy the last MCU until it's full)

quantizeData ( ) : void

Run the Quantization backward method on all of the block data.

resetInterval ( ) : void

Reset the interval by setting the previous DC value

scaleByFactors ( BlockUpsamplingMode mode ) : void

Stretches components as needed to normalize the size of all components. For example, in a 2x1 (4:2:2) sequence, the Cr and Cb channels will be scaled vertically by a factor of 2.

setACTable ( JpegHuffmanTable table ) : void
setDCTable ( JpegHuffmanTable table ) : void
writeBlock ( byte raster, byte data, int compIndex, int x, int y ) : void
writeDataScaled ( byte raster, int componentIndex, BlockUpsamplingMode mode ) : void

비공개 메소드들

메소드 설명
EmitQuantize ( ) : QuantizeDel
decode_ac_coefficients ( JPEGBinaryReader JPEGStream, float zz ) : void

Generated from text on F-23, F.13 - Huffman decoded of AC coefficients on ISO DIS 10918-1. Requirements and Guidelines.

writeBlockScaled ( byte raster, byte blockdata, int compIndex, int x, int y, BlockUpsamplingMode mode ) : void

메소드 상세

DecodeACFirst() 공개 메소드

public DecodeACFirst ( JPEGBinaryReader stream, float zz ) : void
stream FluxJpeg.Core.IO.JPEGBinaryReader
zz float
리턴 void

DecodeACRefine() 공개 메소드

public DecodeACRefine ( JPEGBinaryReader stream, float dest ) : void
stream FluxJpeg.Core.IO.JPEGBinaryReader
dest float
리턴 void

DecodeBaseline() 공개 메소드

public DecodeBaseline ( JPEGBinaryReader stream, float dest ) : void
stream FluxJpeg.Core.IO.JPEGBinaryReader
dest float
리턴 void

DecodeDCFirst() 공개 메소드

public DecodeDCFirst ( JPEGBinaryReader stream, float dest ) : void
stream FluxJpeg.Core.IO.JPEGBinaryReader
dest float
리턴 void

DecodeDCRefine() 공개 메소드

public DecodeDCRefine ( JPEGBinaryReader stream, float dest ) : void
stream FluxJpeg.Core.IO.JPEGBinaryReader
dest float
리턴 void

DecodeMCU() 공개 메소드

public DecodeMCU ( JPEGBinaryReader jpegReader, int i, int j ) : void
jpegReader FluxJpeg.Core.IO.JPEGBinaryReader
i int
j int
리턴 void

JpegComponent() 공개 메소드

public JpegComponent ( JpegScan parentScan, byte id, byte factorHorizontal, byte factorVertical, byte quantizationID, byte colorMode ) : System
parentScan JpegScan
id byte
factorHorizontal byte
factorVertical byte
quantizationID byte
colorMode byte
리턴 System

SetBlock() 공개 메소드

public SetBlock ( int idx ) : void
idx int
리턴 void

decode_dc_coefficient() 공개 메소드

Generated from text on F-22, F.2.2.1 - Huffman decoding of DC coefficients on ISO DIS 10918-1. Requirements and Guidelines.
public decode_dc_coefficient ( JPEGBinaryReader JPEGStream ) : float
JPEGStream FluxJpeg.Core.IO.JPEGBinaryReader Stream that contains huffman bits
리턴 float

idctData() 공개 메소드

Run the Inverse DCT method on all of the block data
public idctData ( ) : void
리턴 void

padMCU() 공개 메소드

If a restart marker is found with too little of an MCU count (i.e. our Restart Interval is 63 and we have 61 we copy the last MCU until it's full)
public padMCU ( int index, int length ) : void
index int
length int
리턴 void

quantizeData() 공개 메소드

Run the Quantization backward method on all of the block data.
public quantizeData ( ) : void
리턴 void

resetInterval() 공개 메소드

Reset the interval by setting the previous DC value
public resetInterval ( ) : void
리턴 void

scaleByFactors() 공개 메소드

Stretches components as needed to normalize the size of all components. For example, in a 2x1 (4:2:2) sequence, the Cr and Cb channels will be scaled vertically by a factor of 2.
public scaleByFactors ( BlockUpsamplingMode mode ) : void
mode BlockUpsamplingMode
리턴 void

setACTable() 공개 메소드

public setACTable ( JpegHuffmanTable table ) : void
table FluxJpeg.Core.JpegHuffmanTable
리턴 void

setDCTable() 공개 메소드

public setDCTable ( JpegHuffmanTable table ) : void
table FluxJpeg.Core.JpegHuffmanTable
리턴 void

writeBlock() 공개 메소드

public writeBlock ( byte raster, byte data, int compIndex, int x, int y ) : void
raster byte
data byte
compIndex int
x int
y int
리턴 void

writeDataScaled() 공개 메소드

public writeDataScaled ( byte raster, int componentIndex, BlockUpsamplingMode mode ) : void
raster byte
componentIndex int
mode BlockUpsamplingMode
리턴 void

프로퍼티 상세

ACTable 공개적으로 프로퍼티

public HuffmanTable,FluxJpeg.Core ACTable
리턴 FluxJpeg.Core.HuffmanTable

DCTable 공개적으로 프로퍼티

public HuffmanTable,FluxJpeg.Core DCTable
리턴 FluxJpeg.Core.HuffmanTable

Decode 공개적으로 프로퍼티

public DecodeFunction Decode
리턴 DecodeFunction

factorH 공개적으로 프로퍼티

public byte factorH
리턴 byte

previousDC 공개적으로 프로퍼티

public float previousDC
리턴 float

spectralStart 공개적으로 프로퍼티

public int spectralStart
리턴 int

successiveLow 공개적으로 프로퍼티

public int successiveLow
리턴 int

width 공개적으로 프로퍼티

public int width
리턴 int