BitMiracle.LibJpeg.Classic.Internal.jpeg_color_deconverter.color_convert C# (CSharp) Method

color_convert() public method

Convert some rows of samples to the output colorspace. Note that we change from noninterleaved, one-plane-per-component format to interleaved-pixel format. The output buffer is therefore three times as wide as the input buffer. A starting row offset is provided only for the input buffer. The caller can easily adjust the passed output_buf value to accommodate any row offset required on that side.
public color_convert ( ComponentBuffer input_buf, int perComponentOffsets, int input_row, byte output_buf, int output_row, int num_rows ) : void
input_buf ComponentBuffer
perComponentOffsets int
input_row int
output_buf byte
output_row int
num_rows int
return void
        public void color_convert(ComponentBuffer[] input_buf, int[] perComponentOffsets, int input_row, byte[][] output_buf, int output_row, int num_rows)
        {
            m_perComponentOffsets = perComponentOffsets;
            m_converter(input_buf, input_row, output_buf, output_row, num_rows);
        }