MCPcopy Create free account
hub / github.com/davisking/dlib / fullsize_downsample

Function fullsize_downsample

dlib/external/libjpeg/jcsample.c:199–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197 */
198
199METHODDEF(void)
200fullsize_downsample (j_compress_ptr cinfo, jpeg_component_info * compptr,
201 JSAMPARRAY input_data, JSAMPARRAY output_data)
202{
203 /* Copy the data */
204 jcopy_sample_rows(input_data, output_data,
205 cinfo->max_v_samp_factor, cinfo->image_width);
206 /* Edge-expand */
207 expand_right_edge(output_data, cinfo->max_v_samp_factor, cinfo->image_width,
208 compptr->width_in_blocks * compptr->DCT_h_scaled_size);
209}
210
211
212/*

Callers

nothing calls this directly

Calls 2

jcopy_sample_rowsFunction · 0.85
expand_right_edgeFunction · 0.85

Tested by

no test coverage detected