BitMiracle.LibJpeg.Classic.Internal.my_merged_upsampler.merged_1v_upsample C# (CSharp) Method

merged_1v_upsample() private method

Control routine to do upsampling (and color conversion). The control routine just handles the row buffering considerations. 1:1 vertical sampling case: much easier, never need a spare row.
private merged_1v_upsample ( ComponentBuffer input_buf, int &in_row_group_ctr, byte output_buf, int &out_row_ctr ) : void
input_buf ComponentBuffer
in_row_group_ctr int
output_buf byte
out_row_ctr int
return void
        private void merged_1v_upsample(ComponentBuffer[] input_buf, ref int in_row_group_ctr, byte[][] output_buf, ref int out_row_ctr)
        {
            /* Just do the upsampling. */
            h2v1_merged_upsample(input_buf, in_row_group_ctr, output_buf, out_row_ctr);

            /* Adjust counts */
            out_row_ctr++;
            in_row_group_ctr++;
        }