Sha256: da5bb69fa7c257cacbe7fdf281dd4a56e6f4ddc3eed68c65f005f5ca575ccdb4
Contents?: true
Size: 747 Bytes
Versions: 2
Compression:
Stored size: 747 Bytes
Contents
/* * jcsample.h * * This file was part of the Independent JPEG Group's software: * Copyright (C) 1991-1996, Thomas G. Lane. * For conditions of distribution and use, see the accompanying README.ijg * file. */ LOCAL(void) expand_right_edge (JSAMPARRAY image_data, int num_rows, JDIMENSION input_cols, JDIMENSION output_cols) { register JSAMPROW ptr; register JSAMPLE pixval; register int count; int row; int numcols = (int) (output_cols - input_cols); if (numcols > 0) { for (row = 0; row < num_rows; row++) { ptr = image_data[row] + input_cols; pixval = ptr[-1]; /* don't need GETJSAMPLE() here */ for (count = numcols; count > 0; count--) *ptr++ = pixval; } } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
laag-libjpeg-turbo-1.5.3.1 | vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jcsample.h |
laag-libjpeg-turbo-1.5.3.0 | vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jcsample.h |